diff options
author | wm4 <wm4@nowhere> | 2013-12-21 18:29:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:12 +0100 |
commit | 60c06fec1e45e1ddb285fe54f1106e1fc8838edd (patch) | |
tree | aad2b74d464e0d0862605c806e60e1169b8ed49d /audio/filter | |
parent | 1974c9b49d7bf09469362ef6ba1214f625ecb40a (diff) | |
download | mpv-60c06fec1e45e1ddb285fe54f1106e1fc8838edd.tar.bz2 mpv-60c06fec1e45e1ddb285fe54f1106e1fc8838edd.tar.xz |
audio/fmt-conversion.c: remove unknown audio format messages
Same deal as with video/fmt-conversion.c.
Diffstat (limited to 'audio/filter')
-rw-r--r-- | audio/filter/af_lavfi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/filter/af_lavfi.c b/audio/filter/af_lavfi.c index 30097ee34d..eaec556dc7 100644 --- a/audio/filter/af_lavfi.c +++ b/audio/filter/af_lavfi.c @@ -195,6 +195,9 @@ static int control(struct af_instance *af, int cmd, void *arg) mp_chmap_from_channels(&out_cm, l_out->channels); mp_audio_set_channels(out, &out_cm); + if (!mp_audio_config_valid(out)) + return AF_ERROR; + p->timebase_out = l_out->time_base; // Blatantly incorrect; we don't know what the filters do. |