Custom element : could not send sticky events

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom element : could not send sticky events

adrien_sch
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Custom element : could not send sticky events

adrien_sch
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Custom element : could not send sticky events

adrien_sch
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Custom element : could not send sticky events

Sebastian Dröge-3
On Di, 2014-05-06 at 05:01 -0700, adrien_sch wrote:

> This is a part of the gst trace :
>
> 0:00:00.105010268  5737      0x26548f0 DEBUG          basetransform
> gstbasetransform.c:741:gst_base_transform_query_caps:<videoconvert0:sink>
> our template  video/x-raw, format=$
> 0:00:00.105081606  5737      0x26548f0 DEBUG          basetransform
> gstbasetransform.c:744:gst_base_transform_query_caps:<videoconvert0:sink>
> intersected video/x-raw, height=(i$
> 0:00:00.105102157  5737      0x26548f0 DEBUG          basetransform
> gstbasetransform.c:768:gst_base_transform_query_caps:<videoconvert0>
> returning  video/x-raw, height=(int)50,$
> 0:00:00.105116935  5737      0x26548f0 DEBUG               GST_PADS
> gstpad.c:3516:gst_pad_query:<videoconvert0:sink> sent query 0x2654b70
> (caps), result 1
> 0:00:00.105125936  5737      0x26548f0 DEBUG               GST_CAPS
> gstutils.c:2768:gst_pad_query_caps:<videoconvert0:sink> query returned
> video/x-raw, height=(int)50, width=(i$
> 0:00:00.105138896  5737      0x26548f0 DEBUG          basetransform
> gstbasetransform.c:1268:gst_base_transform_acceptcaps_default:<videoconvert0>
> allowed caps video/x-raw, heig$
> $sform video/x-raw, height=(int)50, width=(int)50, format=(string)BGRx,
> framerate=(fraction)25/1 in anything we support
> 0:00:00.105164184  5737      0x26548f0 DEBUG               GST_PADS
> gstpad.c:3516:gst_pad_query:<videoconvert0:sink> sent query 0x2654b20
> (accept-caps), result 1
> 0:00:00.105172553  5737      0x26548f0 DEBUG                default
> gstutils.c:2849:gst_pad_query_accept_caps:<videoconvert0:sink> query
> returned 0
>
>
> It's probably obvious for someone, but I doesn't understand why the
> videoconvert element doesn't accept my caps.
The log is either corrupted or you dropped some parts when copying it
into the mail. The lines are incomplete and not including the
interesting parts of the caps :)

But it would also be useful to know what kind of element you're writing
(a source element?) and what it is supposed to do and why, and what base
class it is using. Sending buffers and stream-start event and other
things only in PAUSED->PLAYING is a bit late though unless you're
writing a live source. And in any case, if somehow possible you should
use GstBaseSrc as base class for sources as a lot of the complicated
things are handled in there already.

--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (985 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Custom element : could not send sticky events

adrien_sch
CONTENTS DELETED
The author has deleted this message.