[gst-devel] Why can't I send new-segment event?

Sandeep Prakash 123sandy at gmail.com
Thu Jul 1 07:22:09 CEST 2010

wl2776 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.

One more thing about the new-segment events is that it can't be sent from
outside the
streaming thread. Here is the explanation from the design doc:
       "The NEWSEGMENT event should be sent from the streaming thread and
should be
serialized with the buffers."

Plz refer:
for more information abt events.

Sandeep Prakash

View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Why-can-t-I-send-new-segment-event-tp2268174p2274619.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list