This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit dfd11985e806d9740134f1cdc195c2943eecc049
Author:     Daniil Cherednik <[email protected]>
AuthorDate: Thu May 14 01:42:58 2026 +0200
Commit:     Lynne <[email protected]>
CommitDate: Sat May 23 10:38:28 2026 +0000

    Add silence ut
---
 tests/fate/opus.mak             | 7 ++++++-
 tests/ref/fate/opus-enc-silence | 8 ++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/tests/fate/opus.mak b/tests/fate/opus.mak
index 7d359f414a..bc7aea90d5 100644
--- a/tests/fate/opus.mak
+++ b/tests/fate/opus.mak
@@ -37,8 +37,13 @@ fate-opus-silk-lbrr:         CMP_TARGET = 0
 fate-opus-tron.6ch.tinypkts: CMP_SHIFT = 1440
 fate-opus-tron.6ch.tinypkts: CMP_TARGET = 0
 
+FATE_OPUS_ENC-$(call FILTERFRAMECRC, ANULLSRC ARESAMPLE, OPUS_ENCODER) += 
fate-opus-enc-silence
+fate-opus-enc-silence: CMD = framecrc -auto_conversion_filters -filter_complex 
"anullsrc=r=48000:cl=stereo:d=0.021" -c:a opus -strict -2
+
 FATE_SAMPLES_FFMPEG += $(FATE_OPUS)
+FATE_FFMPEG += $(FATE_OPUS_ENC-yes)
 fate-opus-celt: $(FATE_OPUS_CELT-yes)
 fate-opus-hybrid: $(FATE_OPUS_HYBRID-yes)
 fate-opus-silk: $(FATE_OPUS_SILK-yes)
-fate-opus: $(FATE_OPUS)
+fate-opus-enc: $(FATE_OPUS_ENC-yes)
+fate-opus: $(FATE_OPUS) $(FATE_OPUS_ENC-yes)
diff --git a/tests/ref/fate/opus-enc-silence b/tests/ref/fate/opus-enc-silence
new file mode 100644
index 0000000000..dd8e02e02d
--- /dev/null
+++ b/tests/ref/fate/opus-enc-silence
@@ -0,0 +1,8 @@
+#extradata 0:       19, 0x3c4604cf
+#tb 0: 1/48000
+#media_type 0: audio
+#codec_id 0: opus
+#sample_rate 0: 48000
+#channel_layout_name 0: stereo
+0,       -120,       -120,      960,        1, 0x00fc00fc
+0,        840,        840,      168,        1, 0x00fc00fc, S=1, Skip Samples,  
     10, 0x009f001b

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to