ogg muxing of vorbis and theora now has pages ordered correctly again, even with...
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 5 Mar 2006 22:57:58 +0000 (22:57 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 5 Mar 2006 22:57:58 +0000 (22:57 +0000)
commitc9bc7a4844d9bdee7c63794c83153a9535e1688b
treea538dd1654e9344bffb732529b45dd776c47c69e
parent3b285cc7602d96f0228d8c76a5442c96b9cd8de8
ogg muxing of vorbis and theora now has pages ordered correctly again, even with delays.

Original commit message from CVS:
ogg muxing of vorbis and theora now has pages ordered correctly again,
even with delays.

* ext/ogg/README:
updated with some examples
* ext/theora/theoraenc.c: (granulepos_to_timestamp),
(granulepos_add), (theora_buffer_from_packet):
* ext/vorbis/vorbisenc.c: (granulepos_to_timestamp_offset),
(granulepos_to_timestamp), (gst_vorbisenc_buffer_from_packet),
(gst_vorbisenc_chain):
implement strategy from ext/ogg/README
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
(gst_ogg_mux_pad_queue_page), (gst_ogg_mux_compare_pads),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_collected):
Fix muxer so that oggz-validate is happy with all streams;
except for no eos mark, and the BOS page ordering
* tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
(check_buffer_granulepos):
* tests/check/pipelines/vorbisenc.c: (check_buffer_granulepos):
update tests to check for OFFSET being set as requested
fixed type of granulepos, it's not a ClockTime
ChangeLog
ext/ogg/README
ext/ogg/gstoggmux.c
ext/theora/theoraenc.c
ext/vorbis/vorbisenc.c
tests/check/pipelines/theoraenc.c
tests/check/pipelines/vorbisenc.c