[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:49:06 CEST 2008


vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Thu Sep 18 14:48:27 2008 +0200| [3d529927d9730f97da3a635505c5d0523390c3fc] | 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.

Cherry-picked from [e5587029d4b8a044d11aaaf2463565d3a5168c06]

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

 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 24de3d3..2e2a4d3 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -218,7 +218,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
     psz_visual = val.psz_string;
 
     /* parse user filter lists */
-    for( i_visual = 0; i_visual < 2; i_visual++ )
+    for( i_visual = 0; i_visual < 2 && !AOUT_FMT_NON_LINEAR(&chain_output_format); i_visual++ )
     {
         char *psz_next = NULL;
         char *psz_parser = i_visual ? psz_visual : psz_filters;




More information about the vlc-devel mailing list