Commit 416c0651 authored by Jean-Paul Saman's avatar Jean-Paul Saman

enabled check for p_sys->i_channels>2 again for mp3 audio. It was wrongly disabled.

parent c27768fc
...@@ -514,7 +514,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -514,7 +514,6 @@ static int Open( vlc_object_t *p_this )
if( p_sys->i_acodec ) if( p_sys->i_acodec )
{ {
#if 0
if( (strncmp( (char *)&p_sys->i_acodec, "mp3", 3) == 0) && if( (strncmp( (char *)&p_sys->i_acodec, "mp3", 3) == 0) &&
(p_sys->i_channels > 2) ) (p_sys->i_channels > 2) )
{ {
...@@ -522,7 +521,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -522,7 +521,6 @@ static int Open( vlc_object_t *p_this )
p_sys->i_channels ); p_sys->i_channels );
p_sys->i_channels = 2; p_sys->i_channels = 2;
} }
#endif
msg_Dbg( p_stream, "codec audio=%4.4s %dHz %d channels %dKb/s", msg_Dbg( p_stream, "codec audio=%4.4s %dHz %d channels %dKb/s",
(char *)&p_sys->i_acodec, p_sys->i_sample_rate, (char *)&p_sys->i_acodec, p_sys->i_sample_rate,
p_sys->i_channels, p_sys->i_abitrate / 1000 ); p_sys->i_channels, p_sys->i_abitrate / 1000 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment