[gst-devel] Using playbin2

Michael Smith msmith at xiph.org
Mon Jun 15 03:39:18 CEST 2009


On Sun, Jun 14, 2009 at 4:10 PM, Jeffrey
Barish<jeff_barish at earthlink.net> wrote:
> Jeffrey Barish wrote:
>
>> My code works fine with playbin.  When I change to playbin2 (by changing
>> the parameter in the element_factory_make call), the code no longer plays
>> and I
>> get error messages on the bus.  The error message is
>>
>> <GstGError at 0x8ecc390>, 'gstplaybin2.c(1783): pad_added_cb
>> (): /GstPlayBin2:player'
>>
>> Can someone tell me what this error message means?  Is there something
>> that I am supposed to do to use playbin2 that I do not need to do with
>> playbin?
>>
>> This problem occurs with version 0.10.22.
>
> Even though playbin2 is in base plugins, I eliminated this error by
> installing gstreamer0.10-plugins-bad, which provides input-selector.
> However, now GStreamer is terminating with a segmentation fault.

Yeah, older versions of playbin2 required input-selector, which is in
-bad. Newer versions make it optional; it'll be moved to -base before
playbin2 is officially declared 'stable'.

As for the crash - well, you'll have to tell us where it's crashing
for us to be able to help you. However, I'd strongly suggest upgrading
to the current version first, if you can.

Mike




More information about the gstreamer-devel mailing list