Commit ed1e1f8f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vlc_object_find(playlist) is an error

parent d01611b8
...@@ -715,8 +715,8 @@ void * __vlc_object_find( vlc_object_t *p_this, int i_type, int i_mode ) ...@@ -715,8 +715,8 @@ void * __vlc_object_find( vlc_object_t *p_this, int i_type, int i_mode )
{ {
#ifndef NDEBUG #ifndef NDEBUG
if (i_type == VLC_OBJECT_PLAYLIST) if (i_type == VLC_OBJECT_PLAYLIST)
msg_Warn (p_this, "using vlc_object_find(VLC_OBJECT_PLAYLIST) " msg_Err (p_this, "using vlc_object_find(VLC_OBJECT_PLAYLIST) "
"instead of pl_Yield()"); "instead of pl_Yield()");
#endif #endif
return vlc_object_find (p_this->p_libvlc, i_type, return vlc_object_find (p_this->p_libvlc, i_type,
(i_mode & ~0x000f)|FIND_CHILD); (i_mode & ~0x000f)|FIND_CHILD);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment