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

Marton Balint cus at passwd.hu
Sat Oct 31 18:46:10 EET 2020



On Sat, 31 Oct 2020, Carl Eugen Hoyos wrote:

> 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)?

This is demuxer not decoder, so ec cannot be used.

Regards,
Marton


More information about the ffmpeg-devel mailing list