GstBuffer * buffer, guint * framesize, gint * skipsize);
static GstFlowReturn gst_h263_parse_parse_frame (GstBaseParse * parse,
GstBuffer * buffer);
-static GstCaps *gst_h263_parse_src_getcaps (GstPad * pad);
static void
gst_h263_parse_base_init (gpointer g_class)
static void
gst_h263_parse_init (GstH263Parse * h263parse, GstH263ParseClass * g_class)
{
- gst_pad_set_getcaps_function (GST_BASE_PARSE_SRC_PAD (GST_BASE_PARSE
- (h263parse)), GST_DEBUG_FUNCPTR (gst_h263_parse_src_getcaps));
}
static gboolean
return res;
}
-static GstCaps *
-gst_h263_parse_src_getcaps (GstPad * pad)
-{
- GstH263Parse *h263parse;
- GstCaps *caps;
-
- h263parse = GST_H263PARSE (GST_PAD_PARENT (pad));
-
- if (h263parse->state == PARSING)
- /* Not got more specific caps from headers yet - return template caps */
- return gst_caps_copy (gst_pad_get_pad_template_caps (pad));
-
- g_object_get (pad, "caps", &caps, NULL);
- return caps;
-}
-
static gboolean
plugin_init (GstPlugin * plugin)
{