[vlc-commits] Removed write only ts_es_t::b_gather

Laurent Aimar git at videolan.org
Wed Dec 12 21:44:12 CET 2012


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Dec  1 15:48:08 2012 +0100| [9135a8836eff0567d81dec0058a161d9d69cf896] | committer: Laurent Aimar

Removed write only ts_es_t::b_gather

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

 modules/demux/ts.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 4686931..109ea90 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -245,7 +245,6 @@ typedef struct
     block_t     **pp_last;
 
     es_mpeg4_descriptor_t *p_mpeg4desc;
-    int         b_gather;
 
 } ts_es_t;
 
@@ -2161,7 +2160,6 @@ static void PIDFillFormat( ts_es_t *es, int i_stream_type )
         break;
     case 0x10:  /* MPEG4 (video) */
         es_format_Init( fmt, VIDEO_ES, VLC_CODEC_MP4V );
-        es->b_gather = true;
         break;
     case 0x1B:  /* H264 <- check transport syntax/needed descriptor */
         es_format_Init( fmt, VIDEO_ES, VLC_CODEC_H264 );
@@ -2202,7 +2200,6 @@ static void PIDFillFormat( ts_es_t *es, int i_stream_type )
 
     case 0xa0:  /* MSCODEC vlc (video) (fixed later) */
         es_format_Init( fmt, UNKNOWN_ES, 0 );
-        es->b_gather = true;
         break;
 
     case 0x06:  /* PES_PRIVATE  (fixed later) */
@@ -3182,7 +3179,6 @@ static void PMTSetupEsTeletext( demux_t *p_demux, ts_pid_t *pid,
                 p_es->i_data_gathered = 0;
                 p_es->pp_last = &p_es->p_data;
                 p_es->p_mpeg4desc = NULL;
-                p_es->b_gather = false;
 
                 TAB_APPEND( pid->i_extra_es, pid->extra_es, p_es );
             }
@@ -3266,7 +3262,6 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
                 p_es->i_data_gathered = 0;
                 p_es->pp_last = &p_es->p_data;
                 p_es->p_mpeg4desc = NULL;
-                p_es->b_gather = false;
 
                 TAB_APPEND( pid->i_extra_es, pid->extra_es, p_es );
             }



More information about the vlc-commits mailing list