[gst-devel] Why can't I send new-segment event?
Michael Smith
msmith at xiph.org
Fri Jun 25 17:38:24 CEST 2010
On Fri, Jun 25, 2010 at 2:02 AM, wl2776 <wl2776 at gmail.com> wrote:
>
> Playbin2 doesn't accept new-segment events.
>
> gst_element_send_event(
> GST_ELEMENT(m_player),
> gst_event_new_new_segment( blah-blah-blah)
> )
>
> always returns false.
>
> m_player is the instance of playbin2, loaded a MPEG2-PS file.
Of course. playbin2 has no pads, so sending an event to it can't work.
There wouldn't be any meaningful semantics from doing this anyway.
Whatever you're really trying to do; this is certainly completely the
wrong approach.
Mike
More information about the gstreamer-devel
mailing list