mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix bug: used frame-> instead of video_ctx->.
This commit is contained in:
parent
807b4df381
commit
6736db082e
@ -1,3 +1,7 @@
|
|||||||
|
User johns
|
||||||
|
|
||||||
|
Fix bug: used frame-> instead of video_ctx-> for old libav/ffmpeg.
|
||||||
|
|
||||||
User johns
|
User johns
|
||||||
Date: Mon Feb 13 23:20:26 CET 2012
|
Date: Mon Feb 13 23:20:26 CET 2012
|
||||||
|
|
||||||
|
2
video.c
2
video.c
@ -6819,7 +6819,7 @@ static void VdpauRenderFrame(VdpauDecoder * decoder,
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (decoder->InputWidth && decoder->InputHeight
|
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");
|
Debug(3, "video/vdpau: aspect ratio changed\n");
|
||||||
|
|
||||||
decoder->InputAspect = video_ctx->sample_aspect_ratio;
|
decoder->InputAspect = video_ctx->sample_aspect_ratio;
|
||||||
|
Loading…
Reference in New Issue
Block a user