Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ua0lnj committed Mar 25, 2020
1 parent cfa1bf1 commit 1ef6f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video.c
Original file line number Diff line number Diff line change
Expand Up @@ -9203,7 +9203,7 @@ static enum AVPixelFormat Vdpau_get_format(VdpauDecoder * decoder,
decoder->InputWidth = video_ctx->coded_width;
decoder->InputHeight = video_ctx->coded_height;
decoder->InputAspect = video_ctx->sample_aspect_ratio;
if(decoder->InputHeight == 1088) // fix 1080i/1088i
if(decoder->InputHeight == 1088 && VideoWindowHeight == 1080) // fix 1080i/1088i
decoder->VideoHeight = 1088;

VdpauSetupOutput(decoder);
Expand Down

0 comments on commit 1ef6f32

Please sign in to comment.