回复: Do not dropping any video frame (if frame is late) in "playbin" with living streaming
Tim Müller
tim at centricular.com
Wed Jan 22 04:40:59 PST 2014
On Wed, 2014-01-22 at 10:01 +0800, jojo wrote:
Hi,
> 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,
Yes, those are the defaults from GstBaseSink, but GstVideoSink (which
derives from GstBaseSink) sets different defaults.
> i want to disable this feature, how could i do ?
g_object_set (videosink, "max-lateness", (gint64) -1, NULL);
g_object_set (videosink, "qos", FALSE, NULL);
Setting the min-latency on the source to 0 is not going to have much
effect btw (which you mentioned in a previous mail IIRC). The point is
to configure a latency that's > 0.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-android
mailing list