Skip to content

Commit 3078fab

Browse files
author
Clement Champetier
committed
VideoProperty: updated color range returned in case of AVCOL_RANGE_MPEG
* "Limited" corresponds to the FFmpeg vocabulary. It corresponds to the "video" range. * Added comment.
1 parent f4fda7d commit 3078fab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AvTranscoder/properties/VideoProperties.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ std::string VideoProperties::getColorRange() const
173173
case AVCOL_RANGE_UNSPECIFIED:
174174
return "unspecified";
175175
case AVCOL_RANGE_MPEG:
176-
return "Head";
176+
return "Limited"; //< legal TV range: 16-235 with 8bits
177177
case AVCOL_RANGE_JPEG:
178-
return "Full";
178+
return "Full"; // full range: 0-255 with 8bits
179179
case AVCOL_RANGE_NB:
180180
return "Not ABI";
181181
default:

0 commit comments

Comments
 (0)