1. 27 Sep, 2006 2 commits
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Add some more info in a WARNING. · 1980f167
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      Add some more info in a WARNING.
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      Handle PAUSE in create function, use new -core addition to
      wait for playing. Fixes pausing and resuming capture from an
      audiosrc.
      * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
      (gst_ring_buffer_read):
      Constify some more.
      Caller supports interrupted reads now.
      1980f167
    • Wim Taymans's avatar
      Added docs for the audio libs. · 73677225
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-docs.sgml:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/audio/gstaudioclock.c:
      * gst-libs/gst/audio/gstaudioclock.h:
      * gst-libs/gst/audio/gstaudiosink.c:
      * gst-libs/gst/audio/gstaudiosink.h:
      * gst-libs/gst/audio/gstaudiosrc.c:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      * gst-libs/gst/audio/gstringbuffer.h:
      Added docs for the audio libs.
      73677225
  2. 15 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/: Do the delay calculation in the source/sink base classes... · 65b1938b
      Wim Taymans authored
      gst-libs/gst/audio/: Do the delay calculation in the source/sink base classes as this is specific for the capture/pla...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_get_time), (gst_base_audio_sink_callback):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_get_time), (gst_base_audio_src_fixate),
      (gst_base_audio_src_get_times), (gst_base_audio_src_get_offset),
      (gst_base_audio_src_create), (gst_base_audio_src_change_state):
      Do the delay calculation in the source/sink base classes as this is
      specific for the capture/playback mode.
      Try to fixate a bit better, like round depth up to a multiple of 8
      bigger than width.
      Handle underruns correctly by marking DISCONT on buffers and adjusting
      timestamps to handle the gap.
      Set offset/offset_end correctly on buffers.
      * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_pause),
      (gst_ring_buffer_samples_done), (gst_ring_buffer_commit),
      (gst_ring_buffer_read):
      Remove resync and underrun recovery from the ringbuffer.
      Fix ringbuffer read code on under/overrun.
      65b1938b
  3. 12 Jul, 2006 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Don't try to post an error message when... · a0354a5b
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosrc.c: Don't try to post an error message when setting the clock fails as this can hap...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_set_clock),
      (gst_base_audio_src_check_get_range), (gst_base_audio_src_create):
      Don't try to post an error message when setting the clock fails
      as this can happen when adding an element to a bin which will then
      deadlock. Fixes #347296.
      a0354a5b
  4. 06 Jul, 2006 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Use gobject_class instead of G_OBJECT_CLASS (klass) · fa5dacc9
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_class_init),
      (gst_base_audio_sink_provide_clock):
      Use gobject_class instead of G_OBJECT_CLASS (klass)
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init), (gst_base_audio_src_init),
      (gst_base_audio_src_set_clock), (gst_base_audio_src_provide_clock),
      (gst_base_audio_src_get_time),
      (gst_base_audio_src_check_get_range), (gst_base_audio_src_create),
      (gst_base_audio_src_create_ringbuffer):
      Fix latency and buffer-time constants and properties ala basesink.
      Implement pull based scheduling. Fixes #346527.
      Set default blocksize in GstBaseSrc to 0, we default to pushing out
      one segment.
      Refuse slaving to another clock instead of silently not working.
      Only provide a clock when we are actually able to do so.
      Various small cleanups and compiler hints.
      fa5dacc9
  5. 28 Apr, 2006 1 commit
  6. 23 Mar, 2006 2 commits
  7. 25 Jan, 2006 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Improve debugging. · 2bc5ca17
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_setcaps), (gst_base_audio_sink_event),
      (gst_base_audio_sink_preroll), (gst_base_audio_sink_render):
      Improve debugging.
      Post error when caps cannot be parsed.
      Resync on discontinuity in the stream.
      Clip samples to segment boundaries.
      return WRONG_STATE sooner when we are flushing.
      
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
      (gst_base_audio_src_get_time), (gst_base_audio_src_create):
      Make audiosrc operate in TIME.
      Set TIMESTAMP and DURATION on buffers.
      2bc5ca17
  8. 20 Dec, 2005 2 commits
    • Thomas Vander Stichele's avatar
      stop making fun of older compilers · 01bc68f9
      Thomas Vander Stichele authored
      Original commit message from CVS:
      stop making fun of older compilers
      01bc68f9
    • Thomas Vander Stichele's avatar
      gst-libs/gst/audio/: update strings, values are in microseconds change the... · b4b2b62a
      Thomas Vander Stichele authored
      gst-libs/gst/audio/: update strings, values are in microseconds change the default sink buffer time to something that...
      
      Original commit message from CVS:
      
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_class_init):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init):
      update strings, values are in microseconds
      change the default sink buffer time to something that is smaller
      (to help software volume mixing have a slightly lower delay) but
      still be acceptable on Wim's laptop
      b4b2b62a
  9. 06 Dec, 2005 1 commit
  10. 21 Nov, 2005 1 commit
    • Jan Schmidt's avatar
      Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027) · 1cc82e91
      Jan Schmidt authored
      Original commit message from CVS:
      * ext/libvisual/visual.c: (get_buffer):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_fixate):
      * gst/audioconvert/gstaudioconvert.c:
      (gst_audio_convert_fixate_caps):
      * gst/audioscale/gstaudioscale.c: (gst_audioscale_fixate):
      * gst/audiotestsrc/gstaudiotestsrc.c:
      (gst_audiotestsrc_src_fixate):
      * gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
      * gst/videorate/gstvideorate.c: (gst_videorate_setcaps):
      * gst/videoscale/gstvideoscale.c: (gst_videoscale_fixate_caps):
      * gst/videotestsrc/gstvideotestsrc.c:
      (gst_videotestsrc_src_fixate):
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):
      Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
      (#322027)
      1cc82e91
  11. 17 Nov, 2005 1 commit
  12. 11 Oct, 2005 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/: Cleanups. · 5c17d940
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
      (gst_ring_buffer_read):
      Cleanups.
      Commit and read from ringbuffer in samples rather than bytes.
      5c17d940
  13. 10 Oct, 2005 1 commit
    • Wim Taymans's avatar
      ext/alsa/gstalsasink.c: Also allow unsigned int. · 81a09fc4
      Wim Taymans authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c:
      Also allow unsigned int.
      
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create), (gst_base_audio_src_change_state):
      Small cleanup
      81a09fc4
  14. 06 Oct, 2005 1 commit
    • Edgard Lima's avatar
      gst-libs/gst/audio/: Fixed gstbaseaudiosrc adding ring buffer sync to it. · e846919f
      Edgard Lima authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_event),
      (gst_base_audio_src_create), (gst_base_audio_src_change_state):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_read):
      patch from Edgard Lima <edgard.lima@indt.org.br>
      Fixed gstbaseaudiosrc adding ring buffer sync to it.
      e846919f
  15. 28 Sep, 2005 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/: get_clock -> provide_clock · 79be8760
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_class_init),
      (gst_base_audio_sink_provide_clock), (gst_base_audio_sink_render):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init),
      (gst_base_audio_src_provide_clock):
      get_clock -> provide_clock
      79be8760
  16. 02 Sep, 2005 1 commit
  17. 28 Aug, 2005 1 commit
  18. 23 Aug, 2005 1 commit
    • Andy Wingo's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c · 7afb1045
      Andy Wingo authored
      Original commit message from CVS:
      2005-08-23  Andy Wingo  <wingo@pobox.com>
      
      * gst-libs/gst/audio/gstbaseaudiosrc.c
      (gst_base_audio_src_fixate): Only fixate endianness if it is
      present in the caps.
      7afb1045
  19. 16 Aug, 2005 1 commit
  20. 27 Jul, 2005 1 commit
  21. 16 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Updated seek example. · 82dc411e
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/tmpl/gstringbuffer.sgml:
      * examples/seeking/seek.c: (make_vorbis_theora_pipeline),
      (query_rates), (query_positions_elems), (query_positions_pads),
      (update_scale), (do_seek):
      Updated seek example.
      
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
      (gst_ogg_pad_submit_page), (gst_ogg_demux_activate_chain),
      (gst_ogg_demux_find_chains), (gst_ogg_demux_send_event),
      (gst_ogg_demux_loop):
      Push out correct discont values.
      
      * ext/theora/theoradec.c: (theora_dec_src_convert),
      (theora_dec_sink_convert), (theora_dec_src_getcaps),
      (theora_dec_sink_event), (theora_handle_type_packet),
      (theora_handle_header_packet), (theora_dec_push),
      (theora_handle_data_packet), (theora_dec_chain),
      (theora_dec_change_state):
      Better timestamping.
      
      * ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
      (vorbis_dec_sink_event), (vorbis_dec_push),
      (vorbis_handle_data_packet), (vorbis_dec_chain):
      * ext/vorbis/vorbisdec.h:
      Better timestamping.
      
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_get_time), (gst_base_audio_sink_get_times),
      (gst_base_audio_sink_event), (gst_base_audio_sink_render):
      Handle syncing on timestamps instead of sample offsets. Make
      use of DISCONT values as described in design docs.
      
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_get_time):
      * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_acquire),
      (gst_ring_buffer_set_sample), (gst_ring_buffer_commit),
      (gst_ring_buffer_read):
      * gst-libs/gst/audio/gstringbuffer.h:
      * sys/ximage/ximagesink.c: (gst_ximagesink_get_times),
      (gst_ximagesink_show_frame):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times):
      Correcly convert buffer timestamp to stream time.
      82dc411e
  22. 14 Jul, 2005 1 commit
  23. 10 Jul, 2005 1 commit
  24. 06 Jul, 2005 1 commit