[vlc-commits] chroma: cvpx: handle BGRA

Thomas Guillem git at videolan.org
Wed Sep 27 11:50:07 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep 27 11:42:25 2017 +0200| [1c0216485de84add152a4ae7f7281491789669fe] | committer: Thomas Guillem

chroma: cvpx: handle BGRA

Fixes #18860

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

 modules/video_chroma/cvpx.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/video_chroma/cvpx.c b/modules/video_chroma/cvpx.c
index 8af10d5993..1e9948b0e8 100644
--- a/modules/video_chroma/cvpx.c
+++ b/modules/video_chroma/cvpx.c
@@ -196,6 +196,8 @@ static int Open(vlc_object_t *obj)
             break;
         CASE_CVPX_INPUT(I420)
             break;
+        CASE_CVPX_INPUT(BGRA)
+            break;
         default:
             switch (p_filter->fmt_out.video.i_chroma)
             {
@@ -205,6 +207,8 @@ static int Open(vlc_object_t *obj)
                     break;
                 CASE_CVPX_OUTPUT(I420)
                     break;
+                CASE_CVPX_OUTPUT(BGRA)
+                    break;
                 default:
                     return VLC_EGENERIC;
             }



More information about the vlc-commits mailing list