[mythtv-users] Re: Time stretch bug in 0.18
David Engel
gigem at comcast.net
Sun Apr 24 21:40:32 UTC 2005
On Sun, Apr 24, 2005 at 04:49:25PM -0400, Chris Pinkham wrote:
> If you're compiling from source, can you try a simple 1-line fix?
>
> Edit libs/libmythtv/tv_play.cpp and search for the following line:
>
> int speedX10 = (int)(ceil(normal_speed * 10));
>
> change the 'ceil' to 'round' so it looks like this:
>
> int speedX10 = (int)(round(normal_speed * 10));
>
> and see if that fixes the problem for you.
That will probably work for the menu-defined speeds which are all
multiples of 0.10. I don't think it will work right, however, if the
user does a manual adjustment in 0.05 increments to an in-between
speed. IMO, the menu should not show a checkmark for any speed in
those cases.
David
--
David Engel
gigem at comcast.net
More information about the mythtv-users
mailing list