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
aca01ee3
Commit
aca01ee3
authored
3 years ago
by
Hugo Beauzée-Luyssen
Browse files
Options
Downloads
Patches
Plain Diff
Media: Expose new libvlc_media_get_stat API
parent
2a730841
No related branches found
Branches containing commit
No related tags found
1 merge request
!17
Media: Expose new libvlc_media_get_stat API
Pipeline
#167914
passed with stage
Stage:
in 1 minute and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlcpp/Media.hpp
+12
-0
12 additions, 0 deletions
vlcpp/Media.hpp
with
12 additions
and
0 deletions
vlcpp/Media.hpp
+
12
−
0
View file @
aca01ee3
...
...
@@ -807,6 +807,18 @@ public:
libvlc_media_thumbnail_request_destroy
(
request
);
}
enum
class
Stat
:
uint8_t
{
Mtime
=
libvlc_media_stat_mtime
,
Size
=
libvlc_media_stat_size
,
};
std
::
pair
<
bool
,
uint64_t
>
stat
(
Stat
s
)
{
uint64_t
value
=
0
;
auto
res
=
libvlc_media_get_stat
(
*
this
,
static_cast
<
uint8_t
>
(
s
),
&
value
)
==
1
;
return
std
::
make_pair
(
res
,
value
);
}
#endif
...
...
This diff is collapsed.
Click to expand it.
Felix Paul Kühne
@fkuehne
mentioned in issue
VLCKit#567
·
3 years ago
mentioned in issue
VLCKit#567
mentioned in issue VLCKit#567
Toggle commit list
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