]> git.sesse.net Git - mlt/blobdiff - src/modules/jackrack/plugin_desc.c
Add ladspa producer
[mlt] / src / modules / jackrack / plugin_desc.c
index 0baa5835e247dfa75a1069450ec73740541e893a..88512ccaec6b874b8c57a37140358407e8760492 100644 (file)
@@ -69,6 +69,7 @@ plugin_desc_init (plugin_desc_t * pd)
   pd->control_port_indicies = NULL;
   pd->aux_channels = 0;
   pd->aux_are_input = TRUE;
+  pd->has_input = TRUE;
 }
 
 static void
@@ -220,6 +221,11 @@ plugin_desc_set_port_counts (plugin_desc_t * pd)
   
   if (icount == ocount)
     pd->channels = icount;
+  else if( icount == 0 )
+    {
+      pd->channels = ocount;
+      pd->has_input = FALSE;
+    }
   else
     { /* deal with auxilliary ports */
       unsigned long ** port_indicies;