mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +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/5126>
This commit is contained in:
parent
0149d77eff
commit
1afeef0e8b
1 changed files with 3 additions and 0 deletions
|
@ -3057,6 +3057,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