After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 352389 - Cannot link gnlfilesource and gnloperation
Cannot link gnlfilesource and gnloperation
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gnonlin
0.10.x
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
Edward Hervey
Depends on:
Blocks:
 
 
Reported: 2006-08-22 13:53 UTC by Jono Bacon
Modified: 2006-08-24 13:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Sample program to demonstrate the bug (5.06 KB, text/plain)
2006-08-22 13:57 UTC, Jono Bacon
Details
Glade file for the sample program (2.75 KB, application/xml)
2006-08-22 13:57 UTC, Jono Bacon
Details

Description Jono Bacon 2006-08-22 13:53:32 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
Comment 1 Jono Bacon 2006-08-22 13:57:01 UTC
Created attachment 71361 [details]
Sample program to demonstrate the bug
Comment 2 Jono Bacon 2006-08-22 13:57:52 UTC
Created attachment 71362 [details]
Glade file for the sample program
Comment 3 Edward Hervey 2006-08-24 13:01:23 UTC
Behaviour fixed in cvs.

2006-08-24  Edward Hervey  <edward@fluendo.com>

	* gnl/gnlcomposition.c: (gnl_composition_init),
	(gnl_composition_reset), (gnl_composition_event_handler),
	(no_more_pads_object_cb), (compare_relink_single_node),
	(compare_relink_stack), (update_pipeline):
	Only set ghostpad target and/or send seek event once all the objects of
	the stack are linked.
	Fixes #352389
	This is done through the use of comp->private->waitingpads.
	Simplified update_pipeline accordingly.
	Added more comments.