[vlc-commits] fourcc: add VLC_CODEC_CVPX_BGRA fallback

Thomas Guillem git at videolan.org
Fri Sep 29 17:15:11 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Sep 29 17:14:06 2017 +0200| [514951efb0b3dc21c623e5b0ab838a953fe8d292] | committer: Thomas Guillem

fourcc: add VLC_CODEC_CVPX_BGRA fallback

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=514951efb0b3dc21c623e5b0ab838a953fe8d292
---

 src/misc/fourcc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 076117f355..0203f32522 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -376,6 +376,9 @@ static const vlc_fourcc_t p_CVPX_VIDEO_UYVY_fallback[] = {
 static const vlc_fourcc_t p_CVPX_VIDEO_I420_fallback[] = {
     VLC_CODEC_CVPX_I420, VLC_CODEC_I420, 0,
 };
+static const vlc_fourcc_t p_CVPX_VIDEO_BGRA_fallback[] = {
+    VLC_CODEC_CVPX_BGRA, VLC_CODEC_BGRA, 0,
+};
 
 static const vlc_fourcc_t p_VAAPI_420_fallback[] = {
     VLC_CODEC_VAAPI_420, VLC_CODEC_I420, 0,
@@ -537,6 +540,7 @@ static const vlc_fourcc_t *pp_RGB_fallback[] = {
     p_RGB16_fallback,
     p_RGB15_fallback,
     p_RGB8_fallback,
+    p_CVPX_VIDEO_BGRA_fallback,
 
     NULL,
 };



More information about the vlc-commits mailing list