Zebediah Figura (@zfigura) commented about dlls/winegstreamer/wg_parser.c:
+static bool stream_decodebin_create(struct wg_parser_stream *stream) +{
- struct wg_parser *parser = stream->parser;
- GST_LOG("stream %p, parser %p.", stream, parser);
- if (!(stream->decodebin = create_element("decodebin", "base")))
return false;
- gst_bin_add(GST_BIN(parser->container), stream->decodebin);
- if (parser->unlimited_buffering)
- {
g_object_set(stream->decodebin, "max-size-buffers", G_MAXUINT, NULL);
g_object_set(stream->decodebin, "max-size-time", G_MAXUINT64, NULL);
g_object_set(stream->decodebin, "max-size-bytes", G_MAXUINT, NULL);
- }
decodebin doesn't buffer without a demuxer (and we don't want it to anyway), so we shouldn't need these.