summaryrefslogtreecommitdiff
path: root/gtk2_ardour/video_image_frame.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-18 16:10:35 +0200
committerRobin Gareus <robin@gareus.org>2016-07-18 16:46:59 +0200
commite9a2eea8678708620d80d14290d234b29472044d (patch)
treea13d30aed70e82c2d9cb36185257a7a33157f569 /gtk2_ardour/video_image_frame.cc
parent004b57e9f67c6b818357759005c8e53b041dead4 (diff)
remove old a3_curl API and switch some curl calls
Keep freesound-moocher as is until freesound-apiv2 branch is merged or rebased.
Diffstat (limited to 'gtk2_ardour/video_image_frame.cc')
-rw-r--r--gtk2_ardour/video_image_frame.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/gtk2_ardour/video_image_frame.cc b/gtk2_ardour/video_image_frame.cc
index 7480468cc7..093f235107 100644
--- a/gtk2_ardour/video_image_frame.cc
+++ b/gtk2_ardour/video_image_frame.cc
@@ -20,14 +20,16 @@
#include <sigc++/bind.h>
#include "ardour/tempo.h"
-#include "video_image_frame.h"
-#include "public_editor.h"
-#include "canvas/container.h"
-#include "utils_videotl.h"
-
#include <gtkmm2ext/utils.h>
#include <pthread.h>
+#include "canvas/container.h"
+
+#include "ardour_http.h"
+#include "public_editor.h"
+#include "utils_videotl.h"
+#include "video_image_frame.h"
+
#include "pbd/i18n.h"
using namespace std;
@@ -208,7 +210,7 @@ http_get_thread (void *arg) {
int timeout = 1000; // * 5ms -> 5sec
char *res = NULL;
do {
- res=a3_curl_http_get(url, &status);
+ res = ArdourCurl::http_get (url, &status);
if (status == 503) Glib::usleep(5000); // try-again
} while (status == 503 && --timeout > 0);