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 93218 - Warning printed when changing the state of a pipeline that doesn't have all it's pads connected
Warning printed when changing the state of a pipeline that doesn't have all i...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-13 13:14 UTC by Iain
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check if peer pad is null before casting it (615 bytes, patch)
2002-09-13 13:14 UTC, Iain
none Details | Review
I'd rather see the patch this way: (594 bytes, patch)
2002-09-13 13:23 UTC, Ronald Bultje
none Details | Review

Description Iain 2002-09-13 13:14:10 UTC
When you change the state of a pipeline which doesn't have all it's pads
connected, a warning is dumped to the terminal.

The case where this can happen is when a pad is newly created, and you
pause the pipeline in the new-pad callback.

Attached patch fixes it by checking if the peer pad is NULL.
Comment 1 Iain 2002-09-13 13:14:39 UTC
Created attachment 11062 [details] [review]
Check if peer pad is null before casting it
Comment 2 Ronald Bultje 2002-09-13 13:23:52 UTC
Created attachment 11063 [details] [review]
I'd rather see the patch this way:
Comment 3 Christian Fredrik Kalager Schaller 2002-09-13 13:32:33 UTC
Ronald commited patch. closing bug.