From: Wim Taymans Date: Fri, 23 Oct 2009 17:58:25 +0000 (-0400) Subject: uridecodebin: use 0 for max buffer size X-Git-Tag: RELEASE-0.10.26~267 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5add839765987cbca767a2f0f881b164add6f32;p=platform%2Fupstream%2Fgst-plugins-base.git uridecodebin: use 0 for max buffer size --- diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 0c6cc3d..c0abcd7 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -1297,8 +1297,8 @@ make_decoder (GstURIDecodeBin * decoder) if ((max_time = decoder->buffer_duration) == -1) max_time = 2 * GST_SECOND; - g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-time", - max_time, NULL); + g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-buffers", + (guint) 0, "max-size-time", max_time, NULL); } }