imagesequencesrc: fix regular image deadlock
authorStéphane Cerveau <scerveau@igalia.com>
Thu, 12 Oct 2023 14:05:18 +0000 (16:05 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 15 Oct 2023 18:00:36 +0000 (19:00 +0100)
commit87292c602647d7f08444193ca2e2766257b370d4
tree380573f74a36e177a7a0f6bf24af95b1fe1b60f0
parent3b3649353c2fe9e628d0fc00ad744aae3720d3a9
imagesequencesrc: fix regular image deadlock

With one regular image file path provided (without %05d),
the element was stuck in a dead loop counting the frames:

gst_image_sequence_src_count_frames

This allows to display any image file out of the element
for a given number of buffers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5487>
subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c