=?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=Do not dropping any video frame (if frame is late) in "playbin" with living streaming
jojo
rjiejie at gmail.com
Tue Jan 21 18:01:27 PST 2014
Hi Tim,
From the source code of gstbasesink.c, the default value of 'max-lateness' is -1 (-1 unlimited)
and 'qos' property is 'false' also,
but the feature 'qos' is enable by default in my case, i want to disable this feature, how could i do ?
#define DEFAULT_MAX_LATENESS -1
#define DEFAULT_QOS FALSE
g_object_class_install_property (gobject_class, PROP_MAX_LATENESS,
g_param_spec_int64 ("max-lateness", "Max Lateness",
"Maximum number of nanoseconds that a buffer can be late before it "
"is dropped (-1 unlimited)", -1, G_MAXINT64, DEFAULT_MAX_LATENESS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_QOS,
g_param_spec_boolean ("qos", "Qos",
"Generate Quality-of-Service events upstream", DEFAULT_QOS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
Thanks,
- Jojo
在 2014年1月18日星期六,下午10:32,Tim Müller 写道:
> max-lateness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140122/44afbef7/attachment.html>
More information about the gstreamer-android
mailing list