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 362399 - Default sources broken
Default sources broken
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gnonlin
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
Edward Hervey
Depends on:
Blocks:
 
 
Reported: 2006-10-15 15:34 UTC by Jono Bacon
Modified: 2006-11-02 12:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Test script (3.21 KB, text/plain)
2006-10-15 15:35 UTC, Jono Bacon
Details
glade file for use with test script (3.29 KB, application/xml)
2006-10-15 15:36 UTC, Jono Bacon
Details

Description Jono Bacon 2006-10-15 15:34:14 UTC
In a recent Gnonlin CVS default sources seem to be broken. I have attached a sample script with a default source and two gnlfilesources - the first one plays, but the gap between the filesources (default source) does not play and the second source does not play.
Comment 1 Jono Bacon 2006-10-15 15:35:13 UTC
Created attachment 74758 [details]
Test script
Comment 2 Jono Bacon 2006-10-15 15:36:02 UTC
Created attachment 74759 [details]
glade file for use with test script
Comment 3 Edward Hervey 2006-11-02 10:19:58 UTC
works fine here. Can you try again with latest core/-base/gnonlin ?
Comment 4 Edward Hervey 2006-11-02 12:00:45 UTC
In fact, the given test wasn't enough. It was missing the fact that there was an operation above the two sources.
The issue was that the calculation of the next stop wasn't taking into account the default source.

Now fixed in cvs along with unit test.

2006-11-02  Edward Hervey  <edward@fluendo.com>

	* gnl/gnlcomposition.c: (convert_list_to_tree):
	Take into account the priority of default sources when calculating the
	highest priority. This fixes #362399
	* tests/check/gnloperation.c: (GST_START_TEST), (gnonlin_suite):
	Unit test for fixed behaviour.