From 75fea4f5353f3443676372a9f9f7f7189c8eaac0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 4 Nov 2011 12:53:33 +0100 Subject: [PATCH] oggdemux: fix somtimes pad --- ext/ogg/gstoggdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index af61a26ce6..3bf1682189 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -1697,7 +1697,7 @@ gst_ogg_chain_new_stream (GstOggChain * chain, guint32 serialno) GST_DEBUG_OBJECT (chain->ogg, "creating new stream %08x in chain %p", serialno, chain); - name = g_strdup_printf ("serial_%08x", serialno); + name = g_strdup_printf ("src_%08x", serialno); ret = g_object_new (GST_TYPE_OGG_PAD, "name", name, NULL); g_free (name); /* we own this one */ @@ -1771,7 +1771,7 @@ enum }; static GstStaticPadTemplate ogg_demux_src_template_factory = -GST_STATIC_PAD_TEMPLATE ("src_%d", +GST_STATIC_PAD_TEMPLATE ("src_%08x", GST_PAD_SRC, GST_PAD_SOMETIMES, GST_STATIC_CAPS_ANY);