<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bgcolor="#FFFFFF" text="#000000">
Using GStreamer 1.4.5 on Windows, and trying to extract the current
frame as an image, without success.<br>
My pipeline contains playbin as the only element, and it works fine
for playing & pausing, but convert-frame fails.<br>
<br>
My code is based on several examples I found and is similar to this:<br>
<br>
<tt>GstCaps *caps = gst_caps_from_string("image/png");</tt><tt><br>
</tt><tt>GstSample *sample = 0;</tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt>gst_element_set_state(pipeline, GST_STATE_PAUSED);</tt><tt><br>
</tt><tt>gst_element_get_state(pipeline, NULL, NULL,
GST_CLOCK_TIME_NONE);</tt><tt><br>
</tt><tt><br>
g_signal_emit_by_name(pipeline, "convert-frame", caps,
&sample, NULL);</tt><tt><br>
</tt><br>
I get the error :<br>
<br>
<tt>GLib-GObject-WARNING **: gsignal.c:3408: signal name
'convert-frame' is invalid for instance '086CD928' of type
'GstPipeline'</tt><br>
<br>
I get the same error when emitting the "convert-frame" signal to
playbin and also to its video-sink.<br>
<br>
Why is the "convert-frame" signal invalid ? To which element would
it be valid ?<br>
<br>
</body>
</html>