Commit f2249412 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

video_output.c: use the visible dimensions and not the pixel dimensions

if this create some memory leaks, it should be corrected elsewhere
this solves the HDTV grey line bug
parent 962ac7a9
......@@ -215,8 +215,8 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
char * psz_plugin;
vlc_value_t val, text;
unsigned int i_width = p_fmt->i_width;
unsigned int i_height = p_fmt->i_height;
unsigned int i_width = p_fmt->i_visible_width;
unsigned int i_height = p_fmt->i_visible_height;
vlc_fourcc_t i_chroma = p_fmt->i_chroma;
unsigned int i_aspect = p_fmt->i_aspect;
Supports Markdown
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