Just some tiny fixes I found while creating !4449. No functional changes intended.
Wine's code review process, and commit history, is a lot more comprehensive than anything else I've seen. This means I can't just write code, submit patch, and call it a day; but it also means the codebase is clean and easy to work with, so fixing bugs and missing pieces is relatively straightforward. While this does increase the total time needed on my side (especially splitting commits), it's easy (though somewhat boring) work, so in total, it's a win. And splitting makes it easier for the maintainers - you have more to do than me, so if it saves your time at the expense of mine, I have no right to complain.
Thank you for your patience with my prior MRs. 8.2/10 would contribute again (I've seen a few other games with broken videos that I suspect have still-unfixed causes)
--
v2: winegstreamer: Delete duplicate WMT_ON check.
winegstreamer: Fix a memory leak in stream_props_GetMediaType.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4609
For h264 byte-stream format, we should set "streamheader".
"codec_data" is for avc.
We also set timestamp of the buffer to 0 because
mp4mux will be error if the PTS is none.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4600