Commit da305a57 authored by Christophe Massiot's avatar Christophe Massiot

* modules/codec/fake.c: Fixed compilation.

parent a78a6637
...@@ -228,12 +228,12 @@ static int OpenDecoder( vlc_object_t *p_this ) ...@@ -228,12 +228,12 @@ static int OpenDecoder( vlc_object_t *p_this )
if ( i_aspect ) if ( i_aspect )
{ {
fmt_out.video.i_aspect = i_aspect; fmt_out.i_aspect = i_aspect;
} }
else else
{ {
fmt_out.video.i_aspect = fmt_out.i_width fmt_out.i_aspect = fmt_out.i_width
* VOUT_ASPECT_FACTOR / fmt_out.i_height; * VOUT_ASPECT_FACTOR / fmt_out.i_height;
} }
var_Create( p_dec, "fake-deinterlace", VLC_VAR_BOOL | VLC_VAR_DOINHERIT ); var_Create( p_dec, "fake-deinterlace", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
......
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