GNOME Bugzilla – Bug 352389
Cannot link gnlfilesource and gnloperation
Last modified: 2006-08-24 13:01:23 UTC
The attached sample program uses a gnloperation. Inside the operation is a bin with the following: audioconver ! ladspa-delay-5s ! audioconvert. Although I use a ladspa-delay-5s here, feel free to replace it with a 'volume' element and the same problem occurs. You can change this on line 39 of the sample program.
I have made sure to set the priorities correctly of the gnlfilesource and gnloperation, and made sure the bin inside the operation has ghost pads, but I get the following problem when I change the state to PLAYING:
0:00:02.843920000 25574 0x81b0df0 ERROR gnlcomposition gnlcomposition.c:1218:compare_relink_single_node:<mycomposition1> Couldn't link gnlfilesource1 to gnloperation1
Created attachment 71361 [details]
Sample program to demonstrate the bug
Created attachment 71362 [details]
Glade file for the sample program
Behaviour fixed in cvs.
2006-08-24 Edward Hervey <firstname.lastname@example.org>
* gnl/gnlcomposition.c: (gnl_composition_init),
Only set ghostpad target and/or send seek event once all the objects of
the stack are linked.
This is done through the use of comp->private->waitingpads.
Simplified update_pipeline accordingly.
Added more comments.