Skip to content

Commit

Permalink
VIDEO: Fix Bink clearing color comment
Browse files Browse the repository at this point in the history
YUV 000 is a green, not black.

[ci skip]
  • Loading branch information
DrMcCoy committed Feb 9, 2019
1 parent 778c1c6 commit e5ca398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/bink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ Bink::BinkVideoTrack::BinkVideoTrack(uint32 width, uint32 height, uint32 frameCo
_oldPlanes[2].reset(new byte[(width >> 1) * (height >> 1)]); // V, 1/4 resolution
_oldPlanes[3].reset(new byte[ width * height ]); // A

// Initialize the video with solid black
// Initialize the video with solid green
std::memset(_curPlanes[0].get(), 0, width * height );
std::memset(_curPlanes[1].get(), 0, (width >> 1) * (height >> 1));
std::memset(_curPlanes[2].get(), 0, (width >> 1) * (height >> 1));
Expand Down

0 comments on commit e5ca398

Please sign in to comment.