mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
_query_peer_*() -> _peer_query_*()
This commit is contained in:
parent
5231ae7252
commit
85afc77dea
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue