summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas@paradise.net.nz>2013-03-10 12:17:05 +1300
committerTim-Philipp Müller <tim@centricular.net>2013-03-24 20:58:28 +0000
commit0c9db072ce351bd3ab290cf31b4c22429468d66f (patch)
tree11e2973afdcfe1f118f6c90d942b49ead382b532 /gst
parent0002f7638b2ebd0cc8398b84bdfcfc31e2bf91c1 (diff)
downloadgstreamer-plugins-bad-0c9db072ce351bd3ab290cf31b4c22429468d66f.tar.gz
tsdemux: remove unused current_program_number field
https://bugzilla.gnome.org/show_bug.cgi?id=690934
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegtsdemux/tsdemux.c3
-rw-r--r--gst/mpegtsdemux/tsdemux.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index 2bfae52aa..05bd83dfb 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -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;
}
}
diff --git a/gst/mpegtsdemux/tsdemux.h b/gst/mpegtsdemux/tsdemux.h
index 1a7c357d5..603b593b6 100644
--- a/gst/mpegtsdemux/tsdemux.h
+++ b/gst/mpegtsdemux/tsdemux.h
@@ -60,7 +60,6 @@ struct _GstTSDemux
/*< private >*/
MpegTSBaseProgram *program; /* Current program */
- guint current_program_number;
/* segments to be sent */
GstSegment segment;