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 602153 - gstglmixer prints warnings when it has no parent
gstglmixer prints warnings when it has no parent
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
git master
Other Linux
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 617725 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-17 02:15 UTC by Jan Schmidt
Modified: 2010-05-11 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Schmidt 2009-11-17 02:15:45 UTC
When instantiated without a parent bin, the gstglmixer element prints assertion warnings:

  • #0 g_log
    from /lib/libglib-2.0.so.0
  • #1 g_return_if_fail_warning
    from /lib/libglib-2.0.so.0
  • #2 gst_element_query
    at gstelement.c line 1607
  • #3 gst_gl_mixer_change_state
    at gstglmixer.c line 1224
  • #4 gst_element_change_state
    at gstelement.c line 2548

Comment 1 Julien Isorce 2009-12-07 22:52:44 UTC
gstglmixer cannot be instancied directly (as gstglfilter)
How can I reproduce it exactly ?
Comment 2 Jan Schmidt 2009-12-07 23:24:02 UTC
In my case, I just ran 'make check' - the standard 'states' test creates an instance of every element in the module (with no parent) and then sets it to PLAYING then back to NULL.

An element which can't work in that scenario should throw an element error and fail the state change instead of printing assertions.
Comment 3 Julien Isorce 2010-05-05 08:44:43 UTC
*** Bug 617725 has been marked as a duplicate of this bug. ***
Comment 4 Julien Isorce 2010-05-05 09:26:19 UTC
commit b7180ebaf6856d96643dd3a94153e9db637ba06e
Author: Julien Isorce <julien.isorce@gmail.com>
Date:   Wed May 5 11:21:31 2010 +0200

    glfilter/glmixer/gltestsrc/glupload: throw an element error if no parent bin

    Fixes bug #602153