From 06c62ce09c572a5875f6855a4cf1cd1a287d494b Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 8 Dec 2016 15:05:20 -0300 Subject: [PATCH] fate: add a monoscopic spherical matroska test Reviewed-by: Michael Niedermayer Signed-off-by: James Almer --- tests/fate/matroska.mak | 4 ++++ tests/ref/fate/matroska-spherical-mono | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 tests/ref/fate/matroska-spherical-mono diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak index 35ed41f354..f131f2e8eb 100644 --- a/tests/fate/matroska.mak +++ b/tests/fate/matroska.mak @@ -6,4 +6,8 @@ fate-matroska-remux: CMD = md5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-2pas fate-matroska-remux: CMP = oneline fate-matroska-remux: REF = 9b8398b42804ba12c39d2f47299a0996 +FATE_MATROSKA_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER) += fate-matroska-spherical-mono +fate-matroska-spherical-mono: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mkv/spherical.mkv + FATE_SAMPLES_AVCONV += $(FATE_MATROSKA-yes) +FATE_SAMPLES_FFPROBE += $(FATE_MATROSKA_FFPROBE-yes) diff --git a/tests/ref/fate/matroska-spherical-mono b/tests/ref/fate/matroska-spherical-mono new file mode 100644 index 0000000000..9f4b4f8e17 --- /dev/null +++ b/tests/ref/fate/matroska-spherical-mono @@ -0,0 +1,16 @@ +[STREAM] +[SIDE_DATA] +side_data_type=Stereo 3D +side_data_size=8 +type=2D +inverted=0 +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=Spherical Mapping +side_data_size=16 +projection=equirectangular +yaw=45 +pitch=30 +roll=15 +[/SIDE_DATA] +[/STREAM]