Commit 751f09f7 authored by Theppitak Karoonboonyanan's avatar Theppitak Karoonboonyanan Committed by Rémi Denis-Courmont

Add context to view point messages for translation (fixes #19374)

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 85975db4
...@@ -3249,14 +3249,15 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t * ...@@ -3249,14 +3249,15 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
} }
info_category_AddInfo( p_cat, _("Projection"), "%s", _(psz_loc_name) ); info_category_AddInfo( p_cat, _("Projection"), "%s", _(psz_loc_name) );
info_category_AddInfo( p_cat, _("Yaw"), "%.2f", info_category_AddInfo( p_cat, vlc_pgettext("ViewPoint", "Yaw"),
fmt->video.pose.yaw ); "%.2f", fmt->video.pose.yaw );
info_category_AddInfo( p_cat, _("Pitch"), "%.2f", info_category_AddInfo( p_cat, vlc_pgettext("ViewPoint", "Pitch"),
fmt->video.pose.pitch ); "%.2f", fmt->video.pose.pitch );
info_category_AddInfo( p_cat, _("Roll"), "%.2f", info_category_AddInfo( p_cat, vlc_pgettext("ViewPoint", "Roll"),
fmt->video.pose.roll ); "%.2f", fmt->video.pose.roll );
info_category_AddInfo( p_cat, _("Field of view"), "%.2f", info_category_AddInfo( p_cat,
fmt->video.pose.fov ); vlc_pgettext("ViewPoint", "Field of view"),
"%.2f", fmt->video.pose.fov );
} }
if ( fmt->video.mastering.max_luminance ) if ( fmt->video.mastering.max_luminance )
{ {
......
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