# HG changeset patch # User melunko # Date 1169131937 0 # Node ID 4a7fc19705f067f052d7348f129afa0a4cfcd929 # Parent 8cab5caf8d09b9e3b012cecd6ac395a0e887f0c3 [svn r274] Added layer data in the nuvdemux audio caps diff -r 8cab5caf8d09 -r 4a7fc19705f0 gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Wed Jan 17 20:08:44 2007 +0000 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Thu Jan 18 14:52:17 2007 +0000 @@ -659,10 +659,10 @@ "rate", G_TYPE_INT, nuv->priv->eh.i_audio_sample_rate, "format", GST_TYPE_FOURCC, nuv->priv->eh.i_audio_fcc, "channels", G_TYPE_INT, nuv->priv->eh.i_audio_channels, + "layer", G_TYPE_INT, 3, // fixme: magic number "mpegversion", G_TYPE_INT, nuv->priv->eh.i_version, NULL); char *tmp = gst_caps_to_string (audio_caps); - printf ("XXXXXXXX audio caps: %s\n", tmp); nuv->priv->src_audio_pad = gst_nuv_demux_create_pad (nuv, audio_caps, &audio_src_template, "audio_src"); gst_caps_unref (audio_caps);