]> git.sesse.net Git - vlc/blobdiff - modules/codec/invmem.c
Win32: add support for media keys and remotes in Qt.
[vlc] / modules / codec / invmem.c
index fddab7f3b241cd79fd1aff305a4397a57d7e733b..ad2094a450456c28657a1bf1751296557d3a5237 100644 (file)
@@ -212,7 +212,8 @@ static int OpenDecoder( vlc_object_t *p_this )
     p_dec->fmt_out.i_codec = chroma;
     p_dec->fmt_out.video.i_width = p_dec->p_sys->i_width;
     p_dec->fmt_out.video.i_height = p_dec->p_sys->i_height;
-    p_dec->fmt_out.video.i_aspect = VOUT_ASPECT_FACTOR * p_dec->p_sys->i_width / p_dec->p_sys->i_height;
+    p_dec->fmt_out.video.i_sar_num = 1;
+    p_dec->fmt_out.video.i_sar_den = 1;
     p_dec->fmt_out.i_cat = VIDEO_ES;
 
     p_sys->i_pitch = pitch;