diff options
author | Edward Hervey <edward@collabora.com> | 2014-06-10 14:50:10 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2014-06-10 14:50:10 +0200 |
commit | 0020a9344d53a5298c486817171f3aecf6c55249 (patch) | |
tree | dd9189dcad9ca5520c8e61b707ede9c683c1b2d9 /gst | |
parent | 6043f7a5784e9ab22d6dd05e448bcd3c51360672 (diff) | |
download | gstreamer-plugins-bad-0020a9344d53a5298c486817171f3aecf6c55249.tar.gz |
tsdemux: Remove unused variable
The seeksegment was no longer used since the switch to calculating segments
when we see data.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegtsdemux/tsdemux.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 09ac78d0e..07213fd02 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -545,8 +545,6 @@ gst_ts_demux_do_seek (MpegTSBase * base, GstEvent * event) GstSeekFlags flags; GstSeekType start_type, stop_type; gint64 start, stop; - GstSegment seeksegment; - gboolean update; guint64 start_offset; gst_event_parse_seek (event, &rate, &format, &flags, &start_type, &start, @@ -566,20 +564,8 @@ gst_ts_demux_do_seek (MpegTSBase * base, GstEvent * event) goto done; } - /* copy segment, we need this because we still need the old - * segment when we close the current segment. */ - memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); - /* configure the segment with the seek variables */ GST_DEBUG_OBJECT (demux, "configuring seek"); - GST_DEBUG ("seeksegment before set_seek " SEGMENT_FORMAT, - SEGMENT_ARGS (seeksegment)); - - gst_segment_do_seek (&seeksegment, rate, format, flags, start_type, start, - stop_type, stop, &update); - - GST_DEBUG ("seeksegment after set_seek " SEGMENT_FORMAT, - SEGMENT_ARGS (seeksegment)); /* Convert start/stop to offset */ start_offset = |