From d338e41a8502dc7a02202442b4c0857c68e4afbd Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 15 Nov 2011 17:55:36 +0100 Subject: [PATCH] _query_peer_*() -> _peer_query_*() --- gst/asfdemux/gstasfdemux.c | 2 +- gst/realmedia/rademux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index de02257752..3c40c80130 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -677,7 +677,7 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event) problem as the seek to this offset needs to happen anway. */ gint64 offset; - if (gst_pad_query_peer_convert (demux->sinkpad, GST_FORMAT_TIME, seek_time, + if (gst_pad_peer_query_convert (demux->sinkpad, GST_FORMAT_TIME, seek_time, GST_FORMAT_BYTES, &offset)) { packet = (offset - demux->data_offset) / demux->packet_size; GST_LOG_OBJECT (demux, "convert %" GST_TIME_FORMAT diff --git a/gst/realmedia/rademux.c b/gst/realmedia/rademux.c index 3f5c68a557..a0323556fa 100644 --- a/gst/realmedia/rademux.c +++ b/gst/realmedia/rademux.c @@ -451,7 +451,7 @@ gst_real_audio_demux_parse_header (GstRealAudioDemux * demux) demux->byterate_num, demux->byterate_denom, demux->byterate_num / demux->byterate_denom); - if (gst_pad_query_peer_duration (demux->sinkpad, bformat, &size_bytes)) { + if (gst_pad_peer_query_duration (demux->sinkpad, bformat, &size_bytes)) { demux->duration = gst_real_demux_get_timestamp_from_offset (demux, size_bytes); demux->upstream_size = size_bytes;