summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2023-02-02 10:01:42 -0500
committerLeo Izen <leo.izen@gmail.com>2023-02-28 14:45:01 -0500
commitfadfa147f812a3fe9e68723347d37b9cccd6222d (patch)
tree54233515b53b7040ee2c8e886bd90786155183f3 /tests
parent21101d9eb1f26c1f1a58454919a9ef5993ae9900 (diff)
downloadffmpeg-fadfa147f812a3fe9e68723347d37b9cccd6222d.tar.gz
avcodec/pngdec: read colorspace info when decoding with AVDISCARD_ALL
These chunks are lightweight and it's useful information to have when running ffmpeg -i or ffprobe, for example.
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/png-icc8
-rw-r--r--tests/ref/fate/png-side-data2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/ref/fate/png-icc b/tests/ref/fate/png-icc
index 14de544639..1f4eab1fb0 100644
--- a/tests/ref/fate/png-icc
+++ b/tests/ref/fate/png-icc
@@ -1,5 +1,5 @@
-a50d37a0e72bddea2fcbba6fb773e2a0 *tests/data/fate/png-icc.image2
-49397 tests/data/fate/png-icc.image2
+c460cd06a88ace94d7c76a6309aa8fb8 *tests/data/fate/png-icc.image2
+49441 tests/data/fate/png-icc.image2
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
@@ -21,7 +21,7 @@ pkt_duration_time=0.040000
duration=1
duration_time=0.040000
pkt_pos=0
-pkt_size=49397
+pkt_size=49441
width=128
height=128
pix_fmt=rgb24
@@ -34,7 +34,7 @@ top_field_first=0
repeat_pict=0
color_range=pc
color_space=gbr
-color_primaries=unknown
+color_primaries=bt709
color_transfer=unknown
chroma_location=unspecified
[SIDE_DATA]
diff --git a/tests/ref/fate/png-side-data b/tests/ref/fate/png-side-data
index a4c16eb395..8f955f76bc 100644
--- a/tests/ref/fate/png-side-data
+++ b/tests/ref/fate/png-side-data
@@ -26,7 +26,7 @@ top_field_first=0
repeat_pict=0
color_range=pc
color_space=gbr
-color_primaries=unknown
+color_primaries=bt709
color_transfer=unknown
chroma_location=unspecified
[SIDE_DATA]