Commit efbc26a4 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem

core: add metadata info for VR/360° fields

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 87ca8f12
......@@ -3081,6 +3081,22 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
info_category_AddInfo( p_cat, _("Chroma location"), "%s",
_(c_loc_names[fmt->video.chroma_location]) );
}
if( fmt->video.projection_mode != PROJECTION_MODE_RECTANGULAR )
{
static const char *c_loc_names[] = { N_("Rectangular"),
N_("Equirectangular"),
N_("Cubemap"),
};
info_category_AddInfo( p_cat, _("Projection"), "%s",
_(c_loc_names[fmt->video.projection_mode]) );
info_category_AddInfo( p_cat, _("Yaw"), "%.2f",
fmt->video.f_pose_yaw_degrees );
info_category_AddInfo( p_cat, _("Pitch"), "%.2f",
fmt->video.f_pose_pitch_degrees );
info_category_AddInfo( p_cat, _("Roll"), "%.2f",
fmt->video.f_pose_roll_degrees );
}
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