diff options
author | wm4 <wm4@nowhere> | 2015-06-22 15:02:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-22 16:03:07 +0200 |
commit | 3d55340c6d22e68ee6b9eaac44fa80969fc1ba4b (patch) | |
tree | 2ebb2803c491746ae3bd9268ee18ccf9e53e5fd8 /audio/filter/af.h | |
parent | 17e8815e3769c4c6940828b00815df3fe663d9e0 (diff) | |
download | mpv-3d55340c6d22e68ee6b9eaac44fa80969fc1ba4b.tar.bz2 mpv-3d55340c6d22e68ee6b9eaac44fa80969fc1ba4b.tar.xz |
af: restore detaching of PCM filters when using spdif
Basically, af_fix_format_conversion() behaves stupid you insert a
conversion filter that won't work, and adding back the conversion test
function is the simplest fix to it.
Diffstat (limited to 'audio/filter/af.h')
-rw-r--r-- | audio/filter/af.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/filter/af.h b/audio/filter/af.h index b35901232d..e8beac9631 100644 --- a/audio/filter/af.h +++ b/audio/filter/af.h @@ -161,4 +161,6 @@ int af_from_dB(int n, float *in, float *out, float k, float mi, float ma); int af_from_ms(int n, float *in, int *out, int rate, float mi, float ma); float af_softclip(float a); +bool af_lavrresample_test_conversion(int src_format, int dst_format); + #endif /* MPLAYER_AF_H */ |