Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits: 5cb22e56 by Felix Paul Kühne at 2026-06-19T12:58:56+00:00 core/vout: enable in window placement for OSD Co-authored-by: Steve Lhomme <[email protected]> - - - - - 1 changed file: - src/video_output/video_text.c Changes: ===================================== src/video_output/video_text.c ===================================== @@ -50,8 +50,8 @@ static void OSDTextUpdate(subpicture_t *subpic, assert(fmt_dst->i_sar_den && fmt_dst->i_sar_num); - subpic->i_original_picture_width = fmt_dst->i_visible_width * fmt_dst->i_sar_num / fmt_dst->i_sar_den; - subpic->i_original_picture_height = fmt_dst->i_visible_height; + subpic->i_original_picture_width = cfg->current.display_width; + subpic->i_original_picture_height = cfg->current.display_height; subpicture_region_t *r = subpicture_region_NewText(); if (!r) @@ -67,7 +67,7 @@ static void OSDTextUpdate(subpicture_t *subpic, const int margin_v = margin_ratio * fmt_dst->i_visible_height; r->text_flags |= sys->position; - r->b_absolute = false; r->b_in_window = false; + r->b_absolute = false; r->b_in_window = true; r->i_align = sys->position; if (r->i_align & SUBPICTURE_ALIGN_LEFT) r->i_x = margin_h + fmt_dst->i_x_offset; View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5cb22e56bc018c2a7f3bd84b3a566f90ae16593c -- View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5cb22e56bc018c2a7f3bd84b3a566f90ae16593c You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
_______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
