Commit 103ae418 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

swscale: Support RGB565 in swscale.

parent 4197f75c
......@@ -278,6 +278,9 @@ static void FixParameters( int *pi_fmt, bool *pb_has_a, bool *pb_swap_uv, vlc_fo
*pi_fmt = PIX_FMT_YUV410P;
*pb_swap_uv = true;
break;
case VLC_CODEC_RGB16:
*pi_fmt = PIX_FMT_RGB565;
break;
default:
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment