<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
text="#000000">
On 12/30/2012 05:33 PM, Tal Liron wrote:<br>
<blockquote cite="mid:50E0CF49.9080409@gmail.com" type="cite">Is my
workaround correct? Is the event struct stored in the data field?
<br>
</blockquote>
Ah, just answered my own question by looking at the patch: the
answer is that my workaround is not a good idea, because it doesn't
check for the info type.<br>
<br>
Here's what I did instead:<br>
<br>
extern Event* gst_pad_probe_info_get_event(PadProbeInfo* info);<br>
<br>
I can then call:<br>
<br>
var e = gst_pad_probe_info_get_event(&info);<br>
if ((e != null) && (e->type == EventType.EOS)) { ...<br>
<br>
</body>
</html>