summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-09-11 00:24:27 +0200
committerJohns <johns98@gmx.net>2012-09-11 00:24:27 +0200
commit142c3b16f6588d160298cf16180b956a5f6770cc (patch)
treea1e1bc00ad170e175e8eca506c5c3244255520e7
parent73fe963c36a52e28ae900db493ca24c104954af0 (diff)
downloadvdr-plugin-softhddevice-142c3b16f6588d160298cf16180b956a5f6770cc.tar.gz
vdr-plugin-softhddevice-142c3b16f6588d160298cf16180b956a5f6770cc.tar.bz2
Fix bug: didn't compile without vdpau support.
-rw-r--r--video.c8
1 files 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);