Commit 97bd1a58 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

es_out: add orientation to video tracks meta

parent bc71288b
......@@ -3007,7 +3007,16 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
info_category_AddInfo( p_cat, _("Decoded format"), "%s",
psz_chroma_description );
}
{
static const char orient_names[][13] = {
N_("Top left"), N_("Left top"),
N_("Right bottom"), N_("Top right"),
N_("Bottom left"), N_("Bottom right"),
N_("Left bottom"), N_("Right top"),
};
info_category_AddInfo( p_cat, _("Orientation"), "%s",
_(orient_names[fmt->video.orientation]) );
}
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