mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
validatessim: Stop using deprecated gst_segment_to_position()
This commit is contained in:
parent
ac87f65d0d
commit
67d53d6aad
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ _handle_buffer (GstValidateOverride * override,
|
|||
|
||||
running_time = gst_segment_to_running_time (&pad_monitor->segment,
|
||||
GST_FORMAT_TIME, GST_BUFFER_PTS (buffer));
|
||||
position = gst_segment_to_position (&pad_monitor->segment,
|
||||
position = gst_segment_position_from_running_time (&pad_monitor->segment,
|
||||
GST_FORMAT_TIME, running_time);
|
||||
|
||||
if (!_should_dump_buffer (o, pad_monitor, position)) {
|
||||
|
|
Loading…
Reference in a new issue