please don't use C functions for handling time values;

use the tools in the TimeConversion class instead
This commit is contained in:
fgerlits 2006-11-29 11:34:03 +00:00
parent 7037984499
commit 850e7c3d2d
1 changed files with 1 additions and 6 deletions

View File

@ -319,13 +319,8 @@ GstreamerPlayer :: open(const std::string fileUrl)
close();
}
GTimeVal time;
g_get_current_time(&time);
Ptr<gchar>::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;