On Tue Mar 12 13:07:01 2024 +0000, Yuxuan Shui wrote:
Like one is audio the other is video kind of mismatch.
If the mismatch is just compressed/uncompressed, then that's supposed to happen.
If they are indeed switching audio/video, then yes, they probably got rearranged, and that does indeed sound like a bug. I didn't run into any such trouble during my testing, but that may just have been my testing being limited.
I never checked how those Unix-side streams are created, so I'm not sure how that part should be solved. One solution would be to check the streams' media types, compare to the expected type, and swap if mismatched, but I don't know if it's the best answer; there may be a better solution somewhere deeper inside winegstreamer.