decklinkvideosink: fix incorrect EOTF value
Checking for mastering-display-info twice is incorrect. One of the checks should be for the content-light-level. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7742>
This commit is contained in:
parent
30c6f2c163
commit
a509a1fd40
@ -434,7 +434,7 @@ public:
|
||||
case GST_VIDEO_TRANSFER_BT601:
|
||||
case GST_VIDEO_TRANSFER_BT709:
|
||||
case GST_VIDEO_TRANSFER_BT2020_10:
|
||||
if (have_mastering_info && have_mastering_info)
|
||||
if (have_mastering_info && have_light_level)
|
||||
*value = 1;
|
||||
else
|
||||
*value = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user