[FFmpeg-devel] [PATCH] avformat/dv: allow returning damaged audio

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Oct 31 14:24:05 EET 2020


Am Do., 29. Okt. 2020 um 22:59 Uhr schrieb Michael Niedermayer
<michael at niedermayer.cc>:

> +static const AVOption dv_options[] = {
> +    { "dvaudio_concealment", "", OFFSET(dvaudio_concealment), AV_OPT_TYPE_INT  , {.i64 = AUDIO_CONCEAL_DROP}, 0, INT_MAX, DEC, "dvaudio_concealment"},
> +    { "drop",                "", 0                          , AV_OPT_TYPE_CONST, {.i64 = AUDIO_CONCEAL_DROP}, 0, INT_MAX, DEC, "dvaudio_concealment"},
> +    { "pass",                "", 0                          , AV_OPT_TYPE_CONST, {.i64 = AUDIO_CONCEAL_PASS}, 0, INT_MAX, DEC, "dvaudio_concealment"},

Am I correct that the current lavc option "ec" only works for video?

Shouldn't its documentation be extended so it also works for audio
(to avoid adding a new option)?

Carl Eugen


More information about the ffmpeg-devel mailing list