[vlc-devel] [PATCH] Modified MP4 demuxer so that it respects the enable flag of each track

Phillip Napieralski Phillip.Napieralski at st.bemidjistate.edu
Fri Jul 18 20:01:31 CEST 2008


---
 modules/demux/mp4/mp4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 7b98fee..649c5a3 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -574,7 +574,7 @@ static int Demux( demux_t *p_demux )
         {
             MP4_TrackUnselect( p_demux, tk );
         }
-        else if( !tk->b_selected && b)
+        else if( !tk->b_selected && b && tk->b_enable )
         {
             MP4_TrackSelect( p_demux, tk, MP4_GetMoviePTS( p_sys ) );
         }
---




More information about the vlc-devel mailing list