Fix video preview request - #7544
authorRobin Gareus <robin@gareus.org>
Sun, 21 Jan 2018 09:50:40 +0000 (10:50 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 21 Jan 2018 09:53:12 +0000 (10:53 +0100)
see also 2e9fcceb1e and 30b087ab3

gtk2_ardour/add_video_dialog.cc

index 22679755a52f36a864ed25f08deb3451f337dd74..2e092bb4da90161b720a89060e1ef49d81913214 100644 (file)
@@ -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)