diff options
author | Johns <johns98@gmx.net> | 2013-01-06 19:17:02 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-01-06 19:17:02 +0100 |
commit | 3bcc3d280ec484d31eaea804077e1c1ce00b4753 (patch) | |
tree | 7b04a805506cdce57d5f8bd6c8a296cef255cd97 /video.c | |
parent | 55587c86f0cdc4f2ce547667487188872a204b3a (diff) | |
download | vdr-plugin-softhddevice-3bcc3d280ec484d31eaea804077e1c1ce00b4753.tar.gz vdr-plugin-softhddevice-3bcc3d280ec484d31eaea804077e1c1ce00b4753.tar.bz2 |
fprints only when building debug version.
Diffstat (limited to 'video.c')
-rw-r--r-- | video.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -507,9 +507,11 @@ static void VideoUpdateOutput(AVRational input_aspect_ratio, int input_width, // FIXME: store different positions for the ratios tmp_ratio.num = 4; tmp_ratio.den = 3; +#ifdef DEBUG fprintf(stderr, "ratio: %d:%d %d:%d\n", input_aspect_ratio.num, input_aspect_ratio.den, display_aspect_ratio.num, display_aspect_ratio.den); +#endif if (!av_cmp_q(input_aspect_ratio, tmp_ratio)) { switch (Video4to3ZoomMode) { case VideoNormal: @@ -8232,7 +8234,9 @@ static void VdpauSyncRenderFrame(VdpauDecoder * decoder, while (atomic_read(&decoder->SurfacesFilled) >= VIDEO_SURFACES_MAX) { struct timespec abstime; +#ifdef DEBUG fprintf(stderr, "video/vdpau: must be removed\n"); +#endif pthread_mutex_unlock(&VideoLockMutex); abstime = decoder->FrameTime; |