cccombiner: fix emission of selected-samples in one case
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 26 Oct 2021 13:58:26 +0000 (15:58 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 26 Oct 2021 14:48:13 +0000 (14:48 +0000)
commite730bdaa8e316b69fd711d943aeb0c15706815c1
tree4528935316c54daee01f392ec2dc37ba673aa3f2
parentfa1805d531fb0045b2ae981a8ddc5590eb5af476
cccombiner: fix emission of selected-samples in one case

Detected while reading the code, cccombiner must set
self->current_video_buffer to NULL *after* emitting selected-samples
in order for the application to get a useful return when peeking
the next video sample.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1252>
subprojects/gst-plugins-bad/ext/closedcaption/gstcccombiner.c