summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-02-11 15:11:52 +0100
committerJohns <johns98@gmx.net>2013-02-11 15:11:52 +0100
commit145d65ff015a4f0aba470d73e7f113b9c46d189a (patch)
treefe0d3c5ab765cb9f015f7be8ec772fd3c28a0037 /video.c
parent8faff0fd1e559ce067bfc4e95df81d943310f8aa (diff)
downloadvdr-plugin-softhddevice-145d65ff015a4f0aba470d73e7f113b9c46d189a.tar.gz
vdr-plugin-softhddevice-145d65ff015a4f0aba470d73e7f113b9c46d189a.tar.bz2
Debug time for channel switch.
Diffstat (limited to 'video.c')
-rw-r--r--video.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/video.c b/video.c
index 839c517..94fcd0b 100644
--- a/video.c
+++ b/video.c
@@ -4731,8 +4731,13 @@ static void VaapiSyncDecoder(VaapiDecoder * decoder)
}
#if defined(DEBUG) || defined(AV_INFO)
if (!decoder->SyncCounter && decoder->StartCounter < 1000) {
+#ifdef DEBUG
+ Debug(3, "video/vaapi: synced after %d frames %dms\n",
+ decoder->StartCounter, GetMsTicks() - VideoSwitch);
+#else
Debug(3, "video/vaapi: synced after %d frames\n",
decoder->StartCounter);
+#endif
decoder->StartCounter += 1000;
}
#endif
@@ -8211,8 +8216,13 @@ static void VdpauSyncDecoder(VdpauDecoder * decoder)
}
#if defined(DEBUG) || defined(AV_INFO)
if (!decoder->SyncCounter && decoder->StartCounter < 1000) {
+#ifdef DEBUG
+ Debug(3, "video/vdpau: synced after %d frames %dms\n",
+ decoder->StartCounter, GetMsTicks() - VideoSwitch);
+#else
Debug(3, "video/vdpau: synced after %d frames\n",
decoder->StartCounter);
+#endif
decoder->StartCounter += 1000;
}
#endif
@@ -11034,7 +11044,7 @@ static void PrintVersion(void)
#ifdef GIT_REV
"(GIT-" GIT_REV ")"
#endif
- ",\n\t(c) 2009 - 2012 by Johns\n"
+ ",\n\t(c) 2009 - 2013 by Johns\n"
"\tLicense AGPLv3: GNU Affero General Public License version 3\n");
}