On Fri Dec 1 19:45:27 2023 +0000, Zebediah Figura wrote:
Huh, why is GStreamer not giving us duration?
That's a question for the GStreamer asfdemux devs, not me. My guess is they didn't think anyone would need it (or WMV bitrate), so they left it unimplemented, but that's just a guess.
Feel free to use `GST_DEBUG_NO_COLOR=1 GST_DEBUG=5 gst-launch-1.0 filesrc location=dlls/wmvcore/tests/test.wmv ! asfdemux ! video/x-wmv ! fakesink 2>&1 | grep gst_pad_chain_data_unchecked` to verify that it's not an issue on Wine's side.
PTS is present on everything, that part of the change is just for consistency. (Though leaving the out params unchanged is rather unhelpful. I'll make it zero them instead.)