ext/theora/theoradec.c: Adapt for post-alpha meaning of granulepos, when we have...
authorMichael Smith <msmith@xiph.org>
Fri, 11 Jan 2008 15:48:11 +0000 (15:48 +0000)
committerMichael Smith <msmith@xiph.org>
Fri, 11 Jan 2008 15:48:11 +0000 (15:48 +0000)
commit57fab036b19f014930c08a1bc4602327987ae907
tree1bc7485da4ab8b3dbef87916300a3ba2f9201642
parent3feb4bc8c56e717e7ab9510cbb9cba8be2f9eb5e
ext/theora/theoradec.c: Adapt for post-alpha meaning of granulepos, when we have a newer version of libtheora.

Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(_theora_granule_frame), (_theora_granule_start_time),
(theora_dec_sink_convert), (theora_dec_decode_buffer):
Adapt for post-alpha meaning of granulepos, when we
have a newer version of libtheora.
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_get_ogg_packet_end_time), (theora_enc_sink_event),
(theora_enc_is_discontinuous), (theora_enc_chain):
Likewise.
* tests/check/Makefile.am:
Link libtheora into theoraenc test so we can check which version of
libtheora we're testing against.
* tests/check/pipelines/theoraenc.c: (check_libtheora),
(check_buffer_granulepos),
(check_buffer_granulepos_from_starttime), (GST_START_TEST),
(theoraenc_suite):
Adapt tests to check the values that are now defined for theora; make
the tests backwards-adapt the passed values if we're running against an
old libtheora.
Fixes #497964
ChangeLog
common
ext/theora/theoradec.c
ext/theora/theoraenc.c
tests/check/Makefile.am
tests/check/pipelines/theoraenc.c