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

Git pushed a commit to branch master
in repository ffmpeg.

commit 6ef8dd7ef59f6c952a63ce605b86d6e5c6a1da43
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Wed Oct 28 23:42:58 2026 +0100
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Nov 2 18:20:48 2026 +0000

    fate/rtsp: pipe the SDP descriptions into ffprobe
    
    The sample rate tests wrote each description to a file only to probe
    it. Pipe it into ffprobe instead, with -f sdp, as the format was found
    by the file extension before.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 tests/fate/rtsp.mak | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/tests/fate/rtsp.mak b/tests/fate/rtsp.mak
index 473f592c66..83bc1ac887 100644
--- a/tests/fate/rtsp.mak
+++ b/tests/fate/rtsp.mak
@@ -1,4 +1,4 @@
-FATE_RTSP_FFPROBE-$(call ALLYES, SDP_DEMUXER FILE_PROTOCOL) \
+FATE_RTSP_FFPROBE-$(call ALLYES, SDP_DEMUXER PIPE_PROTOCOL) \
                                += fate-rtsp-sdp-sample-rate \
                                   fate-rtsp-sdp-sample-rate-leading-zero \
                                   fate-rtsp-sdp-sample-rate-negative \
@@ -14,15 +14,12 @@ FATE_RTSP_FFPROBE-$(call ALLYES, SDP_DEMUXER FILE_PROTOCOL) 
\
 # from opening a transport, which keeps these tests offline.
 SDP_SAMPLE_RATE_HEAD = v=0\no=- 0 0 IN IP4 127.0.0.1\ns=SampleRate\nc=IN IP4 
127.0.0.1\nt=0 0\nm=audio 5004 RTP/AVP 97\na=rtpmap:97 L16/44100/1\n
 SDP_SAMPLE_RATE_PROBE = run ffprobe$(PROGSSUF)$(EXESUF) -v error \
-    -sdp_flags custom_io -protocol_whitelist file \
+    -f sdp -sdp_flags custom_io -protocol_whitelist pipe \
     -analyzeduration 0 -probesize 32 \
     -show_entries stream=sample_rate -print_format compact
 
 define FATE_SDP_SAMPLE_RATE_CMD
-    cleanfiles="$${cleanfiles} $${outfile}.sdp"; \
-    printf "$(SDP_SAMPLE_RATE_HEAD)a=SampleRate:integer;$(1)\n" \
-        > "$${outfile}.sdp"; \
-    $(SDP_SAMPLE_RATE_PROBE) "$$(target_path "$${outfile}.sdp")"
+    printf "$(SDP_SAMPLE_RATE_HEAD)a=SampleRate:integer;$(1)\n" | 
$(SDP_SAMPLE_RATE_PROBE) pipe:
 endef
 
 # A valid attribute must be applied, otherwise the tests below would pass

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to