projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c833b56
)
Fix video preview request - #7544
author
Robin Gareus
<robin@gareus.org>
Sun, 21 Jan 2018 09:50:40 +0000
(10:50 +0100)
committer
Robin 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
patch
|
blob
|
history
diff --git
a/gtk2_ardour/add_video_dialog.cc
b/gtk2_ardour/add_video_dialog.cc
index 22679755a52f36a864ed25f08deb3451f337dd74..2e092bb4da90161b720a89060e1ef49d81913214 100644
(file)
--- 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?
sampl
e=%lli&w=%d&h=%di&file=%s&format=rgb"
+ snprintf(url, sizeof(url), "%s%s?
fram
e=%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)