Rémi Bernon (@rbernon) commented about dlls/winegstreamer/video_encoder.c:
{ IMFMediaType_Release(encoder->output_type); encoder->output_type = NULL;
memset(&encoder->output_info, 0, sizeof(encoder->output_info));
This will also clear the cbSize which is only set on the transform creation, probably not what you want.