From: Wim Taymans Date: Mon, 30 May 2011 15:14:48 +0000 (+0200) Subject: oggdemux: activate pad before pushing things X-Git-Tag: 1.19.3~511^2~7614 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29c3e31ff519daf03e38c01598232c95fb310476;p=platform%2Fupstream%2Fgstreamer.git oggdemux: activate pad before pushing things Activate the pad before pushing things on it or else we get errors. --- diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index b02832fe04..0b8c71b670 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -1186,6 +1186,7 @@ gst_ogg_chain_new_stream (GstOggChain * chain, glong serialno) "created new ogg src %p for stream with serial %08lx", ret, serialno); g_array_append_val (chain->streams, ret); + gst_pad_set_active (GST_PAD_CAST (ret), TRUE); return ret;