mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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;
|
gint64 value;
|
||||||
|
|
||||||
format = GST_FORMAT_BYTES;
|
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)) {
|
format, &value)) {
|
||||||
GST_LOG_OBJECT (dec, "upstream size %" G_GINT64_FORMAT, value);
|
GST_LOG_OBJECT (dec, "upstream size %" G_GINT64_FORMAT, value);
|
||||||
format = GST_FORMAT_TIME;
|
format = GST_FORMAT_TIME;
|
||||||
|
|
|
@ -1581,7 +1581,7 @@ find_timestamps (MpegTSBase * base, guint64 initoff, guint64 * offset)
|
||||||
demux->program = NULL;
|
demux->program = NULL;
|
||||||
|
|
||||||
/* Find end position */
|
/* 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))) {
|
&total_bytes))) {
|
||||||
GST_WARNING_OBJECT (base, "Couldn't get upstream size in bytes");
|
GST_WARNING_OBJECT (base, "Couldn't get upstream size in bytes");
|
||||||
ret = GST_FLOW_ERROR;
|
ret = GST_FLOW_ERROR;
|
||||||
|
|
Loading…
Reference in a new issue