diff options
author | Robin Gareus <robin@gareus.org> | 2014-04-19 02:03:43 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-04-19 02:03:43 +0200 |
commit | 4fd1a5edd57e9f0422c140986668d1fccba4bc82 (patch) | |
tree | 2477563bbdfa88cd5c0b98cd1b9f84d27b0f39bf /gtk2_ardour/video_timeline.cc | |
parent | ce72458d0934c009cc716b5b3171178c34df2152 (diff) |
videotimeline: path related fixes for windows
Diffstat (limited to 'gtk2_ardour/video_timeline.cc')
-rw-r--r-- | gtk2_ardour/video_timeline.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/video_timeline.cc b/gtk2_ardour/video_timeline.cc index ca1da8d693..0a90d80978 100644 --- a/gtk2_ardour/video_timeline.cc +++ b/gtk2_ardour/video_timeline.cc @@ -452,7 +452,8 @@ VideoTimeLine::video_file_info (std::string filename, bool local) { local_file = local; - if (filename.at(0) == G_DIR_SEPARATOR || !local_file) { + if (Glib::path_is_absolute(filename) || !local_file) + { video_filename = filename; } else { video_filename = Glib::build_filename (_session->session_directory().video_path(), filename); |