gstreamer/gst/flv
Jan Alexander Steffens (heftig) 01594d19b8 flvmux: Correct breaks in gst_flv_mux_find_best_pad
The code seems to use `continue` and `break` as if both refer to the
surrounding `while` loop. But because `break` breaks out of the
`switch`, they actually have the same effect.

This may have caused the loop not to terminate when it should. E.g. when
`skip_backwards_streams` drops a buffer we should abort the aggregation
and wait for all pads to be filled again. Instead, we might have just
selected a subsequent pad as our new "best".

Replace `break` with `done = TRUE; break`, and `continue` with `break`.
Then simplify the code a bit.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/710>
2020-08-31 15:14:56 +02:00
..
amfdefs.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstflvdemux.c flvdemux: Change a GST_ERROR_OBJECT() back to GST_DEBUG_OBJECT() 2020-06-12 09:52:56 +03:00
gstflvdemux.h flvdemux: Remove unused audio_linked/video_linked booleans 2020-05-20 18:46:41 +00:00
gstflvmux.c flvmux: Correct breaks in gst_flv_mux_find_best_pad 2020-08-31 15:14:56 +02:00
gstflvmux.h flvmux: Add skip-backwards-streams property 2020-04-27 16:18:34 +03:00
gstindex.c documentation: fix a number of typos 2019-10-05 22:38:11 +00:00
gstindex.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstmemindex.c Fix FSF address 2012-11-04 00:07:18 +00:00
meson.build doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00