[PATCH 2/5] winegstreamer: Wait for duration-changed when querying for duration.

Anton Baskanov baskanov at gmail.com
Mon Jun 21 13:19:42 CDT 2021


Yes, the issue is that we are passing the source file size to a convert query 
that expects decoded data size. With the right bitrate, we can get this factor 
of 8 (e.g. 192 kbps, 48 kHz, stereo MP3 has a compression ratio of 8:1). Patch 
5/5 fixes this.

On понедельник, 21 июня 2021 г. 22:35:07 +07 you wrote:
> On 6/21/21 9:35 AM, Anton Baskanov wrote:
> > Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51126
> > Signed-off-by: Anton Baskanov <baskanov at gmail.com>
> > ---
> > 
> >   dlls/winegstreamer/wg_parser.c | 59 ++++++++++++++++++++--------------
> >   1 file changed, 34 insertions(+), 25 deletions(-)
> 
> I'm not opposed to something like this patch set in principle, but from
> what I recall the last time this bug was discussed, we were getting
> durations from GStreamer that were off by a factor of exactly 8,
> suggesting that there was a bug elsewhere. Has that been investigated?







More information about the wine-devel mailing list