The branch, master has been updated
via 32f73138f593a79b50e5eb50de3bdece977757f4 (commit)
via 7411e902da5bb1983e54772b3d16bc2d71297ed4 (commit)
from 3cc1dc335821ef0c8cf351aa850f46965f55c26b (commit)
- Log -----------------------------------------------------------------
commit 32f73138f593a79b50e5eb50de3bdece977757f4
Author: Anders Rein <[email protected]>
AuthorDate: Tue Nov 18 11:22:18 2025 +0100
Commit: Marton Balint <[email protected]>
CommitDate: Sat Nov 22 18:36:41 2025 +0000
fate/filter-audio: Added test for aselect
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index eee0209c59..b244f82bb7 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -259,6 +259,11 @@ fate-filter-aresample: CMD = pcm -analyzeduration 10000000
-i $(SRC) -af aresamp
fate-filter-aresample: CMP = oneoff
fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, ASELECT, WAV, PCM_S16LE, PCM_S16LE,
WAV) += fate-filter-aselect
+fate-filter-aselect: tests/data/asynth-44100-2.wav
+fate-filter-aselect: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-aselect: CMD = framecrc -i $(SRC) -af "aselect=gte(t\,1)*lt(t\,2)"
+
FATE_ATRIM += fate-filter-atrim-duration
fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af
atrim=start=0.1:duration=0.01
FATE_ATRIM += fate-filter-atrim-mixed
diff --git a/tests/ref/fate/filter-aselect b/tests/ref/fate/filter-aselect
new file mode 100644
index 0000000000..7d2192e227
--- /dev/null
+++ b/tests/ref/fate/filter-aselect
@@ -0,0 +1,16 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout_name 0: stereo
+0, 45056, 45056, 4096, 16384, 0xe92bd835
+0, 49152, 49152, 4096, 16384, 0x1126dca3
+0, 53248, 53248, 4096, 16384, 0x9647edcf
+0, 57344, 57344, 4096, 16384, 0x5cc345aa
+0, 61440, 61440, 4096, 16384, 0x19d7bd51
+0, 65536, 65536, 4096, 16384, 0x19eccef7
+0, 69632, 69632, 4096, 16384, 0x4b68eeed
+0, 73728, 73728, 4096, 16384, 0x0b3d1bfc
+0, 77824, 77824, 4096, 16384, 0xe9b2e069
+0, 81920, 81920, 4096, 16384, 0xcaa5590e
+0, 86016, 86016, 4096, 16384, 0x47d0b227
commit 7411e902da5bb1983e54772b3d16bc2d71297ed4
Author: Anders Rein <[email protected]>
AuthorDate: Mon Nov 17 23:52:49 2025 +0100
Commit: Marton Balint <[email protected]>
CommitDate: Sat Nov 22 18:36:41 2025 +0000
avfilter/f_select: Added activate for aselect
During migration to the activation filter API the aselect filter was
accidentally turned into a no-op filter.
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 46208a7b76..3781e50814 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -504,6 +504,7 @@ const FFFilter ff_af_aselect = {
.p.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS,
.init = aselect_init,
.uninit = uninit,
+ .activate = activate,
.priv_size = sizeof(SelectContext),
FILTER_INPUTS(avfilter_af_aselect_inputs),
};
-----------------------------------------------------------------------
Summary of changes:
libavfilter/f_select.c | 1 +
tests/fate/filter-audio.mak | 5 +++++
tests/ref/fate/filter-aselect | 16 ++++++++++++++++
3 files changed, 22 insertions(+)
create mode 100644 tests/ref/fate/filter-aselect
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]