projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correctly (?) indicate muted status of audio regions
[ardour.git]
/
gtk2_ardour
/
video_image_frame.cc
diff --git
a/gtk2_ardour/video_image_frame.cc
b/gtk2_ardour/video_image_frame.cc
index e5cd197782e38bb5c1d92514de57a53923e96dd7..ebcb9e6f96c8b9aabc52806b18b20075b404cdfe 100644
(file)
--- a/
gtk2_ardour/video_image_frame.cc
+++ b/
gtk2_ardour/video_image_frame.cc
@@
-211,7
+211,7
@@
http_get_thread (void *arg) {
char *res = NULL;
do {
res=a3_curl_http_get(url, &status);
char *res = NULL;
do {
res=a3_curl_http_get(url, &status);
- if (status == 503) usleep(5000); // try-again
+ if (status == 503)
Glib::
usleep(5000); // try-again
} while (status == 503 && --timeout > 0);
if (status != 200 || !res) {
} while (status == 503 && --timeout > 0);
if (status != 200 || !res) {
@@
-250,8
+250,8
@@
VideoImageFrame::http_download_done (char *data){
}
exposeimg();
}
exposeimg();
- /* don't request frames
rapid
ly, wait after user has zoomed */
-
usleep(2
0000);
+ /* don't request frames
too quick
ly, wait after user has zoomed */
+
Glib::usleep(4
0000);
if (queued_request) {
http_get_again(want_video_frame_number);
if (queued_request) {
http_get_again(want_video_frame_number);