vtl: workaround xjadeo <= 0.6.4 issue

This commit is contained in:
Robin Gareus 2013-03-29 12:35:21 +01:00
parent daec8e44d5
commit 8cd3dd2061
1 changed files with 8 additions and 0 deletions

View File

@ -532,8 +532,16 @@ VideoTimeLine::video_file_info (std::string filename, bool local)
if (found_xjadeo() && local_file) {
GuiUpdate("set-xjadeo-sensitive-on");
if (vmonitor && vmonitor->is_started()) {
#if 1
/* xjadeo <= 0.6.4 has a bug where changing the video-file may segfauls
* if the geometry changes to a different line-size alignment
*/
reopen_vmonitor = true;
vmonitor->quit();
#else
vmonitor->set_fps(video_file_fps);
vmonitor->open(video_filename);
#endif
}
} else if (!local_file) {
#if 1 /* temp debug/devel message */