ext/a52dec/gsta52dec.c: Treat dual-mono as stereo. It should really be output on 2 separate pads, but isn't for now.

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (plugin_init):
Treat dual-mono as stereo. It should really be output on 2 separate
pads, but isn't for now.
This commit is contained in:
Jan Schmidt 2006-06-23 09:28:28 +00:00
parent 86b9de35d3
commit d13b1e7003
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2006-06-23 Jan Schmidt <thaytan@mad.scientist.com>
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (plugin_init):
Treat dual-mono as stereo. It should really be output on 2 separate
pads, but isn't for now.
2006-06-19 Tim-Philipp Müller <tim at centricular dot net>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):

2
common

@ -1 +1 @@
Subproject commit bbfa0146961f4ca61ddbca7b42360b5741a6354b
Subproject commit 123195d3bbcc0b6e1cf867d3a180685f8766a0be

View file

@ -259,7 +259,7 @@ gst_a52dec_channels (int flags, GstAudioChannelPosition ** _pos)
}
chans += 3;
break;
/*case A52_CHANNEL: */
case A52_CHANNEL: /* Dual mono. Should really be handled as 2 src pads */
case A52_STEREO:
case A52_DOLBY:
if (pos) {
@ -750,7 +750,7 @@ gst_a52dec_get_property (GObject * object, guint prop_id, GValue * value,
static gboolean
plugin_init (GstPlugin * plugin)
{
if (!gst_element_register (plugin, "a52dec", GST_RANK_PRIMARY,
if (!gst_element_register (plugin, "a52dec", GST_RANK_SECONDARY,
GST_TYPE_A52DEC))
return FALSE;