[gst-devel] custom mime type error

Michael Smith msmith at xiph.org
Thu Oct 8 17:32:56 CEST 2009


On Thu, Oct 8, 2009 at 8:06 AM, Hemin Merchant
<hemin.merchant at geodesic.com> wrote:

> static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
>    GST_PAD_SRC,
>    GST_PAD_ALWAYS,
>    GST_STATIC_CAPS ("video/x-raw-yuv, format=(fourcc)I420, width =
> (int) 176,"" height = (int) 144," "framerate = (double)10"));

Framerate is not a double in gstreamer, it must be a fraction, like:
framerate=(fraction)10/1

Mike




More information about the gstreamer-devel mailing list