Getting size size with playbin2

Brendan Long self at brendanlong.com
Tue Jun 11 15:05:48 PDT 2013


On 06/11/2013 04:01 PM, Nikos Chantziaras wrote:
> However, why am I receiving a paused state message over a dozen times
> when starting playback? Shouldn't the state change to paused just once
> when the pipeline is ready to play?
You're probably seeing state changes from all of the elements inside of
playbin. You can filter it out by checking GST_MESSAGE_SOURCE(message)
and comparing it to your playbin element:

GstElement* playbin = (something);
if (GST_MESSAGE_SRC(message) == playbin)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130611/0021739b/attachment.pgp>


More information about the gstreamer-devel mailing list