13 Apr
2023
13 Apr
'23
9:36 p.m.
Zebediah Figura (@zfigura) commented about dlls/winegstreamer/wg_parser.c:
+ if (chunk.data && position == chunk.position) + { + if (i != 0) + { + memmove(&parser->input_cache_chunks[1], &parser->input_cache_chunks[0], i * sizeof(chunk)); + parser->input_cache_chunks[0] = chunk; + } + + return &parser->input_cache_chunks[0]; + } + } + + return NULL; +} + +static gsize read_cached_chunk(struct wg_parser *parser, guint64 chunk_position, unsigned int chunk_offset, GstBuffer *buffer, guint64 buffer_offset) The return type should be GstFlowReturn.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2390#note_29971