1. 06 Jan, 2008 1 commit
    • Tim-Philipp Müller's avatar
      tests/check/pipelines/theoraenc.c: Turn these functions into macros so we can... · 38a7abe5
      Tim-Philipp Müller authored
      tests/check/pipelines/theoraenc.c: Turn these functions into macros so we can see right away where the failure occured.
      
      Original commit message from CVS:
      * tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
      (check_buffer_timestamp), (check_buffer_duration):
      Turn these functions into macros so we can see right away
      where the failure occured.
      38a7abe5
  2. 01 Jan, 2008 1 commit
  3. 31 Dec, 2007 1 commit
  4. 30 Nov, 2006 1 commit
    • Michael Smith's avatar
      tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont... · 0230754d
      Michael Smith authored
      tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer, we thought every single following...
      
      Original commit message from CVS:
      * tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
      (GST_START_TEST):
      It would be very bad if, after a discont buffer, we thought every
      single following buffer was also discont. So, add to the test to
      ensure that this isn't the case.
      
      * ext/theora/theoraenc.c: (theora_enc_is_discontinuous):
      ... it was the case. So fix it.
      0230754d
  5. 22 Nov, 2006 1 commit
    • Michael Smith's avatar
      ext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder. · 32500268
      Michael Smith authored
      Original commit message from CVS:
      * ext/theora/gsttheoraenc.h:
      * ext/theora/theoraenc.c: (gst_theora_enc_init),
      (theora_enc_reset), (theora_enc_clear), (theora_enc_sink_setcaps),
      (theora_buffer_from_packet), (theora_enc_is_discontinuous),
      (theora_enc_chain), (theora_enc_change_state):
      Mark discontinuities of > 3/4 of a frame, reinit encoder.
      
      * tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
      (GST_START_TEST), (theoraenc_suite):
      Enable discontinuity test, fix it.
      32500268
  6. 16 Sep, 2006 1 commit
    • Stefan Kost's avatar
      tests/check/: Fix big batch of compiler warnings. · 2ddfeb8d
      Stefan Kost authored
      Original commit message from CVS:
      * tests/check/elements/audioresample.c: (GST_START_TEST):
      * tests/check/elements/videotestsrc.c: (check_rgb_buf):
      * tests/check/elements/volume.c: (GST_START_TEST):
      * tests/check/elements/vorbisdec.c: (GST_START_TEST):
      * tests/check/pipelines/oggmux.c: (validate_ogg_page), (eos_watch),
      (test_pipeline), (GST_START_TEST):
      * tests/check/pipelines/theoraenc.c: (GST_START_TEST):
      * tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
      Fix big batch of compiler warnings.
      2ddfeb8d
  7. 21 Jul, 2006 2 commits
    • Andy Wingo's avatar
      tests/check/pipelines/theoraenc.c (test_discontinuity): Similar test to the... · 810ac2d7
      Andy Wingo authored
      tests/check/pipelines/theoraenc.c (test_discontinuity): Similar test to the one in vorbisenc. Also commented out.
      
      Original commit message from CVS:
      2006-07-21  Andy Wingo  <wingo@pobox.com>
      
      * tests/check/pipelines/theoraenc.c (test_discontinuity): Similar
      test to the one in vorbisenc. Also commented out.
      810ac2d7
    • Andy Wingo's avatar
      tests/check/pipelines/: Port to bufferstraw. · f85331c0
      Andy Wingo authored
      Original commit message from CVS:
      2006-07-21  Andy Wingo  <wingo@pobox.com>
      
      * tests/check/pipelines/vorbisenc.c:
      * tests/check/pipelines/theoraenc.c: Port to bufferstraw.
      Bufferstraw was actually factored out of these tests. Now we share
      code yay.
      f85331c0
  8. 28 May, 2006 1 commit
    • Edward Hervey's avatar
      tests/check/pipelines/: Comment out tests using parse_launch() if core was... · 65970ff8
      Edward Hervey authored
      tests/check/pipelines/: Comment out tests using parse_launch() if core was built without parsing capabilities.
      
      Original commit message from CVS:
      * tests/check/pipelines/simple-launch-lines.c:
      * tests/check/pipelines/theoraenc.c:
      * tests/check/pipelines/vorbisenc.c:
      Comment out tests using parse_launch() if core was built without
      parsing capabilities.
      65970ff8
  9. 05 Mar, 2006 1 commit
    • Thomas Vander Stichele's avatar
      ogg muxing of vorbis and theora now has pages ordered correctly again, even with delays. · c9bc7a48
      Thomas Vander Stichele authored
      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
      c9bc7a48
  10. 03 Mar, 2006 1 commit
  11. 06 Feb, 2006 1 commit
    • Jan Schmidt's avatar
      Make theoraenc and the tests leak free. Like, really. · 1b7a2c9c
      Jan Schmidt authored
      Original commit message from CVS:
      * ext/theora/theoraenc.c: (gst_theora_enc_class_init),
      (theora_enc_finalize), (theora_enc_sink_setcaps),
      (theora_set_header_on_caps), (theora_enc_chain),
      (theora_enc_change_state):
      * tests/check/pipelines/theoraenc.c: (GST_START_TEST):
      Make theoraenc and the tests leak free. Like, really.
      1b7a2c9c
  12. 05 Feb, 2006 1 commit
    • Jan Schmidt's avatar
      Add a finalize method to ensure we clean up state even if someone omitted the... · 5109622d
      Jan Schmidt authored
      Add a finalize method to ensure we clean up state even if someone omitted the state change back to NULL.
      
      Original commit message from CVS:
      (theora_enc_finalize), (theora_enc_sink_setcaps):
      Add a finalize method to ensure we clean up state even if
      someone omitted the state change back to NULL.
      
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1),
      (gst_vorbisenc_chain):
      Free some more leaked bits.
      
      * tests/check/pipelines/theoraenc.c: (start_pipeline),
      (stop_pipeline):
      Wait for state changes to happen if they're ASYNC.
      
      This ought to teach those fancy pants buildbots a lesson.
      5109622d
  13. 02 Feb, 2006 2 commits
  14. 31 Jan, 2006 1 commit
    • Jan Schmidt's avatar
      tests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid... · 0bdf850d
      Jan Schmidt authored
      tests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when passing it around - otherwise it...
      
      Original commit message from CVS:
      * tests/check/pipelines/theoraenc.c:
      * tests/check/pipelines/vorbisenc.c:
      Define constant using G_GINT64_CONSTANT to avoid errors when
      passing it around - otherwise it gets truncated to 32 bits.
      
      Fixes failing tests.
      0bdf850d
  15. 30 Jan, 2006 4 commits
    • Andy Wingo's avatar
      ext/theora/theoraenc.c (theora_enc_sink_setcaps) · f2476d44
      Andy Wingo authored
      Original commit message from CVS:
      2006-01-30  Andy Wingo  <wingo@pobox.com>
      
      * ext/theora/theoraenc.c (theora_enc_sink_setcaps)
      (gst_theora_enc_init): Pull the granule shift out of the encoder.
      (granulepos_add): New function, handles the messiness of adjusting
      granulepos values.
      (theora_buffer_from_packet):
      (theora_enc_chain):
      (theora_enc_sink_event): Use granulepos_add, not +.
      
      * tests/check/pipelines/theoraenc.c
      (check_buffer_granulepos_from_starttime): Just check the frame
      count, not the actual granulepos -- we can't dictate to the
      encoder when it should be placing keyframes.
      f2476d44
    • Andy Wingo's avatar
      tests/check/pipelines/: Totally remove the UINT64_CONSTANT macro, doesn't... · 055cf96c
      Andy Wingo authored
      tests/check/pipelines/: Totally remove the UINT64_CONSTANT macro, doesn't appear to be needed or available.
      
      Original commit message from CVS:
      2006-01-30  Andy Wingo  <wingo@pobox.com>
      
      * tests/check/pipelines/vorbisenc.c (TIMESTAMP_OFFSET):
      * tests/check/pipelines/theoraenc.c (TIMESTAMP_OFFSET): Totally
      remove the UINT64_CONSTANT macro, doesn't appear to be needed or
      available.
      055cf96c
    • Andy Wingo's avatar
      ext/theora/: Same changes as were done to vorbisenc, although theoraenc was... · 35f966cf
      Andy Wingo authored
      ext/theora/: Same changes as were done to vorbisenc, although theoraenc was timestamping correctly. Added handling of...
      
      Original commit message from CVS:
      2006-01-30  Andy Wingo  <wingo@pobox.com>
      
      * ext/theora/gsttheoraenc.h:
      * ext/theora/theoraenc.c: Same changes as were done to vorbisenc,
      although theoraenc was timestamping correctly. Added handling of
      streams that start with nonzero timestamps.
      
      * tests/check/Makefile.am:
      * tests/check/pipelines/theoraenc.c: New file, basically does same
      tests as vorbisenc.
      
      * tests/check/pipelines/vorbisenc.c: I claim these bugs.
      35f966cf
    • Andy Wingo's avatar
      tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc. · 0ad84fae
      Andy Wingo authored
      Original commit message from CVS:
      2006-01-30  Andy Wingo  <wingo@pobox.com>
      
      * tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.
      
      * ext/vorbis/vorbisenc.c (gst_vorbisenc_buffer_from_packet): Logic
      updated to timestamp from the first sample, not the last.
      (gst_vorbisenc_buffer_from_header_packet): New function, takes
      special care of granulepos and timestamp for header packets.
      (gst_vorbisenc_chain): Reflow, fix some leaks, and handle the case
      when the first buffer has a nonzero timestamp.
      
      * ext/vorbis/vorbisenc.h (GstVorbisEnc.granulepos_offset)
      (GstVorbisEnc.subgranule_offset): New members. Take care of the
      case when the first audio buffer we get has a nonzero timestamp.
      (GstVorbisEnc.next_ts): Renamed from prev_ts, because now we
      properly timestamp vorbis buffers with the time of the first
      sample, not the last.
      
      * ext/vorbis/vorbisenc.c (granulepos_to_clocktime): Renamed from
      vorbis_granule_time_copy -- now it takes the granule/subgranule
      offset into account.
      
      * tests/check/pipelines/vorbisenc.c: New test for correctness of
      timestamps, durations, and granulepos on buffers produced by
      vorbisenc.
      0ad84fae