Commit 9bff58d3 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Jean-Baptiste Kempf

core: do not overwrite visible size

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 124e58dd
......@@ -1292,14 +1292,9 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
}
owner.sys = osys;
/* */
/* keep a reference to the source before display */
video_format_t source = *source_org;
source.i_x_offset = 0;
source.i_y_offset = 0;
source.i_visible_width = source.i_width;
source.i_visible_height = source.i_height;
vout_display_t *p_display = vout_display_New(VLC_OBJECT(vout),
module, !is_wrapper,
&source, cfg, &owner);
......
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