X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fvideo_output%2Fvideo_text.c;h=003a630ad90f9c658a129a9b80988a43d6d6684b;hb=e875fef573cb51a0e453b715f19efe21867da3be;hp=e0f15bbc62bc5c52e7e90d3272cf1b3f1d2137c9;hpb=308b6e6d8eab5bb2b4cfb8208f4504f54534273c;p=vlc diff --git a/src/video_output/video_text.c b/src/video_output/video_text.c index e0f15bbc62..003a630ad9 100644 --- a/src/video_output/video_text.c +++ b/src/video_output/video_text.c @@ -143,7 +143,7 @@ void vout_OSDMessage( vlc_object_t *p_caller, int i_channel, if( vasprintf( &psz_string, psz_format, args ) != -1 ) { vout_ShowTextRelative( p_vout, i_channel, psz_string, NULL, - OSD_ALIGN_TOP|OSD_ALIGN_RIGHT, + SUBPICTURE_ALIGN_TOP|SUBPICTURE_ALIGN_RIGHT, 30 + p_vout->p->fmt_in.i_width - p_vout->p->fmt_in.i_visible_width - p_vout->p->fmt_in.i_x_offset,