[vlc-commits] demux: asf: remember extended stream parameters for tracks

Francois Cartegnie git at videolan.org
Mon Dec 2 14:08:34 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec  2 13:51:41 2013 +0100| [701602135778bbf3819ea8dc94db1e86cfff0c6a] | committer: Francois Cartegnie

demux: asf: remember extended stream parameters for tracks

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

 modules/demux/asf/asf.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 83d62f5..cf58eee 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -75,6 +75,7 @@ typedef struct
     es_out_id_t     *p_es;
 
     asf_object_stream_properties_t *p_sp;
+    asf_object_extended_stream_properties_t *p_esp;
 
     mtime_t i_time;
 
@@ -937,6 +938,7 @@ static int DemuxInit( demux_t *p_demux )
         tk->i_time = -1;
         tk->p_sp = p_sp;
         tk->p_es = NULL;
+        tk->p_esp = NULL;
         tk->p_frame = NULL;
 
         /* Check (in case of mms) if this track is selected (ie will receive data) */
@@ -963,6 +965,7 @@ static int DemuxInit( demux_t *p_demux )
                 if( p_tmp->ext_stream.i_stream_number == p_sp->i_stream_number )
                 {
                     p_esp = &p_tmp->ext_stream;
+                    tk->p_esp = p_esp;
                     break;
                 }
             }



More information about the vlc-commits mailing list