Handling of CAPS inside Gstreamer (especially inside h264parse)?

Maurer, Marie marie.maurer at zeiss.com
Tue Jan 15 16:13:13 UTC 2019


Hallo,

there is file gst1-plugins-bad-1.14.4/gst/videoparsers/gsth264parse.c

Inside this file there is a function: gst_h264_parse_negotiate
which calls

  caps = gst_pad_get_allowed_caps (GST_BASE_PARSE_SRC_PAD (h264parse));
  GST_DEBUG_OBJECT (h264parse, "allowed caps: %" GST_PTR_FORMAT, caps);

In an error condition (which sporadically occurs) I get

h264parse gsth264parse.c:420:gst_h264_parse_negotiate:<RecorderH264Parser> allowed caps: (NULL)

What does it mean?

1) That SRC_PAD of h264parse does not offer CAPS at all?

2) That negotiation process was already execute and was not successful and there are no matched CAPS between H.264 parser and elements connected to src pad

I assume it is case 1)

Where are the CAPS set for h264parse SRC_PAD before the function gst_h264_parse_negotiate is called?

Best regards,

Marie



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190115/6457fc9c/attachment.html>


More information about the gstreamer-devel mailing list