interlace: Reset after changing state to READY
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Wed, 20 Oct 2021 22:31:24 +0000 (00:31 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 21 Oct 2021 10:50:17 +0000 (10:50 +0000)
commitfcaf5b0f0bd3e85441133caa634b4ebd90bdfc7d
tree95c89a54bf6616805beb6ad2a8ad42d9be587991
parent2f8030d98b10ccc869dda30e13c8a5f000859e3b
interlace: Reset after changing state to READY

Trying to reset before the pads have been deactivated races with the
streaming thread. There was also a buggy buffer clear leaving a dangling
`stored_frame` pointer around. Use `gst_interlace_reset` so this happens
properly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1039>
subprojects/gst-plugins-bad/gst/interlace/gstinterlace.c