From 70379844991828e7fb42ce23e943fdcd797d33c7 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 29 Nov 2006 09:10:15 +0000 Subject: [PATCH] Print timestamp when opening files, as requested by Douglas. Fixes #2052 --- .../src/modules/playlistExecutor/src/GstreamerPlayer.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx b/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx index 9db565f25..a757ae0e4 100644 --- a/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx +++ b/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx @@ -319,7 +319,13 @@ GstreamerPlayer :: open(const std::string fileUrl) close(); } + GTimeVal time; + g_get_current_time(&time); + Ptr::Ref isotime; + isotime.reset(g_time_val_to_iso8601(&time)); + debug() << "Opening URL: " << fileUrl << endl; + debug() << "Timestamp: " << isotime << endl; std::string filePath;