tsdemux: remove unused current_program_number field
authorDouglas Bagnall <douglas@paradise.net.nz>
Sat, 9 Mar 2013 23:17:05 +0000 (12:17 +1300)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 24 Mar 2013 20:58:28 +0000 (20:58 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=690934

gst/mpegtsdemux/tsdemux.c
gst/mpegtsdemux/tsdemux.h

index 2bfae52aa95bb5f3e9dbfca7b03bd06caed5787d..05bd83dfbd6457c6cea60afdeabbf48b35b3ed4c 100644 (file)
@@ -1140,9 +1140,6 @@ gst_ts_demux_program_started (MpegTSBase * base, MpegTSBaseProgram * program)
     demux->calculate_update_segment = !program->initial_program;
 
     /* FIXME : When do we emit no_more_pads ? */
-
-    /* Inform scanner we have got our program */
-    demux->current_program_number = program->program_number;
   }
 }
 
index 1a7c357d5b80cd147dc1abeb103d426a058c36a5..603b593b68fc6928fad939c88a0770506218f687 100644 (file)
@@ -60,7 +60,6 @@ struct _GstTSDemux
 
   /*< private >*/
   MpegTSBaseProgram *program;  /* Current program */
-  guint        current_program_number;
 
   /* segments to be sent */
   GstSegment segment;