summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-02-14 14:46:49 +0100
committerJohns <johns98@gmx.net>2012-02-14 14:46:49 +0100
commit6736db082ef0b8628d5d8a6da948115cd2c5e974 (patch)
tree897534cdba846438c66530fd1b7275796d50558f /video.c
parent807b4df38106a7682bf9372cfb635cfa6f4ae815 (diff)
downloadvdr-plugin-softhddevice-6736db082ef0b8628d5d8a6da948115cd2c5e974.tar.gz
vdr-plugin-softhddevice-6736db082ef0b8628d5d8a6da948115cd2c5e974.tar.bz2
Fix bug: used frame-> instead of video_ctx->.
Diffstat (limited to 'video.c')
-rw-r--r--video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video.c b/video.c
index 26bdacf..234350a 100644
--- a/video.c
+++ b/video.c
@@ -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;