+ if ( leaf_service == (mlt_service) -1 ) {
+ // Something on the way requested conversion to mlt_glsl,
+ // but never added an effect. Don't build a Movit chain;
+ // just do the conversion and we're done.
+ mlt_producer producer = mlt_producer_cut_parent( mlt_frame_get_original_producer( frame ) );
+ MltInput *input = GlslManager::get_input( producer, frame );
+ *image = GlslManager::get_input_pixel_pointer( producer, frame );
+ *format = input->get_format();
+ delete input;
+ GlslManager::get_instance()->unlock_service( frame );
+ return convert_on_cpu( frame, image, format, output_format );
+ }
+