diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | video.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ User johns + + Fix bug: used frame-> instead of video_ctx-> for old libav/ffmpeg. + +User johns Date: Mon Feb 13 23:20:26 CET 2012 Release Version 0.4.7 @@ -6819,7 +6819,7 @@ static void VdpauRenderFrame(VdpauDecoder * decoder, } #else if (decoder->InputWidth && decoder->InputHeight - && av_cmp_q(decoder->InputAspect, frame->sample_aspect_ratio)) { + && av_cmp_q(decoder->InputAspect, video_ctx->sample_aspect_ratio)) { Debug(3, "video/vdpau: aspect ratio changed\n"); decoder->InputAspect = video_ctx->sample_aspect_ratio; |