adaptivedemux2: Hold tracks lock accessing input_period
authorJan Schmidt <jan@centricular.com>
Mon, 10 Oct 2022 16:20:11 +0000 (03:20 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 4 Nov 2022 16:24:26 +0000 (03:24 +1100)
commitb691aece65bb5b707a45f47db7a28042db0b9a40
tree057d2d9215fa80140c2047dfa1c21564547d8dd1
parent93f80bb061a031bfa8a6b0b8e6320107243926f1
adaptivedemux2: Hold tracks lock accessing input_period

The input_period is protected by the TRACKS_LOCK,
so make sure to hold that when accessing it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3314>
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c