gstreamer/gst/videotestsrc
Thiago Santos 386206e627 videotestsrc: keep track of the correct running time after renegotiations
Need to store the old running time and frame numbers when renegotiating and
start from 0 again when a new caps is set, preventing that framerate changes
cause timestamping issues.

For example, if a stream pushed 10 buffers on framerate=2/1, its
running time will be 5s. If a new framerate of 1/1 is set, it would
make the running time go to 10s as it would count those 10 buffers
as being sent on this new framerate.

Fixes camerbin unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=682973
2012-09-23 17:48:56 +01:00
..
.gitignore videotestsrc: .gitignore new generate_sine_table 2010-09-06 11:53:35 +02:00
generate_sine_table.c convert M_PI to G_PI, for msvc 2011-06-10 23:56:34 -07:00
gstvideotestsrc.c videotestsrc: keep track of the correct running time after renegotiations 2012-09-23 17:48:56 +01:00
gstvideotestsrc.h videotestsrc: keep track of the correct running time after renegotiations 2012-09-23 17:48:56 +01:00
gstvideotestsrcorc-dist.c Release 0.11.94 2012-09-14 02:47:54 +01:00
gstvideotestsrcorc-dist.h videotestsrc: prefix orc functions with video_test_src_orc 2012-07-24 09:09:22 +02:00
gstvideotestsrcorc.orc videotestsrc: prefix orc functions with video_test_src_orc 2012-07-24 09:09:22 +02:00
Makefile.am gst: Update versioning 2012-04-04 14:55:15 +02:00
videotestsrc.c videotestsrc: prefix orc functions with video_test_src_orc 2012-07-24 09:09:22 +02:00
videotestsrc.h videotestsrc: Remove more redundant code 2012-06-06 11:18:56 +02:00
videotestsrc.vcproj more working plugins 2004-07-27 21:41:30 +00:00