diff options
-rw-r--r-- | gst-libs/gst/video/gstbasevideodecoder.c | 2 | ||||
-rw-r--r-- | gst/mpegtsdemux/tsdemux.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/video/gstbasevideodecoder.c b/gst-libs/gst/video/gstbasevideodecoder.c index 863c69244..b482c66d6 100644 --- a/gst-libs/gst/video/gstbasevideodecoder.c +++ b/gst-libs/gst/video/gstbasevideodecoder.c @@ -754,7 +754,7 @@ gst_base_video_decoder_src_query (GstPad * pad, GstQuery * query) gint64 value; format = GST_FORMAT_BYTES; - if (gst_pad_query_peer_duration (GST_BASE_VIDEO_CODEC_SINK_PAD (dec), + if (gst_pad_peer_query_duration (GST_BASE_VIDEO_CODEC_SINK_PAD (dec), format, &value)) { GST_LOG_OBJECT (dec, "upstream size %" G_GINT64_FORMAT, value); format = GST_FORMAT_TIME; diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 2f667bd3a..d61742913 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -1581,7 +1581,7 @@ find_timestamps (MpegTSBase * base, guint64 initoff, guint64 * offset) demux->program = NULL; /* Find end position */ - if (G_UNLIKELY (!gst_pad_query_peer_duration (base->sinkpad, GST_FORMAT_BYTES, + if (G_UNLIKELY (!gst_pad_peer_query_duration (base->sinkpad, GST_FORMAT_BYTES, &total_bytes))) { GST_WARNING_OBJECT (base, "Couldn't get upstream size in bytes"); ret = GST_FLOW_ERROR; |