Handling of CAPS inside Gstreamer (especially inside h264parse)?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Handling of CAPS inside Gstreamer (especially inside h264parse)?

Maurer, Marie

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

 

 

 


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