Playlist can be ANYWHERE
authorClément Stenac <zorglub@videolan.org>
Wed, 14 Dec 2005 18:08:08 +0000 (18:08 +0000)
committerClément Stenac <zorglub@videolan.org>
Wed, 14 Dec 2005 18:08:08 +0000 (18:08 +0000)
modules/demux/playlist/b4s.c
modules/demux/playlist/dvb.c
modules/demux/playlist/m3u.c
modules/demux/playlist/old.c
modules/demux/playlist/pls.c
modules/demux/playlist/podcast.c

index 620bfed..5e0013c 100644 (file)
@@ -133,7 +133,7 @@ static int Demux( demux_t *p_demux )
     b_shoutcast = p_sys->b_shout;
 
     p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
-                                                 FIND_PARENT );
+                                                 FIND_ANYWHERE );
     if( !p_playlist )
     {
         msg_Err( p_demux, "can't find playlist" );
index f55e8d1..c0e0f5d 100644 (file)
@@ -105,7 +105,7 @@ static int Demux( demux_t *p_demux )
     vlc_bool_t b_play;
 
     p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
-                                                 FIND_PARENT );
+                                                 FIND_ANYWHERE );
     if( !p_playlist )
     {
         msg_Err( p_demux, "can't find playlist" );
index dff8a85..801b4f7 100644 (file)
@@ -123,7 +123,7 @@ static int Demux( demux_t *p_demux )
     vlc_bool_t b_cleanup = VLC_FALSE;
 
     p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
-                                                 FIND_PARENT );
+                                                 FIND_ANYWHERE );
     if( !p_playlist )
     {
         msg_Err( p_demux, "can't find playlist" );
index 152a366..05477e1 100644 (file)
@@ -67,7 +67,7 @@ static int Demux( demux_t *p_demux)
     playlist_t *p_playlist;
 
     p_playlist = (playlist_t*)vlc_object_find( p_demux,
-                         VLC_OBJECT_PLAYLIST, FIND_PARENT );
+                         VLC_OBJECT_PLAYLIST, FIND_ANYWHERE );
     if( !p_playlist )
     {
         msg_Err( p_demux, "cannot attach playlist" );
index 6bd42f0..84d73b2 100644 (file)
@@ -114,7 +114,7 @@ static int Demux( demux_t *p_demux )
     vlc_bool_t b_play;
 
     p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
-                                                 FIND_PARENT );
+                                                 FIND_ANYWHERE );
     if( !p_playlist )
     {
         msg_Err( p_demux, "can't find playlist" );
index 7f6545d..a60b0ee 100644 (file)
@@ -131,7 +131,7 @@ static int Demux( demux_t *p_demux )
     int i_type;
 
     p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
-                                                 FIND_PARENT );
+                                                 FIND_NEXT );
     if( !p_playlist )
     {
         msg_Err( p_demux, "can't find playlist" );