mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Merge branch 'develop' of github.com:mapmapteam/mapmap into develop
This commit is contained in:
@@ -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 << ".";
|
||||
|
||||
Reference in New Issue
Block a user