mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
decodebin3: Ensure the slot is unlinked before linking to decoder
When switching from a raw stream to an encoded stream we need to make sure the slot is unlinked, there is code in place for this but it wasn't triggered because the slot being reconfigured wasn't advertised as linked beforehand. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5133>
This commit is contained in:
parent
40311bf665
commit
b979ca0dcc
1 changed files with 3 additions and 0 deletions
|
@ -2909,6 +2909,9 @@ reconfigure_output_stream (DecodebinOutputStream * output,
|
|||
ret = FALSE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
output->linked = TRUE;
|
||||
|
||||
if (output->src_exposed == FALSE) {
|
||||
GstEvent *stream_start;
|
||||
|
||||
|
|
Loading…
Reference in a new issue