State changes to GST_STATE_NULL not being communicated.

Xabier Rodriguez Calvar xrcalvar at igalia.com
Tue Apr 2 00:41:32 PDT 2013


O Lun, 01-04-2013 ás 17:39 +0100, Tim-Philipp Müller escribiu:
> This is expected behaviour (both in 0.10 and 1.0).

> You can disable that behaviour via GstPipeline API
> (auto-flush-bus=false), but then you'll always have to make sure to
> pop
> all pending messages off the bus yourself.

I think you can also check the returned value of gst_element_set_state
and consider it committed when returning GST_STATE_CHANGE_SUCCESS. That
could be easier than handling the messages flushing yourself.

Best regards.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130402/99490f88/attachment.pgp>


More information about the gstreamer-devel mailing list