summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-15 17:55:50 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-15 17:55:50 +0100
commit85afc77dea03100fa0dcacfce3909efa65a935dd (patch)
tree92902fdb662379c99d0c41e1d22a1e604c50a16b
parent5231ae7252fd4a3a2b4f8e95a13ad6182a1b69b8 (diff)
_query_peer_*() -> _peer_query_*()
-rw-r--r--gst-libs/gst/video/gstbasevideodecoder.c2
-rw-r--r--gst/mpegtsdemux/tsdemux.c2
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;