• Guillaume Roguez's avatar
    video: fix VideoFrame::yuv422_clear_to_black() · 485da039
    Guillaume Roguez authored
    This method wasn't able to treat some non-planar YUV pixel formats,
    like YUYV422, giving a green background.
    This patchset fixes that by giving a true black background when format
    is non-planar YUV.
    
    Note: this method continue to not working for non-YUV format,
    as before, but it's not checked.
    
    Issue: #81116
    Change-Id: I55ec947d1474fc55dee861510623b8e91ef7f467
    485da039
libav_utils.cpp 3.9 KB