mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
validate: Add missing parenthesis to seek position check
https://bugzilla.gnome.org/show_bug.cgi?id=763602
This commit is contained in:
parent
3f0a13d52a
commit
4cee9de321
1 changed files with 6 additions and 6 deletions
|
@ -1071,13 +1071,13 @@ _check_position (GstValidateScenario * scenario, GstValidateAction * act,
|
|||
|
||||
if (priv->seeked_in_pause && priv->seek_flags & GST_SEEK_FLAG_ACCURATE) {
|
||||
if ((rate > 0 && (*position >= priv->segment_start + priv->seek_pos_tol ||
|
||||
*position < (priv->segment_start <
|
||||
priv->seek_pos_tol) ? 0 : priv->segment_start -
|
||||
priv->seek_pos_tol))
|
||||
*position < ((priv->segment_start <
|
||||
priv->seek_pos_tol) ? 0 : priv->segment_start -
|
||||
priv->seek_pos_tol)))
|
||||
|| (rate < 0 && (*position > priv->segment_start + priv->seek_pos_tol
|
||||
|| *position < (priv->segment_start <
|
||||
priv->seek_pos_tol) ? 0 : priv->segment_start -
|
||||
priv->seek_pos_tol))) {
|
||||
|| *position < ((priv->segment_start <
|
||||
priv->seek_pos_tol) ? 0 : priv->segment_start -
|
||||
priv->seek_pos_tol)))) {
|
||||
priv->seeked_in_pause = FALSE;
|
||||
GST_VALIDATE_REPORT (scenario, EVENT_SEEK_RESULT_POSITION_WRONG,
|
||||
"Reported position after accurate seek in PAUSED state should be exactly"
|
||||
|
|
Loading…
Reference in a new issue