Browse Source

objects: remove vlc_player_t as a valid public c++ obj cast

Since the player became an opaque type, the object cast should not be
available publicly anymore.
pull/128/head
Alaric Senat 5 years ago
committed by Hugo Beauzée-Luyssen
parent
commit
7c569348f9
  1. 1
      include/vlc_objects.h
  2. 2
      src/player/player.h

1
include/vlc_objects.h

@ -89,7 +89,6 @@ static inline struct vlc_object_t *VLC_OBJECT(struct t *d) \
vlc_object_cast(libvlc_int_t)
vlc_object_cast(intf_thread_t)
vlc_object_cast(vlc_player_t)
vlc_object_cast(stream_t)
vlc_object_cast(stream_directory_t)
vlc_object_cast(stream_extractor_t)

2
src/player/player.h

@ -280,6 +280,8 @@ struct vlc_player_t
struct vlc_player_timer timer;
};
vlc_object_cast(vlc_player_t);
#ifndef NDEBUG
/*
* Assert that the player mutex is locked.

Loading…
Cancel
Save