ext/ogg/gstoggdemux.c: Parse seeking events better.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 24 Aug 2005 18:04:45 +0000 (18:04 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 24 Aug 2005 18:04:45 +0000 (18:04 +0000)
commit7824216cefb0f3beef1a1ef658d362bcbf7b7127
tree744559ad47ab2462dd77bf5307ef3a7f67237139
parent2136419a0a4f48c41e5e89c0bccf53f265ae62c8
ext/ogg/gstoggdemux.c: Parse seeking events better.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_pad_event), (gst_ogg_demux_factory_filter),
(gst_ogg_pad_submit_packet), (gst_ogg_chain_new),
(gst_ogg_demux_init), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_collect_chain_info), (gst_ogg_demux_collect_info),
(gst_ogg_demux_chain), (gst_ogg_demux_loop), (gst_ogg_print):
Parse seeking events better.
Unref static caps.
Generate correct newsegment events, fixes seeking in live oggs.

* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_src_getcaps),
(theora_dec_sink_event), (theora_dec_push), (theora_dec_chain):
Use newsegment values to report correct play time.

* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_sink_event):
* ext/vorbis/vorbisdec.h:
Parse and use newsegment values to report correct play time.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
Clear ringbuffer on flush.
Use newsegment values to calculate playback time.

* sys/ximage/ximagesink.c: (gst_ximagesink_get_times):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times):
Basesink does newsegment calculations for us now.
ChangeLog
ext/ogg/gstoggdemux.c
ext/theora/theoradec.c
ext/vorbis/vorbisdec.c
ext/vorbis/vorbisdec.h
gst-libs/gst/audio/gstbaseaudiosink.c
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c