[vlc-commits] [Git][videolan/vlc][master] mediacodec: fix wrong expression in switch statement for color_range

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Sep 30 11:20:08 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8c1a92c7 by Mangal Kushwah at 2024-09-30T11:01:56+00:00
mediacodec: fix wrong expression in switch statement for color_range

- - - - -


1 changed file:

- modules/codec/omxil/mediacodec.c


Changes:

=====================================
modules/codec/omxil/mediacodec.c
=====================================
@@ -468,7 +468,7 @@ static int StartMediaCodec(decoder_t *p_dec)
         args.video.p_surface = p_sys->video.p_surface;
         args.video.p_jsurface = p_sys->video.p_jsurface;
 
-        switch (p_dec->fmt_out.video.primaries)
+        switch (p_dec->fmt_out.video.color_range)
         {
             case COLOR_RANGE_FULL:
                 args.video.color_range = MC_COLOR_RANGE_FULL;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c1a92c7cf62f9539af393c236b5de7e32271249

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c1a92c7cf62f9539af393c236b5de7e32271249
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list