[vlc-commits] commit: Do not remove track informations in DelStream for non http ASF muxing. ( Laurent Aimar )

git at videolan.org git at videolan.org
Sat May 1 13:42:30 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat May  1 13:12:14 2010 +0200| [d50635dd8a26612a00453ec3a228800050dd5140] | committer: Laurent Aimar 

Do not remove track informations in DelStream for non http ASF muxing.

It fixes #3522.

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

 modules/mux/asf.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/mux/asf.c b/modules/mux/asf.c
index 2eacd0a..165edfb 100644
--- a/modules/mux/asf.c
+++ b/modules/mux/asf.c
@@ -662,7 +662,8 @@ static int DelStream( sout_mux_t *p_mux, sout_input_t *p_input )
         }
     }
 
-    vlc_array_remove( p_sys->p_tracks, vlc_array_index_of_item( p_sys->p_tracks, (void *)tk ) );
+    if( p_sys->b_asf_http )
+        vlc_array_remove( p_sys->p_tracks, vlc_array_index_of_item( p_sys->p_tracks, (void *)tk ) );
 
 
     p_sys->b_write_header = true;



More information about the vlc-commits mailing list