summaryrefslogtreecommitdiff
path: root/gst/mpegtsmux
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-06-16 19:20:29 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-06-16 19:23:00 +0200
commit20507bc0cf72dd8a3a48a46bd99a6965aef0da18 (patch)
tree78b996b5c171108c3dc7eb2fa92344b7a4c2415b /gst/mpegtsmux
parentbeceb09acc353d991ef9b315126cbe1dc9f8ab0b (diff)
downloadgstreamer-plugins-bad-20507bc0cf72dd8a3a48a46bd99a6965aef0da18.tar.gz
mpegtsmux: remove obsolete struct field
Diffstat (limited to 'gst/mpegtsmux')
-rw-r--r--gst/mpegtsmux/mpegtsmux.c4
-rw-r--r--gst/mpegtsmux/mpegtsmux.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index f8aa92229..dcd9bdea7 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -332,9 +332,6 @@ mpegtsmux_pad_reset (MpegTsPadData * pad_data)
pad_data->prepare_func = NULL;
pad_data->free_func = NULL;
- if (pad_data->queued_buf)
- gst_buffer_replace (&pad_data->queued_buf, NULL);
-
if (pad_data->codec_data)
gst_buffer_replace (&pad_data->codec_data, NULL);
@@ -1065,7 +1062,6 @@ mpegtsmux_collected (GstCollectPads * pads, GstCollectData * data,
goto no_program;
g_assert (buf != NULL);
- best->queued_buf = NULL;
if (mux->force_key_unit_event != NULL && best->stream->is_video_stream) {
GstEvent *event;
diff --git a/gst/mpegtsmux/mpegtsmux.h b/gst/mpegtsmux/mpegtsmux.h
index 8916cf69f..0ae37978d 100644
--- a/gst/mpegtsmux/mpegtsmux.h
+++ b/gst/mpegtsmux/mpegtsmux.h
@@ -186,8 +186,6 @@ struct MpegTsPadData {
gint pid;
TsMuxStream *stream;
- /* currently pulled buffer */
- GstBuffer *queued_buf;
/* most recent valid TS for this stream */
GstClockTime last_pts;
GstClockTime last_dts;