winegstreamer: Set specific large buffer sizes for decodebin.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4bb337fb63
commit
9152bdcef3
|
@ -546,9 +546,9 @@ static void CDECL wg_parser_complete_read_request(struct wg_parser *parser, bool
|
|||
|
||||
static void CDECL wg_parser_set_unlimited_buffering(struct wg_parser *parser)
|
||||
{
|
||||
g_object_set(parser->decodebin, "max-size-buffers", 0, NULL);
|
||||
g_object_set(parser->decodebin, "max-size-time", G_GUINT64_CONSTANT(0), NULL);
|
||||
g_object_set(parser->decodebin, "max-size-bytes", 0, NULL);
|
||||
g_object_set(parser->decodebin, "max-size-buffers", G_MAXUINT, NULL);
|
||||
g_object_set(parser->decodebin, "max-size-time", G_MAXUINT64, NULL);
|
||||
g_object_set(parser->decodebin, "max-size-bytes", G_MAXUINT, NULL);
|
||||
}
|
||||
|
||||
static void CDECL wg_parser_stream_get_preferred_format(struct wg_parser_stream *stream, struct wg_format *format)
|
||||
|
|
Loading…
Reference in New Issue