summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-21 10:50:40 +0100
committerRobin Gareus <robin@gareus.org>2018-01-21 10:53:12 +0100
commite1d392788216dde16a9f83eae633cf9eccea54e2 (patch)
treebe3f1b934d4da483da22f0b914c4892ed58b43ed
parentc833b560296084f5887e3c37607cd5a14580be05 (diff)
Fix video preview request - #7544
see also 2e9fcceb1e and 30b087ab3
-rw-r--r--gtk2_ardour/add_video_dialog.cc2
1 files changed, 1 insertions, 1 deletions
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)