From 29c3e31ff519daf03e38c01598232c95fb310476 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 30 May 2011 17:14:48 +0200 Subject: [PATCH] oggdemux: activate pad before pushing things Activate the pad before pushing things on it or else we get errors. --- ext/ogg/gstoggdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index b02832f..0b8c71b 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; -- 2.7.4