gstreamer/subprojects/gst-plugins-base/gst/playback
Edward Hervey 7a0e52bb15 playbin3: Handle combiner update in case of errors
The assertion that was present before is a bit too harsh, since there is now
a (understandable) use-case where this could happen.

In gapless use-case, with two files containing the same type (ex:audio). The
first one *does* expose a collection with an audio stream, but decoding
fails (for whatever reason).

That would cause us to have configured a audio combiner, which was never
used (i.e. not active).

Then the second file plays and we (wrongly) assume it should be activated
... whereas the combiner was indeed present.

Demote the assertion to a warning and properly handle it

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3389

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6742>
2024-04-26 13:28:06 +00:00
..
gstdecodebin2.c decodebin2: Properly free when shutting down in gst_decode_bin_expose 2023-12-01 19:10:54 +09:00
gstdecodebin3-parse.c decodebin3: Fix clean-up of EOS'd parsebin src pad 2024-01-09 19:00:38 +00:00
gstdecodebin3.c decodebin3: Remove custom stream-start field if present 2024-04-23 11:17:32 +01:00
gstparsebin.c parsebin: Ensure non-time subtitle streams get "parsed" 2024-04-10 09:59:58 +01:00
gstplay-enum.c
gstplay-enum.h
gstplaybackelement.c
gstplaybackelements.h
gstplaybackplugin.c playback: Remove USE_PLAYBIN3 registration override 2024-03-04 12:23:34 +01:00
gstplaybackutils.c gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gstplaybackutils.h
gstplaybin2.c playback: Support runtime change connection-speed of adaptivedemux(2) 2023-10-12 16:06:42 +00:00
gstplaybin3.c playbin3: Handle combiner update in case of errors 2024-04-26 13:28:06 +00:00
gstplaysink.c playsink: Fix volume leak 2023-04-20 14:21:15 +00:00
gstplaysink.h
gstplaysinkaudioconvert.c
gstplaysinkaudioconvert.h
gstplaysinkconvertbin.c gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gstplaysinkconvertbin.h
gstplaysinkvideoconvert.c
gstplaysinkvideoconvert.h
gstrawcaps.h
gststreamsynchronizer.c streamsynchronizer: check reset-time when handling FLUSH_STOP 2023-06-01 09:45:50 +02:00
gststreamsynchronizer.h
gstsubtitleoverlay.c subtitleoverlay: Also use "Decoder/Subtitle" elements 2024-02-22 14:39:54 +00:00
gstsubtitleoverlay.h
gsturidecodebin.c playback: Support runtime change connection-speed of adaptivedemux(2) 2023-10-12 16:06:42 +00:00
gsturidecodebin3.c uridecodebin3: Don't hold lock when posting messages or signals 2024-03-19 12:02:27 +01:00
gsturisourcebin.c urisourcebin2: Adaptive demuxers don't require another parsebin 2024-04-23 11:17:32 +01:00
meson.build