From: Nicolas Dufresne Date: Tue, 11 Feb 2014 21:27:08 +0000 (-0500) Subject: v4l2: Don't require parser for VP8 X-Git-Tag: 1.19.3~509^2~4796 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82f2bf052add2442244ff1cb553f8861e3dc4857;p=platform%2Fupstream%2Fgstreamer.git v4l2: Don't require parser for VP8 Until GStreamer has one (see bug722760), we should not require a parser for VP8. https://bugzilla.gnome.org/show_bug.cgi?id=722128 --- diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index c1715b1..103862d 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -2142,6 +2142,10 @@ static void gst_v4l2_object_update_and_append (GstV4l2Object * v4l2object, guint32 format, GstCaps * caps, GstStructure * s) { + /* FIXME remove when VP8 parser is ready, bug #722760 */ + if (format == V4L2_PIX_FMT_VP8) + goto done; + /* Encoded stream on output buffer need to be parsed */ if (v4l2object->type == V4L2_BUF_TYPE_VIDEO_OUTPUT || v4l2object->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { @@ -2156,6 +2160,7 @@ gst_v4l2_object_update_and_append (GstV4l2Object * v4l2object, } } +done: gst_caps_append_structure (caps, s); }