mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
uridecodebin: reset counter
reset the number of pending dynamic operations back to 0 when we reuse uridecodebin. Fixes #576190
This commit is contained in:
parent
b7fdb7c6d7
commit
779d6f886d
1 changed files with 2 additions and 0 deletions
|
@ -1349,6 +1349,8 @@ setup_source (GstURIDecodeBin * decoder)
|
|||
/* delete old src */
|
||||
remove_source (decoder);
|
||||
|
||||
decoder->pending = 0;
|
||||
|
||||
/* create and configure an element that can handle the uri */
|
||||
if (!(decoder->source = gen_source_element (decoder)))
|
||||
goto no_source;
|
||||
|
|
Loading…
Reference in a new issue