mpegtsmux: remove obsolete struct field

This commit is contained in:
Mark Nauwelaerts 2012-06-16 19:20:29 +02:00
parent beceb09acc
commit 20507bc0cf
2 changed files with 0 additions and 6 deletions

View file

@ -332,9 +332,6 @@ mpegtsmux_pad_reset (MpegTsPadData * pad_data)
pad_data->prepare_func = NULL; pad_data->prepare_func = NULL;
pad_data->free_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) if (pad_data->codec_data)
gst_buffer_replace (&pad_data->codec_data, NULL); gst_buffer_replace (&pad_data->codec_data, NULL);
@ -1065,7 +1062,6 @@ mpegtsmux_collected (GstCollectPads * pads, GstCollectData * data,
goto no_program; goto no_program;
g_assert (buf != NULL); g_assert (buf != NULL);
best->queued_buf = NULL;
if (mux->force_key_unit_event != NULL && best->stream->is_video_stream) { if (mux->force_key_unit_event != NULL && best->stream->is_video_stream) {
GstEvent *event; GstEvent *event;

View file

@ -186,8 +186,6 @@ struct MpegTsPadData {
gint pid; gint pid;
TsMuxStream *stream; TsMuxStream *stream;
/* currently pulled buffer */
GstBuffer *queued_buf;
/* most recent valid TS for this stream */ /* most recent valid TS for this stream */
GstClockTime last_pts; GstClockTime last_pts;
GstClockTime last_dts; GstClockTime last_dts;