avwait: Don't reset time tracking when receiving the same segment again
authorSebastian Dröge <sebastian@centricular.com>
Mon, 29 Mar 2021 09:15:18 +0000 (12:15 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 30 Mar 2021 08:38:03 +0000 (08:38 +0000)
commit5bcfb2dda011d4ce55798c6c8eea7d9e904dbcfa
treed05db915634a7cda0223cc99d0300b527f13790e
parent791f1da7b87f9e5d86447e79cfc2875e25d316aa
avwait: Don't reset time tracking when receiving the same segment again

This causes avwait to go back into "dropping" mode until audio and video
are synced again, which is unnecessary when the segment didn't actually
change.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2121>
gst/timecode/gstavwait.c