Zebediah Figura (@zfigura) commented about dlls/winegstreamer/wg_parser.c:
} gst_object_unref(stream->my_sink);
- if (stream->buffer)
- {
gst_buffer_unmap(stream->buffer, &stream->map_info);
gst_buffer_unref(stream->buffer);
stream->buffer = NULL;
- }
Maybe. The awkward thing here is that the code currently assumes we'll *always* call wg_parser_stream_release_buffer() if we got a buffer, which makes this redundant.