diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-29 12:11:20 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-29 12:11:20 +0000 |
commit | 80c3258a6ac2c796df247dd372e94e3a765a93c1 (patch) | |
tree | 0b7405039f02a00404b9991ca311d522287a1451 /gst/speexresample/gstspeexresample.h | |
parent | b2b865beac2b986054a35ed07a2bc630874921e7 (diff) | |
download | gst-plugins-bad-80c3258a6ac2c796df247dd372e94e3a765a93c1.tar.gz gst-plugins-bad-80c3258a6ac2c796df247dd372e94e3a765a93c1.tar.bz2 gst-plugins-bad-80c3258a6ac2c796df247dd372e94e3a765a93c1.zip |
gst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it more robust and guarantee a continous str...
Original commit message from CVS:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_start),
(gst_speex_resample_get_unit_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_resample_check_discont), (gst_speex_resample_process),
(gst_speex_resample_transform):
* gst/speexresample/gstspeexresample.h:
Rewrite timestamp tracking to make it more robust and guarantee
a continous stream.
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(cleanup_speexresample), (fail_unless_perfect_stream),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance), (live_switch_alloc_only_48000),
(live_switch_get_sink_caps), (live_switch_push),
(speexresample_suite):
Add unit tests for speexresample based on the audioresample unit tests.
Diffstat (limited to 'gst/speexresample/gstspeexresample.h')
-rw-r--r-- | gst/speexresample/gstspeexresample.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/speexresample/gstspeexresample.h b/gst/speexresample/gstspeexresample.h index 8d1413c9..7e7a68f6 100644 --- a/gst/speexresample/gstspeexresample.h +++ b/gst/speexresample/gstspeexresample.h @@ -57,10 +57,9 @@ struct _GstSpeexResample { gboolean need_discont; - guint64 offset; - guint64 ts_offset; + guint64 next_offset; GstClockTime next_ts; - GstClockTime prev_ts, prev_duration; + GstClockTime next_upstream_ts; gboolean fp; gint channels; |