[vlc-devel] commit: stream_Demux: pretend to be in sout-all mode (fixes: #3050) ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Aug 18 18:59:07 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 18 19:56:22 2009 +0300| [3cdb4538ff5fc1c3f8291bcb977b098c64c75989] | committer: Rémi Denis-Courmont 

stream_Demux: pretend to be in sout-all mode (fixes: #3050)

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

 src/input/stream_demux.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/input/stream_demux.c b/src/input/stream_demux.c
index b2b7604..2d07eae 100644
--- a/src/input/stream_demux.c
+++ b/src/input/stream_demux.c
@@ -284,6 +284,9 @@ static void* DStreamThread( vlc_object_t* p_this )
         return NULL;
     }
 
+    /* stream_Demux cannot apply DVB filters.
+     * Get all programs and let the E/S output sort them out. */
+    demux_Control( p_demux, DEMUX_SET_GROUP, -1, NULL );
     p_sys->p_demux = p_demux;
 
     /* Main loop */




More information about the vlc-devel mailing list