diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-01-26 18:22:34 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-01-26 18:22:34 +0000 |
commit | 4504a973918c2ece28b3fe70b1d8ab47f62c2e86 (patch) | |
tree | 45e70bdaeb11624cb1307ee57ba75dea532b1126 | |
parent | fae9c1c4c06032d07dca548cc9406d16f3f7262d (diff) | |
download | xine-lib-4504a973918c2ece28b3fe70b1d8ab47f62c2e86.tar.gz xine-lib-4504a973918c2ece28b3fe70b1d8ab47f62c2e86.tar.bz2 |
patch by Marco Zühlke to make xine recognize 2.0 surround
CVS patchset: 4014
CVS date: 2003/01/26 18:22:34
-rw-r--r-- | src/liba52/xine_decoder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_decoder.c index d9ec6386a..35aa5d09e 100644 --- a/src/liba52/xine_decoder.c +++ b/src/liba52/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.48 2003/01/08 01:02:28 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.49 2003/01/26 18:22:34 mroi Exp $ * * stuff needed to turn liba52 into a xine decoder plugin */ @@ -466,7 +466,9 @@ void a52dec_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { ((this->a52_flags & A52_CHANNEL_MASK) == A52_3F)) this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup ("A/52 3.0"); else if ((this->a52_flags & A52_CHANNEL_MASK) == A52_STEREO) - this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup ("A/52 2.0"); + this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup ("A/52 2.0 (stereo)"); + else if ((this->a52_flags & A52_CHANNEL_MASK) == A52_DOLBY) + this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup ("A/52 2.0 (dolby)"); else if ((this->a52_flags & A52_CHANNEL_MASK) == A52_MONO) this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup ("A/52 1.0"); else |