1. 17 Dec, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Add debug info. · 2ea251a3
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create), (gst_base_audio_src_change_state):
      Add debug info.
      When going from PLAYING to PAUSED, pause the ringbuffer before calling
      the parent state change function, just like the audiosink, because the
      parent waits for the element to finish its processing before completing
      the state change. This makes going to PAUSED a lot snappier.
      When going from READY to PAUSED, don't allow the ringbuffer to start
      yet.
      2ea251a3
  2. 21 Nov, 2007 1 commit
    • Wim Taymans's avatar
      Expose methods for some object properties so that subclasses can more easily configure them. · 157a65b1
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/audio/gstbaseaudiosink.c: (slave_method_get_type),
      (gst_base_audio_sink_set_provide_clock),
      (gst_base_audio_sink_get_provide_clock),
      (gst_base_audio_sink_set_slave_method),
      (gst_base_audio_sink_get_slave_method),
      (gst_base_audio_sink_set_property),
      (gst_base_audio_sink_get_property), (gst_base_audio_sink_drain),
      (gst_base_audio_sink_none_slaving),
      (gst_base_audio_sink_handle_slaving):
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      Expose methods for some object properties so that subclasses can more
      easily configure them.
      Added slave method none, that completely disables slaving to the
      internal clock.
      API: gst_base_audio_sink_set_provide_clock()
      API: gst_base_audio_sink_get_provide_clock()
      API: gst_base_audio_sink_set_slave_method()
      API: gst_base_audio_sink_get_slave_method()
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_set_provide_clock),
      (gst_base_audio_src_get_provide_clock),
      (gst_base_audio_src_set_property),
      (gst_base_audio_src_get_property), (gst_base_audio_src_create):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      Expose methods for some object properties so that subclasses can more
      easily configure them.
      API: gst_base_audio_src_set_provide_clock()
      API: gst_base_audio_src_get_provide_clock()
      157a65b1
  3. 08 Oct, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Also handle the case where there is no... · c3dda05a
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosrc.c: Also handle the case where there is no clock set on the audio source, like in t...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      Also handle the case where there is no clock set on the audio source,
      like in the unit tests.
      c3dda05a
  4. 10 Sep, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.*: Allow othe clocks than the internal... · c9422524
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosrc.*: Allow othe clocks than the internal clock to be used for the pipeline.
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init), (gst_base_audio_src_init),
      (gst_base_audio_src_provide_clock),
      (gst_base_audio_src_set_property),
      (gst_base_audio_src_get_property), (gst_base_audio_src_create):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      Allow othe clocks than the internal clock to be used for the pipeline.
      Add property to disable clock provide.
      API: GstBaseAudioSrc::provide-clock
      c9422524
  5. 21 May, 2007 1 commit
    • Wim Taymans's avatar
      Small cleanups. · 9b188adc
      Wim Taymans authored
      Original commit message from CVS:
      * ext/cdparanoia/gstcdparanoiasrc.c:
      (gst_cd_paranoia_src_read_sector):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      Small cleanups.
      * ext/theora/theoradec.c: (theora_dec_sink_event):
      Fix typo.
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_set_gst_timestamp):
      Add some FIXME
      * gst/playback/gstdecodebin.c: (queue_underrun_cb):
      And some debug info when a FIXME path is hit.
      9b188adc
  6. 25 Apr, 2007 1 commit
    • Tim-Philipp Müller's avatar
      When posting a warning message because samples were dropped, post something... · 9e873a3c
      Tim-Philipp Müller authored
      When posting a warning message because samples were dropped, post something more intelligible than he default error m...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (_do_init),
      (gst_base_audio_src_create):
      * po/POTFILES.in:
      When posting a warning message because samples were dropped, post
      something more intelligible than he default error message for clock
      errors which is just confusing in this context (#432984).
      9e873a3c
  7. 28 Feb, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstaudioclock.c: Fix clock name. · 3c94c06c
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_init),
      (gst_audio_clock_new):
      Fix clock name.
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_init), (gst_base_audio_sink_query):
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
      (gst_base_audio_src_query), (gst_base_audio_src_get_offset),
      (gst_base_audio_src_create):
      Improve latency query code.
      Use proper clock names.
      3c94c06c
  8. 15 Feb, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Answer latency query. · a43d0f57
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_class_init), (gst_base_audio_sink_query),
      (gst_base_audio_sink_render), (gst_base_audio_sink_callback),
      (gst_base_audio_sink_async_play),
      (gst_base_audio_sink_change_state):
      Answer latency query.
      Use configured latency when syncing.
      Fix clock slaving.
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init), (gst_base_audio_src_dispose),
      (gst_base_audio_src_query), (gst_base_audio_src_change_state):
      Fix possible memleak.
      Implement latency query.
      Small cleanups.
      a43d0f57
  9. 12 Jan, 2007 1 commit
    • Andy Wingo's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c · d853b238
      Andy Wingo authored
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * gst-libs/gst/audio/gstbaseaudiosink.c
      (gst_base_audio_sink_fixate): Implement, stolen from baseaudiosrc.
      (gst_base_audio_sink_activate_pull): Remove the handwavey nego
      stuff, as the base class handles this now. Actually tell the ring
      buffer to start.
      (gst_base_audio_sink_callback): Cast the ring buffer correctly.
      How did this work before? Maybe I'm not as awesome a programmer as
      I think.
      
      * gst-libs/gst/audio/gstbaseaudiosrc.c
      (gst_base_audio_src_fixate): Rework as a basesrc vmethod instead
      of a pad function.
      d853b238
  10. 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
  11. 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
  12. 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
  13. 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
  14. 28 Apr, 2006 1 commit
  15. 23 Mar, 2006 2 commits
  16. 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
  17. 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
  18. 06 Dec, 2005 1 commit
  19. 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
  20. 17 Nov, 2005 1 commit
  21. 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
  22. 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
  23. 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
  24. 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
  25. 02 Sep, 2005 1 commit
  26. 28 Aug, 2005 1 commit
  27. 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
  28. 16 Aug, 2005 1 commit
  29. 27 Jul, 2005 1 commit
  30. 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
  31. 14 Jul, 2005 1 commit
  32. 10 Jul, 2005 1 commit
  33. 06 Jul, 2005 1 commit