Fix bug: didn't compile without vdpau support.

This commit is contained in:
Johns 2012-09-11 00:24:27 +02:00
parent 73fe963c36
commit 142c3b16f6
1 changed files with 4 additions and 4 deletions

View File

@ -9350,10 +9350,10 @@ enum PixelFormat Video_get_format(VideoHwDecoder * hw_decoder,
void VideoRenderFrame(VideoHwDecoder * hw_decoder, void VideoRenderFrame(VideoHwDecoder * hw_decoder,
const AVCodecContext * video_ctx, const AVFrame * frame) const AVCodecContext * video_ctx, const AVFrame * frame)
{ {
if (0) { #if 0
fprintf(stderr, "video: render frame pts %s closing %d\n", fprintf(stderr, "video: render frame pts %s closing %d\n",
Timestamp2String(frame->pkt_pts), hw_decoder->Vdpau.Closing); Timestamp2String(frame->pkt_pts), hw_decoder->Vdpau.Closing);
} #endif
if (frame->repeat_pict && !VideoIgnoreRepeatPict) { if (frame->repeat_pict && !VideoIgnoreRepeatPict) {
Warning(_("video: repeated pict %d found, but not handled\n"), Warning(_("video: repeated pict %d found, but not handled\n"),
frame->repeat_pict); frame->repeat_pict);