_query_peer_*() -> _peer_query_*()

This commit is contained in:
Wim Taymans 2011-11-15 17:55:36 +01:00
parent 3aa7fa6aea
commit d338e41a85
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;