[FFmpeg-cvslog] fate-run.sh: print stream side data in probeaudiostream()

Anton Khirnov git at videolan.org
Sun May 9 12:09:04 EEST 2021


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Apr 25 08:57:14 2021 +0200| [af607a8838e19288c3fcb263e0d7c15cc257c38a] | committer: Anton Khirnov

fate-run.sh: print stream side data in probeaudiostream()

Adds a test for reading AUDIO_SERVICE_TYPE in fate-hls-fmp4_ac3

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af607a8838e19288c3fcb263e0d7c15cc257c38a
---

 tests/fate-run.sh           | 2 +-
 tests/ref/fate/hls-fmp4_ac3 | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index dd3f564e18..ba437dfbb8 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -90,7 +90,7 @@ probefmt(){
 }
 
 probeaudiostream(){
-    run ffprobe${PROGSUF}${EXECSUF} -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout "$@"
+    run ffprobe${PROGSUF}${EXECSUF} -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@"
 }
 
 probetags(){
diff --git a/tests/ref/fate/hls-fmp4_ac3 b/tests/ref/fate/hls-fmp4_ac3
index caccd70fa7..ce7367de4d 100644
--- a/tests/ref/fate/hls-fmp4_ac3
+++ b/tests/ref/fate/hls-fmp4_ac3
@@ -4,5 +4,7 @@ sample_fmt=fltp
 channels=6
 channel_layout=5.1(side)
 [SIDE_DATA]
+side_data_type=Audio Service Type
+type=0
 [/SIDE_DATA]
 [/STREAM]



More information about the ffmpeg-cvslog mailing list