[vlc-devel] commit: demux/dummy: No need to check for playlist availability. ( Also fix #1543) (Pierre d'Herbemont )

git version control git at videolan.org
Fri Jun 13 23:02:51 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Jun 13 23:01:08 2008 +0200| [058cf75a3dc66e4cf223a8cded6910daea90144e]

demux/dummy: No need to check for playlist availability. (Also fix #1543)

This is a bit contriversial, but libvlc actually uses vlc://nop, and this without a playlist.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=058cf75a3dc66e4cf223a8cded6910daea90144e
---

 modules/misc/dummy/input.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/misc/dummy/input.c b/modules/misc/dummy/input.c
index 64ba12d..8ee7001 100644
--- a/modules/misc/dummy/input.c
+++ b/modules/misc/dummy/input.c
@@ -203,11 +203,8 @@ void CloseDemux ( vlc_object_t *p_this )
 static int Demux( demux_t *p_demux )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
-    playlist_t *p_playlist;
     bool b_eof = false;
 
-    p_playlist = pl_Yield( p_demux );
-
     switch( p_sys->i_command )
     {
         case COMMAND_QUIT:
@@ -228,7 +225,6 @@ static int Demux( demux_t *p_demux )
             break;
     }
 
-    vlc_object_release( p_playlist );
     return b_eof ? 0 : 1;
 }
 




More information about the vlc-devel mailing list