From 142c3b16f6588d160298cf16180b956a5f6770cc Mon Sep 17 00:00:00 2001 From: Johns Date: Tue, 11 Sep 2012 00:24:27 +0200 Subject: [PATCH] Fix bug: didn't compile without vdpau support. --- video.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/video.c b/video.c index 9b1f4aa..732f98d 100644 --- a/video.c +++ b/video.c @@ -9350,10 +9350,10 @@ enum PixelFormat Video_get_format(VideoHwDecoder * hw_decoder, void VideoRenderFrame(VideoHwDecoder * hw_decoder, const AVCodecContext * video_ctx, const AVFrame * frame) { - if (0) { - fprintf(stderr, "video: render frame pts %s closing %d\n", - Timestamp2String(frame->pkt_pts), hw_decoder->Vdpau.Closing); - } +#if 0 + fprintf(stderr, "video: render frame pts %s closing %d\n", + Timestamp2String(frame->pkt_pts), hw_decoder->Vdpau.Closing); +#endif if (frame->repeat_pict && !VideoIgnoreRepeatPict) { Warning(_("video: repeated pict %d found, but not handled\n"), frame->repeat_pict);