mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
_query_peer_*() -> _peer_query_*()
This commit is contained in:
parent
3aa7fa6aea
commit
d338e41a85
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue