[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:47:57 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat May  1 13:12:14 2010 +0200| [9387ebca963e9bdf25ce7b65a0de527b29b164dd] | committer: Jean-Baptiste Kempf 

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

It fixes #3522.
(cherry picked from commit d50635dd8a26612a00453ec3a228800050dd5140)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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