(libs) call ARDOUR::init_post_engine() from within libardour rather than requiring...
[ardour.git] / gtk2_ardour / add_video_dialog.cc
index 2e092bb4da90161b720a89060e1ef49d81913214..6a9454442225466b934bcbfc8e6e765cf0045272 100644 (file)
@@ -114,6 +114,7 @@ AddVideoDialog::AddVideoDialog (Session* s)
 
        /* file chooser */
        chooser.set_border_width (4);
+       Gtkmm2ext::add_volume_shortcuts (chooser);
 #ifdef __APPLE__
        /* some broken redraw behaviour - this is a bandaid */
        chooser.signal_selection_changed().connect (mem_fun (chooser, &Widget::queue_draw));
@@ -519,7 +520,7 @@ AddVideoDialog::harvid_request(std::string u)
 
        harvid_list->clear();
 
-       char* res = ArdourCurl::http_get (url, &status);
+       char* res = ArdourCurl::http_get (url, &status, false);
        if (status != 200) {
                printf("request failed\n"); // XXX
                harvid_path.set_text(" - request failed -");
@@ -699,7 +700,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 = ArdourCurl::http_get (url, NULL);
+       char* data = ArdourCurl::http_get (url, NULL, false);
        if (!data) {
                printf("image preview request failed %s\n", url);
                imgbuf->fill(RGBA_TO_UINT(0,0,0,255));