winegstreamer: Try to convert the duration from bytes if the pad doesn't support...
commit613446d018b792b10d067314831901437b4ff6e5
authorZebediah Figura <zfigura@codeweavers.com>
Wed, 10 Jun 2020 20:52:57 +0000 (10 15:52 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 11 Jun 2020 08:50:28 +0000 (11 10:50 +0200)
tree8632fb2c44f651a65e7cfab3a1aad93d31de6923
parent9cc742d258f4cb3289f0729518123c04049c524c
winegstreamer: Try to convert the duration from bytes if the pad doesn't support querying time directly.

This can help mpegaudioparse report a usable duration, and presumably also
other elements built from baseparse.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winegstreamer/gstdemux.c