From 9538651a201654e336b3d13536b96232a54b5e13 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 4 Jun 2014 21:39:48 +1000 Subject: [PATCH] tsdemux: Remove extraneous extra parameter from check_pending_buffers function --- gst/mpegtsdemux/tsdemux.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 06cec8d83f..09ac78d0e3 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -477,7 +477,7 @@ gst_ts_demux_srcpad_query (GstPad * pad, GstObject * parent, GstQuery * query) and D.0.2 (Audio and video presentation synchronization) We can end up with an interval of up to 700ms between valid - PCR/SCR. We therefore allow a latency of 700ms for that. + PTS/DTS. We therefore allow a latency of 700ms for that. */ gst_query_parse_latency (query, &live, &min_lat, &max_lat); if (min_lat != -1) @@ -1349,7 +1349,7 @@ gst_ts_demux_record_dts (GstTSDemux * demux, TSDemuxStream * stream, /* This is called when we haven't got a valid initial PTS/DTS on all streams */ static gboolean -check_pending_buffers (GstTSDemux * demux, TSDemuxStream * stream) +check_pending_buffers (GstTSDemux * demux) { gboolean have_observation = FALSE; /* The biggest offset */ @@ -1502,7 +1502,7 @@ gst_ts_demux_parse_pes_header (GstTSDemux * demux, TSDemuxStream * stream, (stream->pts != GST_CLOCK_TIME_NONE || stream->dts != GST_CLOCK_TIME_NONE))) { GST_DEBUG ("Got pts/dts update, rechecking all streams"); - check_pending_buffers (demux, stream); + check_pending_buffers (demux); } else if (stream->first_dts == GST_CLOCK_TIME_NONE) { if (GST_CLOCK_TIME_IS_VALID (stream->dts)) stream->first_dts = stream->dts; @@ -1764,7 +1764,7 @@ gst_ts_demux_push_pending_data (GstTSDemux * demux, TSDemuxStream * stream) buffer = gst_buffer_new_wrapped (stream->data, stream->current_size); - if (G_UNLIKELY (stream->pending_ts && !check_pending_buffers (demux, stream))) { + if (G_UNLIKELY (stream->pending_ts && !check_pending_buffers (demux))) { PendingBuffer *pend; pend = g_slice_new0 (PendingBuffer); pend->buffer = buffer;