mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
dedicated namespace for video-utils
conflicting symbol prophylaxis
This commit is contained in:
parent
520b09e82a
commit
b5845ea458
9 changed files with 35 additions and 24 deletions
|
|
@ -42,6 +42,7 @@ using namespace Gtk;
|
|||
using namespace std;
|
||||
using namespace PBD;
|
||||
using namespace ARDOUR;
|
||||
using namespace VideoUtils;
|
||||
|
||||
#define PREVIEW_WIDTH (240)
|
||||
#define PREVIEW_HEIGHT (180)
|
||||
|
|
@ -482,7 +483,7 @@ AddVideoDialog::harvid_request(std::string u)
|
|||
|
||||
harvid_list->clear();
|
||||
|
||||
char *res = curl_http_get(url, &status);
|
||||
char *res = a3_curl_http_get(url, &status);
|
||||
if (status != 200) {
|
||||
printf("request failed\n"); // XXX
|
||||
harvid_path.set_text(" - request failed -");
|
||||
|
|
@ -662,7 +663,7 @@ AddVideoDialog::request_preview(std::string u)
|
|||
, (long long) (video_duration * seek_slider.get_value() / 1000.0)
|
||||
, clip_width, clip_height, u.c_str());
|
||||
|
||||
char *data = curl_http_get(url, NULL);
|
||||
char *data = a3_curl_http_get(url, NULL);
|
||||
if (!data) {
|
||||
printf("image preview request failed %s\n", url);
|
||||
imgbuf->fill(RGBA_TO_UINT(0,0,0,255));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue