diff options
author | Dave Robillard <dave@drobilla.net> | 2009-05-25 20:43:10 -0400 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-25 20:43:10 -0400 |
commit | f1fd80ff45bcfcf816868c88105abf1b2e4e8fd7 (patch) | |
tree | a2f82fb4e25e22a87db0d5bfe7ed882b374c2528 /ext | |
parent | 65f60e7c7426f8de2d4cdebac985d20526975465 (diff) | |
download | gst-plugins-bad-f1fd80ff45bcfcf816868c88105abf1b2e4e8fd7.tar.gz gst-plugins-bad-f1fd80ff45bcfcf816868c88105abf1b2e4e8fd7.tar.bz2 gst-plugins-bad-f1fd80ff45bcfcf816868c88105abf1b2e4e8fd7.zip |
Set class inPlaceBroken property.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/lv2/gstlv2.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/lv2/gstlv2.c b/ext/lv2/gstlv2.c index 5d05f603..798d308a 100644 --- a/ext/lv2/gstlv2.c +++ b/ext/lv2/gstlv2.c @@ -177,8 +177,11 @@ gst_lv2_base_init (gpointer g_class) g_assert (control_in_count == gsp_class->num_control_in); g_assert (control_out_count == gsp_class->num_control_out); - /*if (!LV2_IS_INPLACE_BROKEN (desc->Properties)) - GST_SIGNAL_PROCESSOR_CLASS_SET_CAN_PROCESS_IN_PLACE (klass); */ + val = slv2_value_new_uri (world, + "http://lv2plug.in/ns/lv2core#inPlaceBroken"); + if (!slv2_plugin_has_feature (lv2plugin, val)) + GST_SIGNAL_PROCESSOR_CLASS_SET_CAN_PROCESS_IN_PLACE (klass); + slv2_value_free (val); klass->plugin = lv2plugin; } |