diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index f8aa92229f..dcd9bdea7a 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 8916cf69f3..0ae37978d4 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;