uridecodebin: use 0 for max buffer size

This commit is contained in:
Wim Taymans 2009-10-23 13:58:25 -04:00 committed by Wim Taymans
parent 1fa7f049f1
commit d5add83976

View file

@ -1297,8 +1297,8 @@ make_decoder (GstURIDecodeBin * decoder)
if ((max_time = decoder->buffer_duration) == -1) if ((max_time = decoder->buffer_duration) == -1)
max_time = 2 * GST_SECOND; max_time = 2 * GST_SECOND;
g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-time", g_object_set (decodebin, "max-size-bytes", max_bytes, "max-size-buffers",
max_time, NULL); (guint) 0, "max-size-time", max_time, NULL);
} }
} }