Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
libvlcpp
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
libvlcpp
Commits
d41003f7
Commit
d41003f7
authored
3 years ago
by
Hugo Beauzée-Luyssen
Browse files
Options
Downloads
Patches
Plain Diff
Media: Rename stat -> fileStat
Following
vlc!1225
parent
887c0117
No related branches found
Branches containing commit
No related tags found
1 merge request
!18
Media: Rename stat -> fileStat
Pipeline
#182096
passed with stage
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlcpp/Media.hpp
+5
-5
5 additions, 5 deletions
vlcpp/Media.hpp
with
5 additions
and
5 deletions
vlcpp/Media.hpp
+
5
−
5
View file @
d41003f7
...
...
@@ -807,16 +807,16 @@ public:
libvlc_media_thumbnail_request_destroy
(
request
);
}
enum
class
Stat
:
uint8_t
enum
class
File
Stat
:
uint8_t
{
Mtime
=
libvlc_media_stat_mtime
,
Size
=
libvlc_media_stat_size
,
Mtime
=
libvlc_media_
file
stat_mtime
,
Size
=
libvlc_media_
file
stat_size
,
};
std
::
pair
<
bool
,
uint64_t
>
s
tat
(
Stat
s
)
std
::
pair
<
bool
,
uint64_t
>
fileS
tat
(
File
Stat
s
)
{
uint64_t
value
=
0
;
auto
res
=
libvlc_media_get_stat
(
*
this
,
static_cast
<
uint8_t
>
(
s
),
&
value
)
==
1
;
auto
res
=
libvlc_media_get_
file
stat
(
*
this
,
static_cast
<
uint8_t
>
(
s
),
&
value
)
==
1
;
return
std
::
make_pair
(
res
,
value
);
}
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment