Re: GStreamer 0.01
- From: Matthias Bläsing <mblaesing gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: GStreamer 0.01
- Date: Mon, 30 May 2005 20:51:46 +0200
Am Montag, den 30.05.2005, 20:36 +0200 schrieb Torsten Schoenfeld:
On Mon, 2005-05-30 at 20:16 +0200, Matthias Bläsing wrote:
When called for the return value of a query I get the right log value
when printing $ns (yes even with value > 2^32) and even calculating with
it works all right!
So I think the problem begins when the tags get converted to the hash.
Does it work when you use Math::BigInt for storing the values and doing
the calculations?
Well actually I don't do anything with the values, apart from passing
the between routines. So this is it:
Tags-Hash >> My-Hash >> convert(My-Hash->{'duration'})
And the values passed to the convert function are truncated. I already
tried
convert(Math::BigInt->new(My-Hash->{'duration'})
I doesn't work either!
So I grabbed the duration value in the "found-tags" call back and
printed the value there and yeak its < 2^32! So everything, which
reaches the perl level is already clamped.
HTH
Matthias
--
Matthias Bläsing
ICQ: 84617206 AIM: linuxfun81 MSN: linuxfun hotmail com
"Diejenigen, die nicht schockiert sind, wenn sie zum ersten mal mit
Quantenmechanik zu tun haben, haben sie nicht verstanden." (Niels Bohr)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]