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
Compare revisions
a9c0f04a0403965e2b907d90ae75733a7fec57b2 to ac373bfe8a2bd2beee8b0c16d316cbe6735a2554
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
videolan/libvlcpp
Select target project
No results found
ac373bfe8a2bd2beee8b0c16d316cbe6735a2554
Select Git revision
Swap
Target
videolan/libvlcpp
Select target project
videolan/libvlcpp
robUx4/libvlcpp
stolyarchuk/libvlcpp
hacker1024/libvlcpp
mfkl/libvlcpp
The-personified-devil/libvlcpp
chouquette/libvlcpp
aillean/libvlcpp
adtadas19/libvlcpp
aad9805066254/libvlcpp
asenat/libvlcpp
rovenmaburak/libvlcpp
mstorsjo/libvlcpp
ranjuranjith/libvlcpp
tguillem/libvlcpp
akbaralisalar/libvlcpp
king7532/libvlcpp
Skantes/libvlcpp
f45431082/libvlcpp
alexandre-janniaux/libvlcpp
deyayush6/libvlcpp
21 results
a9c0f04a0403965e2b907d90ae75733a7fec57b2
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
CI: Bump unstable image
· 983a8a2a
Hugo Beauzée-Luyssen
authored
4 years ago
With the new attached image callback
983a8a2a
EventManager: Expose libvlc_MediaAttachedThumbnailsFound
· ac373bfe
Hugo Beauzée-Luyssen
authored
4 years ago
ac373bfe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
vlcpp/EventManager.hpp
+17
-0
17 additions, 0 deletions
vlcpp/EventManager.hpp
with
18 additions
and
1 deletion
.gitlab-ci.yml
View file @
ac373bfe
variables
:
VLC30_IMAGE
:
registry.videolan.org/medialibrary:20201009131431
VLC40_IMAGE
:
registry.videolan.org/libvlcpp-unstable:202011
06140307
VLC40_IMAGE
:
registry.videolan.org/libvlcpp-unstable:202011
19105540
.common_build
:
rules
:
...
...
This diff is collapsed.
Click to expand it.
vlcpp/EventManager.hpp
View file @
ac373bfe
...
...
@@ -414,6 +414,23 @@ class MediaEventManager : public EventManager
(
*
callback
)(
nullptr
);
});
}
template
<
typename
Func
>
RegisteredEvent
onAttachedThumbnailsFound
(
Func
&&
f
)
{
EXPECT_SIGNATURE
(
void
(
const
std
::
vector
<
Picture
>&
)
);
return
handle
(
libvlc_MediaAttachedThumbnailsFound
,
std
::
forward
<
Func
>
(
f
),
[](
const
libvlc_event_t
*
e
,
void
*
data
)
{
auto
callback
=
static_cast
<
DecayPtr
<
Func
>>
(
data
);
std
::
vector
<
Picture
>
pictures
;
auto
picList
=
e
->
u
.
media_attached_thumbnails_found
.
thumbnails
;
auto
nbPictures
=
libvlc_picture_list_count
(
picList
);
pictures
.
reserve
(
nbPictures
);
for
(
auto
i
=
0u
;
i
<
nbPictures
;
++
i
)
pictures
.
emplace_back
(
libvlc_picture_list_at
(
picList
,
i
)
);
(
*
callback
)(
pictures
);
});
}
#endif
};
...
...
This diff is collapsed.
Click to expand it.