Fixed issues with video corruption when playing multiple video instances at the same time. Old videos should be stopped first before starting a new one.

This commit is contained in:
Pieter Hulshoff 2016-08-25 13:42:17 +02:00
parent 521035b9f7
commit 87948b66b5
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "7";
std::string retrofe_version_build = "4";
std::string retrofe_version_build = "5";
std::string Version::getString()

View File

@ -199,6 +199,8 @@ bool GStreamerVideo::play(std::string file)
return false;
}
stop();
currentFile_ = file;
const gchar *uriFile = gst_filename_to_uri (file.c_str(), NULL);