[vlc-commits] [Git][videolan/vlc][master] es_out: show decoded format

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Oct 13 07:07:58 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
ba45237a by Rémi Denis-Courmont at 2025-10-13T06:42:44+00:00
es_out: show decoded format

Video decoder set their output format in `video.i_chroma`, not `i_fourcc`.
We really should not be using `es_format_t` for decoder output, but well...

Fixes #21623.

- - - - -


1 changed file:

- src/input/es_out.c


Changes:

=====================================
src/input/es_out.c
=====================================
@@ -4453,12 +4453,12 @@ static void EsOutUpdateInfo(es_out_sys_t *p_sys,
                                       (double)fmt->video.i_frame_rate
                                       / (double)fmt->video.i_frame_rate_base );
        }
-       if( fmt->i_codec != p_fmt_es->i_codec )
+       if( fmt->video.i_chroma != 0 )
        {
            psz_codec_description = vlc_fourcc_GetDescription( VIDEO_ES,
-                                                              fmt->i_codec );
+                                                              fmt->video.i_chroma );
            info_category_AddCodecInfo( p_cat, _("Decoded format"),
-                                       fmt->i_codec,
+                                       fmt->video.i_chroma,
                                        psz_codec_description );
        }
        {



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ba45237a4562ac418f24a5e29db55247b301005c
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