flvmux strange issue (Gstreamer 1.0.3)

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Dec 4 05:45:49 PST 2012


You can (perhaps should?) also set element properties like this:

g_object_set (mctx->video_source,
    "format", GST_FORMAT_TIME,
    "max-bytes", (guint64) (10 * w * h * 3 / 2),

Note that max-bytes property is of type guint64 not 'long', and the
format property is an enum type, not an integer type. Those are not
necessarily the same in the type system. I'm not sure if they get
converted to the right type automatically - check for warnings on the


More information about the gstreamer-devel mailing list