From e1d392788216dde16a9f83eae633cf9eccea54e2 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 21 Jan 2018 10:50:40 +0100 Subject: [PATCH] Fix video preview request - #7544 see also 2e9fcceb1e and 30b087ab3 --- gtk2_ardour/add_video_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/add_video_dialog.cc b/gtk2_ardour/add_video_dialog.cc index 22679755a5..2e092bb4da 100644 --- a/gtk2_ardour/add_video_dialog.cc +++ b/gtk2_ardour/add_video_dialog.cc @@ -693,7 +693,7 @@ AddVideoDialog::request_preview(std::string u) clip_yoff = (PREVIEW_HEIGHT - clip_height)/2; char url[2048]; - snprintf(url, sizeof(url), "%s%s?sample=%lli&w=%d&h=%di&file=%s&format=rgb" + snprintf(url, sizeof(url), "%s%s?frame=%lli&w=%d&h=%di&file=%s&format=rgb" , video_server_url.c_str() , (video_server_url.length()>0 && video_server_url.at(video_server_url.length()-1) == '/')?"":"/" , (long long) (video_duration * seek_slider.get_value() / 1000.0)