mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue