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 435215 - Failures with simple GNonLin player
Failures with simple GNonLin player
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gnonlin
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
Edward Hervey
Depends on:
Blocks:
 
 
Reported: 2007-05-02 15:41 UTC by Michael Smith
Modified: 2007-05-02 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple player (2.52 KB, text/plain)
2007-05-02 15:43 UTC, Michael Smith
Details

Description Michael Smith 2007-05-02 15:41:33 UTC
The to-be-attached simple python player is supposed to:
  - play a segment of a file (specified on the command line) for 5 seconds
  - play videotestsrc for 5 seconds
  - play a different segment of the file for 15 seconds
  - play videotestsrc forever

It works now, but only with two changes that shouldn't have been needed:
  - the sink must have qos disabled. 
  - setting priority to a value of > 2^31 doesn't work (it's treated as a very high priority instead of a very low one).
Comment 1 Michael Smith 2007-05-02 15:43:08 UTC
Created attachment 87394 [details]
Simple player
Comment 2 Edward Hervey 2007-05-02 17:03:46 UTC
The QOS issue is already filed in fact (#398453).

As for the large priority issue, it's now fixed in cvs:

2007-05-02  Edward Hervey  <edward@fluendo.com>

	* gnl/gnlobject.h:
	priority is a guint32 !
	* gnl/gnlcomposition.c: (priority_comp), (objects_start_compare),
	(objects_stop_compare), (object_start_changed),
	(object_stop_changed), (object_priority_changed),
	(object_active_changed):
	Fix major stupidity in GCompareFunc, the difference between 2 guint32
	is not guaranteed to be correct within a gint :)
	Fixes #435215