Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

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
Show changes
Commits on Source (2)
variables:
VLC30_IMAGE: registry.videolan.org/medialibrary:20201009131431
VLC40_IMAGE: registry.videolan.org/libvlcpp-unstable:20201106140307
VLC40_IMAGE: registry.videolan.org/libvlcpp-unstable:20201119105540
.common_build:
rules:
......
......@@ -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
};
......