fate: add a monoscopic spherical matroska test
authorJames Almer <jamrial@gmail.com>
Thu, 8 Dec 2016 18:05:20 +0000 (15:05 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 9 Dec 2016 14:19:38 +0000 (11:19 -0300)
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
tests/fate/matroska.mak
tests/ref/fate/matroska-spherical-mono [new file with mode: 0644]

index 35ed41f..f131f2e 100644 (file)
@@ -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 (file)
index 0000000..9f4b4f8
--- /dev/null
@@ -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]