[gstreamer-bugs] [Bug 589622] New: Cannot use both playbin and playbin2

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jul 24 08:56:52 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=589622

  GStreamer | gst-python | Ver: 0.10.23
           Summary: Cannot use both playbin and playbin2
           Product: GStreamer
           Version: 0.10.23
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: olivier.aubert at liris.cnrs.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.25/2.26
   GNOME milestone: Unspecified


The following simple program exhibits an incompatibility between playbin and
playbin2 :
----
#! /usr/bin/python

import gst
import gtk

uri='file:///media/video/Bataille.avi'

p1=gst.parse_launch('playbin uri=%s' % uri)
p1.set_state(gst.STATE_PAUSED)

p2=gst.parse_launch('playbin2 uri=%s' % uri)
p2.set_state(gst.STATE_PAUSED)

gtk.main()
----

It crashes with the following error/warning messages :

/home/oaubert/lang/python/bug.py:14: Warning: cannot register existing type
`GstSelectorPad'
  gtk.main()
/home/oaubert/lang/python/bug.py:14: Warning: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed
  gtk.main()
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_event_function: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_getcaps_function: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_chain_function: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_internal_link_function:
assertion `GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_bufferalloc_function:
assertion `GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_active: assertion `GST_IS_PAD
(pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_element_add_pad: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_event_function: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_getcaps_function: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_chain_function: assertion
`GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_internal_link_function:
assertion `GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_bufferalloc_function:
assertion `GST_IS_PAD (pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_pad_set_active: assertion `GST_IS_PAD
(pad)' failed
(bug.py:1413): GStreamer-CRITICAL **: gst_element_add_pad: assertion
`GST_IS_PAD (pad)' failed

---

This looks like an error in
gst-plugins-base/gst/playback/gststreamselector.c:gst_selector_pad_get_type,
but it is typical code so I do not know what leads to this.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=589622.




More information about the Gstreamer-bugs mailing list