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 (6)
......@@ -142,7 +142,7 @@ public:
* @param mrl A path, location, or node name, depending on the 3rd parameter
* @param type The type of the 2nd argument. \sa{FromType}
*/
Media(Instance& instance, const std::string& mrl, FromType type)
Media(const Instance& instance, const std::string& mrl, FromType type)
: Internal{ libvlc_media_release }
{
InternalPtr ptr = nullptr;
......@@ -185,7 +185,7 @@ public:
* \param fd open file descriptor
* \return the newly created media
*/
Media(Instance& instance, int fd)
Media(const Instance& instance, int fd)
: Internal { libvlc_media_new_fd( getInternalPtr<libvlc_instance_t>( instance ), fd ),
libvlc_media_release }
{
......@@ -293,7 +293,7 @@ public:
*/
template <typename OpenCb, typename ReadCb, typename SeekCb, typename CloseCb>
Media( Instance& instance, OpenCb&& openCb, ReadCb&& readCb, SeekCb&& seekCb, CloseCb&& closeCb )
Media( const Instance& instance, OpenCb&& openCb, ReadCb&& readCb, SeekCb&& seekCb, CloseCb&& closeCb )
{
static_assert( signature_match_or_nullptr<OpenCb, ExpectedMediaOpenCb>::value, "Mismatched Open callback prototype" );
static_assert( signature_match_or_nullptr<SeekCb, ExpectedMediaSeekCb>::value, "Mismatched Seek callback prototype" );
......
......@@ -88,7 +88,7 @@ public:
*
* \param psz_name service name
*/
MediaDiscoverer(Instance& inst, const std::string& name)
MediaDiscoverer(const Instance& inst, const std::string& name)
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
: Internal{ libvlc_media_discoverer_new(getInternalPtr<libvlc_instance_t>( inst ), name.c_str()),
#else
......
......@@ -96,7 +96,7 @@ public:
*
* \param p_instance libvlc instance
*/
MediaList(Instance& instance)
MediaList(const Instance& instance)
: Internal{ libvlc_media_list_new( getInternalPtr<libvlc_instance_t>( instance ) ),
libvlc_media_list_release }
{
......
......@@ -53,7 +53,7 @@ public:
*
* \param p_instance libvlc instance
*/
MediaListPlayer(Instance& instance)
MediaListPlayer(const Instance& instance)
: Internal{ libvlc_media_list_player_new( getInternalPtr<libvlc_instance_t>( instance ) ),
libvlc_media_list_player_release }
{
......
......@@ -91,7 +91,7 @@ public:
* \param p_libvlc_instance the libvlc instance in which the Media
* Player should be created.
*/
MediaPlayer( Instance& instance )
MediaPlayer( const Instance& instance )
: Internal{ libvlc_media_player_new( instance ), libvlc_media_player_release }
{
}
......
......@@ -74,7 +74,7 @@ public:
friend RendererDiscovererEventManager;
};
RendererDiscoverer( Instance& instance, const std::string& name )
RendererDiscoverer( const Instance& instance, const std::string& name )
: Internal( libvlc_renderer_discoverer_new( getInternalPtr<libvlc_instance_t>( instance ),
name.c_str() ), libvlc_renderer_discoverer_release )
{
......