Warning: got 'segment' before 'caps'

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

Warning: got 'segment' before 'caps'

Tim Janik
Hello,

In a video display application (on ARM, IMX6 chipset),
i'm seeing the following warnings when the video stream starts:

GStreamer-WARNING **: ../../gstreamer-1.8.1/gst/gstpad.c:5052:store_sticky_event:<rtpjpegdepay0:src> Sticky event misordering, got 'segment' before 'caps'

GStreamer-WARNING **: ../../gstreamer-1.8.1/gst/gstpad.c:5052:store_sticky_event:<jpegparse0:sink> Sticky event misordering, got 'segment' before 'caps'


The pipeline in use is fairly straight forward:

udpsrc port=50006 caps=application/x-rtp ! rtpjpegdepay ! jpegparse ! imxvpudec ! identity name=bufferpoint ! imxg2dvideosink name=vsink sync=0 force-aspect-ratio=false


I'd appreciate any hints towards:

a) possible causes for these warnings,

b) suggestions how to avoid them.

--
Yours sincerely,
Tim Janik

https://testbit.eu/timj/
Free software author.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Warning: got 'segment' before 'caps'

Sebastian Dröge-3
On Tue, 2018-03-13 at 16:26 +0100, Tim Janik wrote:

> Hello,
>
> In a video display application (on ARM, IMX6 chipset),
> i'm seeing the following warnings when the video stream starts:
>
> GStreamer-WARNING **: ../../gstreamer-
> 1.8.1/gst/gstpad.c:5052:store_sticky_event:<rtpjpegdepay0:src> Sticky
> event misordering, got 'segment' before 'caps'
>
> GStreamer-WARNING **: ../../gstreamer-
> 1.8.1/gst/gstpad.c:5052:store_sticky_event:<jpegparse0:sink> Sticky
> event misordering, got 'segment' before 'caps'
>
>
> The pipeline in use is fairly straight forward:
>
> udpsrc port=50006 caps=application/x-rtp ! rtpjpegdepay ! jpegparse !
> imxvpudec ! identity name=bufferpoint ! imxg2dvideosink name=vsink
> sync=0 force-aspect-ratio=false
>
>
> I'd appreciate any hints towards:
>
> a) possible causes for these warnings,
>
> b) suggestions how to avoid them.
You'll have to find the first element that produces these warnings, so
in your case that's most likely rtpjpegdepay. The problem is most
likely fixed already in newer versions than 1.8, there will be either a
commit in gst-plugins-base for GstRtpBaseDepayload or for the JPEG
depayloader itself.

--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

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

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

Re: Warning: got 'segment' before 'caps'

Tim Müller
In reply to this post by Tim Janik
On Tue, 2018-03-13 at 16:26 +0100, Tim Janik wrote:

Hi Tim,

> In a video display application (on ARM, IMX6 chipset),
> i'm seeing the following warnings when the video stream starts:
>
> GStreamer-WARNING **: ../../gstreamer-
> 1.8.1/gst/gstpad.c:5052:store_sticky_event:<rtpjpegdepay0:src> Sticky
> event misordering, got 'segment' before 'caps'
>  (..)
> The pipeline in use is fairly straight forward:
>
> udpsrc port=50006 caps=application/x-rtp ! rtpjpegdepay ! jpegparse !
> imxvpudec ! identity name=bufferpoint ! imxg2dvideosink name=vsink
> sync=0 force-aspect-ratio=false
>
> I'd appreciate any hints towards:
>
> a) possible causes for these warnings,
>
> b) suggestions how to avoid them.

These warnings indicate a bug in one of the elements, usually the first
element that triggers the warning. They are usually harmless, at least
for most simple use cases.

I'm pretty sure I've seen this warning before (for jpeg depayloader)
and I think it's been fixed in later versions, but I can't find any
commit that looks like it should fix it right no, so maybe it's not
been fixed, or maybe it's been fixed as a side-effect of some other
commit.

Any chance you could try with 1.13.91 ?

Regards
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel