[mythtv] [PATCH] RingBuffer Bitrate
Kenneth Aafløy
lists at kenneth.aafloy.net
Sun Oct 24 22:57:29 UTC 2004
On Sunday 24 October 2004 22:12, I wrote:
> I'm currently doing some work on getting transitions between audio/video to
> audio-only working, and I've found that the bitrate calculation in the
> RingBuffer won't work with this. I've attached a patch that calculates the
> readblocksize/fillthreshold so that lower bitrate streams gets sane values.
>
> From the looks of the previous code some decoder must have been reporting
> the bitrate in kilobits/s while avfd was reporting this in bits/s. I've
> given the IvTvDecoder a 256000 bytes readblocksize, and fixed the initial
> value in nuppeldecoder to be 256kbit/s in case it's audio only. Someone
> should have a look at the FIXME in IvTvDecoder and the calculation in
> nuppeldecoder to verify that the bitrate is reported in bits/s.
The patch that was attached didn't contain all the changes, sorry about not
compile testing my change in my clean tree, attached a new version.
Kenneth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitrate.patch
Type: text/x-diff
Size: 5384 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041025/0eb9cbac/bitrate.bin
More information about the mythtv-dev
mailing list