diff mbox series

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

Message ID 20200731222019.2897-2-michael@niedermayer.cc
State New
Headers show
Series [FFmpeg-devel,1/2] avformat/dv: allow returning damaged audio | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Michael Niedermayer July 31, 2020, 10:20 p.m. UTC
With this change the AV sync issues should be fixed without manually
setting the dvaudio_concealment

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

Patch

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 },