From 779d6f886d57b804069e86f868a195ad8fffcae3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 23 Mar 2009 12:26:05 +0100 Subject: [PATCH] uridecodebin: reset counter reset the number of pending dynamic operations back to 0 when we reuse uridecodebin. Fixes #576190 --- gst/playback/gsturidecodebin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 6752145..9866161 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -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; -- 2.7.4