fix re-drawing of splitting icon
[ardour.git] / gtk2_ardour / video_timeline.cc
index bf527914ba7fd2c289b3e24e18eb89fcf0f9e477..8f68174997d494aedf95bfc1ee14ea1d4a33613d 100644 (file)
@@ -124,6 +124,7 @@ VideoTimeLine::close_session ()
        video_filename = "";
        video_duration = 0;
        GuiUpdate("set-xjadeo-sensitive-off");
+       GuiUpdate("video-unavailable");
 }
 
 void
@@ -465,6 +466,8 @@ VideoTimeLine::video_file_info (std::string filename, bool local)
                        video_server_url, translated_filename(),
                        video_file_fps, _duration, _start_offset, video_aspect_ratio)) {
                warning << _("Parsing video file info failed. Is the Video Server running? Is the file readable by the Video Server? Does the docroot match? Is it a video file?") << endmsg;
+               video_duration = 0;
+               GuiUpdate("set-xjadeo-sensitive-off");
                GuiUpdate("video-unavailable");
                return false;
        }