<HTML>
<HEAD>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I’ve got a Gstreamer pipeline grabbing frames of raw video data several times faster than real-time (which is great !)<BR>
I’ve done this using something like:<BR>
<BR>
while( !gst_app_sink_is_eos( sink ))<BR>
{<BR>
buffer = gst_app_sink_pull_buffer( sink );<BR>
do_something_with_buffer(...);<BR>
}<BR>
<BR>
This works, but there is no error detection for events other than end of stream.<BR>
<BR>
If I were to use a GMainLoop/GMainContext approach instead, is there a Gstreamer event which would tell me every time a frame was ready to be processed ?<BR>
The GstMessageType documentation seems to hint that GST_MESSAGE_STEP_DONE will do this, but then says it’s not implemented yet...<BR>
<BR>
Is there a better way to do this ?<BR>
<BR>
Darren </SPAN></FONT>
</BODY>
<!--[object_id=#friendmts.co.uk#]--><FONT color=#0000ff>
<P align=left><FONT face=Tahoma color=#0000ff size=2><FONT size=3> </FONT></P>
<P align=left>*** FRIEND MTS LIMITED EMAIL CONFIDENTIALITY ***</FONT></P>
<P align=left><FONT color=#0000ff><FONT face=Tahoma size=2>This email message and any attachments may contain information which is confidential or privileged and is intended for the sole use of the person to whom it is addressed. If you are not the intended recipient, be aware that any disclosures, copying, distribution or use of the contents is prohibited. If you have received this email message in error, please notify our office by telephone (+44 (0)121 633 2000) or email (</FONT><A href="mailto:admin@friendmts.co.uk"><FONT face=Tahoma size=2>admin@friendmts.co.uk</FONT></A><FONT face=Tahoma size=2>) immediately. Thank you.</FONT></FONT></P></FONT></HTML>