<div dir="ltr">I found my mistake, it was as you said in the caps log.<div><br></div><div>The caps negocation failed because of the caps property pixel-aspect-ratio who wasn't shared by the two caps....</div><div><br></div>
<div>Thx for your response, and concerning your suggestion of using GstBaseSrc, in my case, it's impossible because it's a filter who transform multiple sink (on request). </div><div><br></div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 8:26 PM, Sebastian Dröge-3 [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4666788&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
On Di, 2014-05-06 at 05:01 -0700, adrien_sch wrote:
<div><div><div class='shrinkable-quote'><br>> This is a part of the gst trace :
<br>>
<br>> 0:00:00.105010268 5737 0x26548f0 DEBUG basetransform
<br>> gstbasetransform.c:741:gst_base_transform_query_caps:<videoconvert0:sink>
<br>> our template video/x-raw, format=$
<br>> 0:00:00.105081606 5737 0x26548f0 DEBUG basetransform
<br>> gstbasetransform.c:744:gst_base_transform_query_caps:<videoconvert0:sink>
<br>> intersected video/x-raw, height=(i$
<br>> 0:00:00.105102157 5737 0x26548f0 DEBUG basetransform
<br>> gstbasetransform.c:768:gst_base_transform_query_caps:<videoconvert0>
<br>> returning video/x-raw, height=(int)50,$
<br>> 0:00:00.105116935 5737 0x26548f0 DEBUG GST_PADS
<br>> gstpad.c:3516:gst_pad_query:<videoconvert0:sink> sent query 0x2654b70
<br>> (caps), result 1
<br>> 0:00:00.105125936 5737 0x26548f0 DEBUG GST_CAPS
<br>> gstutils.c:2768:gst_pad_query_caps:<videoconvert0:sink> query returned
<br>> video/x-raw, height=(int)50, width=(i$
<br>> 0:00:00.105138896 5737 0x26548f0 DEBUG basetransform
<br>> gstbasetransform.c:1268:gst_base_transform_acceptcaps_default:<videoconvert0>
<br>> allowed caps video/x-raw, heig$
<br>> $sform video/x-raw, height=(int)50, width=(int)50, format=(string)BGRx,
<br>> framerate=(fraction)25/1 in anything we support
<br>> 0:00:00.105164184 5737 0x26548f0 DEBUG GST_PADS
<br>> gstpad.c:3516:gst_pad_query:<videoconvert0:sink> sent query 0x2654b20
<br>> (accept-caps), result 1
<br>> 0:00:00.105172553 5737 0x26548f0 DEBUG default
<br>> gstutils.c:2849:gst_pad_query_accept_caps:<videoconvert0:sink> query
<br>> returned 0
<br>>
<br>>
<br>> It's probably obvious for someone, but I doesn't understand why the
<br>> videoconvert element doesn't accept my caps.
</div></div>The log is either corrupted or you dropped some parts when copying it
</div>into the mail. The lines are incomplete and not including the
<br>interesting parts of the caps :)
<br><br>But it would also be useful to know what kind of element you're writing
<br>(a source element?) and what it is supposed to do and why, and what base
<br>class it is using. Sending buffers and stream-start event and other
<br>things only in PAUSED->PLAYING is a bit late though unless you're
<br>writing a live source. And in any case, if somehow possible you should
<br>use GstBaseSrc as base class for sources as a lot of the complicated
<br>things are handled in there already.
<br><br>--
<br>Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" rel="nofollow" link="external" target="_blank">http://www.centricular.com</a><br>Expertise, Straight from the Source
<br><br></div></div>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4666786&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><div><br><img src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif"> <strong>signature.asc</strong> (985 bytes) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4666786/0/signature.asc" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/Custom-element-could-not-send-sticky-events-tp4666741p4666786.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Custom-element-could-not-send-sticky-events-tp4666741p4666786.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Custom element : could not send sticky events, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div><br></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Custom-element-could-not-send-sticky-events-tp4666741p4666788.html">Re: Custom element : could not send sticky events</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>