提交 748326dd 编写于 作者: B bbcallen

ijksdl: set target format for non-I420 format

上级 be8ba0f6
......@@ -248,6 +248,7 @@ int SDL_VoutFFmpeg_ConvertFrame(
overlay_fill(overlay, opaque->frame, opaque->planes);
dest_pic.data[1] = overlay->pixels[1];
dest_pic.data[2] = overlay->pixels[2];
dst_format = AV_PIX_FMT_YUV420P;
}
if (need_swap_uv) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册