On Mon, 2012-03-05 at 20:21 -0800, ms wrote:
> I have read a document of appsrc. appsrc has "min-percent" property which is
> can read/write, but I don't know how to read/write this property of appsrc,
> please help me. Thank so much!
g_object_set (src, "min-percent", 5, NULL);
(note: careful when setting 64-bit integer values this way, best to
assign to a gint64/guint64 variable first and then pass that to
g_object_set()).
unsigned int val;
g_object_get (src, "min-percent", &val, NULL);
Cheers
-Tim
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel