mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 17:58:53 +01:00
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:
parent
521035b9f7
commit
87948b66b5
@ -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()
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user