summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-12-08 15:05:20 -0300
committerJames Almer <jamrial@gmail.com>2016-12-09 11:19:38 -0300
commit06c62ce09c572a5875f6855a4cf1cd1a287d494b (patch)
tree517900a1ec47ab0434f3a28b3855d348bccb4dd4
parent77aa8005ece5b4012a2f8d2988aa8ec7a0a72db6 (diff)
fate: add a monoscopic spherical matroska test
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/fate/matroska.mak4
-rw-r--r--tests/ref/fate/matroska-spherical-mono16
2 files changed, 20 insertions, 0 deletions
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]