[vlc-devel] commit: audiofilters: Do not try to insert user audio-filters when our target is SPDIF. We currently have no way to apply any of our filters to the encoded signal . (Derk-Jan Hartman )

git version control git at videolan.org
Thu Sep 18 14:46:38 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Sep 18 14:48:27 2008 +0200| [e5587029d4b8a044d11aaaf2463565d3a5168c06] | committer: Derk-Jan Hartman 

audiofilters: Do not try to insert user audio-filters when our target is SPDIF. We currently have no way to apply any of our filters to the encoded signal.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5587029d4b8a044d11aaaf2463565d3a5168c06
---

 src/audio_output/input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/audio_output/input.c b/src/audio_output/input.c
index d4d7140..ba19997 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -225,7 +225,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
     psz_scaletempo = var_GetBool( p_aout, "audio-time-stretch" ) ? strdup( "scaletempo" ) : NULL;
 
     /* parse user filter lists */
-    for( i_visual = 0; i_visual < 3; i_visual++ )
+    for( i_visual = 0; i_visual < 3 && !AOUT_FMT_NON_LINEAR(&chain_output_format); i_visual++ )
     {
         char *ppsz_array[] = { psz_scaletempo, psz_filters, psz_visual };
         char *psz_next = NULL;




More information about the vlc-devel mailing list