Skip to content

mfvideoenc: Fix broken encoding when resolution is not an even number

Seungha Yang requested to merge seungha.yang/gstreamer:mfvideoenc-odd-res into main

Width and height values of 4:2:0 subsampled YUV format should be even number, and if it's not the case, there should be padding which is not a contiguous memory layout. Do copy input frames to MediaFoundation's memory in that case for now.

Fixes: #1165 (closed)

Merge request reports