gstreamer/gst
Sebastian Dröge e5feaa76ed imagefreeze: Handle flushing correctly
First of all get rid of the atomic seeking boolean, which was only ever
set and never read. Replace it with a flushing boolean that is used in
the loop function to distinguish no buffer because of flushing and no
buffer because of an error as otherwise we could end up in a
GST_FLOW_ERROR case during flushing.

Also only reset the state of imagefreeze in flush-stop when all
processing is stopped instead of doing it as part of flush-start.

And last, get a reference to the imagefreeze buffer in the loop function
in the very beginning and work from that as otherwise it could in theory
be replaced or set to NULL in the meantime as we release and re-take the
mutex a couple of times during the loop function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/580>
2020-05-06 08:06:33 +00:00
..
alpha alpha: Cleanup using G_DECLARE_FINAL_TYPE 2019-12-28 04:05:13 +00:00
apetag Remove autotools build system 2019-10-14 11:04:18 +01:00
audiofx Remove autotools build system 2019-10-14 11:04:18 +01:00
audioparsers mpegaudioparse: Use a constant bit rate to convert between time and bytes if possible. 2020-03-19 14:02:44 +00:00
auparse Remove autotools build system 2019-10-14 11:04:18 +01:00
autodetect Remove autotools build system 2019-10-14 11:04:18 +01:00
avi avidemux: Avoid potential double-free 2020-05-06 04:36:46 +00:00
cutter Remove autotools build system 2019-10-14 11:04:18 +01:00
debugutils good: Avoid usage of deprecated API 2019-10-16 07:46:58 +00:00
deinterlace deinterlace: Don't leak frame in error case 2020-05-05 17:30:48 +02:00
dtmf Remove autotools build system 2019-10-14 11:04:18 +01:00
effectv Remove autotools build system 2019-10-14 11:04:18 +01:00
equalizer Remove autotools build system 2019-10-14 11:04:18 +01:00
flv flvmux: Add skip-backwards-streams property 2020-04-27 16:18:34 +03:00
flx Remove autotools build system 2019-10-14 11:04:18 +01:00
goom Remove autotools build system 2019-10-14 11:04:18 +01:00
goom2k1 Remove autotools build system 2019-10-14 11:04:18 +01:00
icydemux Remove autotools build system 2019-10-14 11:04:18 +01:00
id3demux Remove autotools build system 2019-10-14 11:04:18 +01:00
imagefreeze imagefreeze: Handle flushing correctly 2020-05-06 08:06:33 +00:00
interleave Remove autotools build system 2019-10-14 11:04:18 +01:00
isomp4 qtdemux: Add 'mp3 ' fourcc that VLC seems to produce now 2020-04-22 15:32:31 -04:00
law Remove autotools build system 2019-10-14 11:04:18 +01:00
level Remove autotools build system 2019-10-14 11:04:18 +01:00
matroska matroska: Check the return value of gst_segment_do_seek() 2020-04-02 05:23:17 +00:00
monoscope Remove autotools build system 2019-10-14 11:04:18 +01:00
multifile slitmuxsrc: Properly stop the loop if not part reader is present 2020-05-05 15:32:58 +02:00
multipart good: use of g_value_dup_string 2019-12-20 09:30:26 +00:00
replaygain Remove autotools build system 2019-10-14 11:04:18 +01:00
rtp rtpLXXdepay: Set the UNPOSITIONED flag on the audio-info when configuring an unpositioned layout 2020-04-03 17:57:23 +00:00
rtpmanager rtpjitterbuffer: Properly free internal packets queue in finalize() 2020-04-22 10:28:30 -04:00
rtsp rtspsrc: Properly set segments seqnums after seeks 2020-04-09 14:03:04 -04:00
shapewipe Remove autotools build system 2019-10-14 11:04:18 +01:00
smpte Remove autotools build system 2019-10-14 11:04:18 +01:00
spectrum Remove autotools build system 2019-10-14 11:04:18 +01:00
udp Don't pass default GLib marshallers for signals 2019-11-17 15:32:30 +00:00
videobox videbox: Use MIN instead of CLAMP for uint 2020-05-06 06:49:09 +00:00
videocrop Fix usage of C99 2020-03-23 21:32:04 -04:00
videofilter Remove autotools build system 2019-10-14 11:04:18 +01:00
videomixer videomixer: Don't leak peer caps 2020-03-12 11:22:56 +01:00
wavenc wavenc: Fix writing of the channel mask with >2 channels 2020-01-13 19:50:06 +00:00
wavparse Remove autotools build system 2019-10-14 11:04:18 +01:00
y4m Remove autotools build system 2019-10-14 11:04:18 +01:00
meson.build meson: Add feature options for all plugins 2018-07-27 18:42:54 +05:30