From 850e7c3d2d1185f58512e2c154febfd219575753 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Wed, 29 Nov 2006 11:34:03 +0000 Subject: [PATCH] please don't use C functions for handling time values; use the tools in the TimeConversion class instead --- .../src/modules/playlistExecutor/src/GstreamerPlayer.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx b/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx index a757ae0e4..513744045 100644 --- a/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx +++ b/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx @@ -319,13 +319,8 @@ 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; + debug() << "Timestamp: " << *TimeConversion::now() << endl; std::string filePath;