mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
pad-monitor: use correct variable for segment comparisons
Use the expected versus the received instead of using the received twice.
This commit is contained in:
parent
e679d8531e
commit
4af966f5ee
1 changed files with 2 additions and 1 deletions
|
@ -1163,7 +1163,8 @@ gst_qa_pad_monitor_sink_event_check (GstQaPadMonitor * pad_monitor,
|
|||
GstFormat exp_format;
|
||||
|
||||
if (pad_monitor->expected_segment != event) {
|
||||
gst_event_parse_new_segment_full (event, &exp_update, &exp_rate,
|
||||
gst_event_parse_new_segment_full (pad_monitor->expected_segment,
|
||||
&exp_update, &exp_rate,
|
||||
&exp_applied_rate, &exp_format, &exp_start, &exp_stop,
|
||||
&exp_position);
|
||||
if (format == exp_format) {
|
||||
|
|
Loading…
Reference in a new issue