mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
libobs: Fix I40A plane height calculation for fourth plane
The commit 2fc13540
introduced a typo bug causing the defined height of
the fourth plane in I40A to be 0, instead of the original frame height.
This changes a 0 to a 3, in order to populate that value correctly.
This commit is contained in:
parent
9fa23c8cca
commit
fa482b6b49
@ -170,7 +170,7 @@ void video_frame_get_plane_heights(uint32_t heights[MAX_AV_PLANES],
|
||||
heights[0] = height;
|
||||
heights[1] = height / 2;
|
||||
heights[2] = height / 2;
|
||||
heights[0] = height;
|
||||
heights[3] = height;
|
||||
break;
|
||||
|
||||
case VIDEO_FORMAT_I42A: /* four planes: all full height */
|
||||
|
Loading…
Reference in New Issue
Block a user