Commit 74c0aebf authored by Laurent Aimar's avatar Laurent Aimar

Display the decoded video format in the "Media information" panel.

It closes #5053.
parent b6892c38
......@@ -2988,6 +2988,15 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
info_category_AddInfo( p_cat, _("Frame rate"), "%"PRId64,
div.quot );
}
if( fmt->i_codec != p_fmt_es->i_codec )
{
const char *psz_chroma_description =
vlc_fourcc_GetDescription( VIDEO_ES, fmt->i_codec );
if( psz_chroma_description )
info_category_AddInfo( p_cat, _("Decoded format"), "%s",
psz_chroma_description );
}
break;
case SPU_ES:
......
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