Merge branch 'develop' of github.com:mapmapteam/mapmap into develop

This commit is contained in:
Tats
2014-10-16 21:47:31 +00:00
4 changed files with 18 additions and 2 deletions
+6
View File
@@ -246,6 +246,12 @@ gstPollShmsrc (void *user_data)
bool MediaImpl::loadMovie(QString filename)
{
gchar* filetestpath = (gchar*) filename.toUtf8().constData();
if (FALSE == g_file_test(filetestpath, G_FILE_TEST_EXISTS))
{
std::cout << "File " << filetestpath << " does not exist" << std::endl;
return false;
}
_uri = filename;
qDebug() << "Opening movie: " << filename << ".";