From: Tristan M. <tr...@sa...> - 2010-11-29 03:11:39
|
2010/11/28 Jordi Burguet Castell <jor...@gm...> > Hello, > > The audiotestsrc element sets and reports the timestamps of the > buffers it creates with a small error. > > Basically, by using gst_util_uint64_scale_int() in some places, the > timestamp can be off by almost a nanosecond. In our pipeline we are > sensitive to any error in the timestamp, and because of this (small) > problem we can't use audiotestsrc to test it. > > Fortunately, the fix is very easy. In audiotestsrc the timestamp (in > "next_time") is computed always from next_sample, so it can be solved > by changing gst_util_uint64_scale_int() to > gst_util_uint64_scale_int_round() (note the extra "_round") > everywhere. Patch attached. > > Please let me know if this is ok, or if I should report a bug in some > other way, etc. > > You should file a bug against gst-plugins-base: https://bugzilla.gnome.org/buglist.cgi?quicksearch=component%3Agst-plugins-base+product%3A "GStreamer"+ Thanks, > Jordi > > -- > Jordi Burguet-Castell <jo...@gr...> > UWM Physics Dept. 464 > 1900 E. Kenwood Blvd. Milwaukee WI 53211 USA > +1 414-229-2590 > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > gstreamer-devel mailing list > gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Tristan Matthews email: tr...@sa... web: http://tristanswork.blogspot.com |