[FFmpeg-devel] [PATCH 2/2] avformat/dv: Change default dvaudio_concealment to PASS

Michael Niedermayer michael at niedermayer.cc
Sat Aug 1 01:20:19 EEST 2020


With this change the AV sync issues should be fixed without manually
setting the dvaudio_concealment

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavformat/dv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dv.c b/libavformat/dv.c
index 7ebe1815b3..aea68d40fc 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -660,7 +660,7 @@ static int dv_probe(const AVProbeData *p)
 #define OFFSET(x) offsetof(RawDVContext, x)
 #define DEC AV_OPT_FLAG_DECODING_PARAM
 static const AVOption dv_options[] = {
-    { "dvaudio_concealment", "", OFFSET(dvaudio_concealment), AV_OPT_TYPE_INT  , {.i64 = AUDIO_CONCEAL_DROP}, 0, INT_MAX, DEC, "dvaudio_concealment"},
+    { "dvaudio_concealment", "", OFFSET(dvaudio_concealment), AV_OPT_TYPE_INT  , {.i64 = AUDIO_CONCEAL_PASS}, 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"},
     { NULL },
-- 
2.17.1



More information about the ffmpeg-devel mailing list