1. 17 Sep, 2006 4 commits
    • Michael Smith's avatar
      gst/typefind/gsttypefindfunctions.c: Don't crash on truncated files - check... · 1720784d
      Michael Smith authored
      gst/typefind/gsttypefindfunctions.c: Don't crash on truncated files - check that we got an 8 byte buffer before tryin...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (ogganx_type_find):
      Don't crash on truncated files - check that we got an 8 byte buffer
      before trying to memcmp it.
      1720784d
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybasebin.c: Make stream-switching appear instant to the... · aeb0afba
      Tim-Philipp Müller authored
      gst/playback/gstplaybasebin.c: Make stream-switching appear instant to the application (ie. make sure that a g_object...
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (get_active_source):
      Make stream-switching appear instant to the application
      (ie. make sure that a g_object_get on 'current-foo' returns
      the stream previously set with g_object_set(). Totem needs
      this to update stream-related meta-info (like audio-codec)
      correctly when switching streams.
      aeb0afba
    • Tim-Philipp Müller's avatar
      ext/alsa/gstalsamixer.c: Try harder to guess which mixer track is the master... · b1fd3431
      Tim-Philipp Müller authored
      ext/alsa/gstalsamixer.c: Try harder to guess which mixer track is the master mixer track (instead of just taking the ...
      
      Original commit message from CVS:
      * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_find_master_mixer),
      (gst_alsa_mixer_ensure_track_list):
      Try harder to guess which mixer track is the master mixer
      track (instead of just taking the first one that has a pvolume).
      Fixes #342228.
      b1fd3431
    • Stefan Kost's avatar
      gst/audioconvert/gstaudioconvert.c: Get structure-name just once. · f2fbfdc1
      Stefan Kost authored
      Original commit message from CVS:
      * gst/audioconvert/gstaudioconvert.c: (set_structure_widths),
      (gst_audio_convert_transform_caps):
      Get structure-name just once.
      f2fbfdc1
  2. 16 Sep, 2006 2 commits
    • 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
    • Stefan Kost's avatar
      ext/gnomevfs/gstgnomevfssrc.c: Add docs about icydemux usage in connection with gnomevfssrc · 267a068e
      Stefan Kost authored
      Original commit message from CVS:
      * ext/gnomevfs/gstgnomevfssrc.c:
      Add docs about icydemux usage in connection with gnomevfssrc
      * ext/libvisual/visual.c:
      * ext/ogg/gstoggaviparse.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggparse.c:
      * gst-libs/gst/audio/gstaudiofiltertemplate.c:
      * gst-libs/gst/audio/gstaudiosink.c:
      * gst-libs/gst/audio/gstaudiosrc.c:
      * gst/audiorate/gstaudiorate.c:
      More G_OBJECT macro fixing.
      * gst/audiotestsrc/gstaudiotestsrc.h:
      Fix wrong info in header due to copy & paste
      267a068e
  3. 15 Sep, 2006 4 commits
    • 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
    • Wim Taymans's avatar
      gst/playback/gstplaybasebin.*: Don't use a 0 low watermark when buffering, it... · 102ec386
      Wim Taymans authored
      gst/playback/gstplaybasebin.*: Don't use a 0 low watermark when buffering, it is catching starvation way too late. In...
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
      (gst_play_base_bin_init), (fill_buffer), (check_queue),
      (queue_threshold_reached), (gst_play_base_bin_set_property),
      (gst_play_base_bin_get_property):
      * gst/playback/gstplaybasebin.h:
      Don't use a 0 low watermark when buffering, it is catching starvation
      way too late. Instead, use a 3 second queue with 30 and 95
      percent low/high watermarks.
      Added queue-min-threshold property to configure low watermark.
      Use new _buffering message API.
      Make queue_threshold variable big enough to store a uint64 time value.
      API: playbin::queue-min-threshold property.
      102ec386
    • Wim Taymans's avatar
      configure.ac: We require 0.10.10.1 now because of _wait_preroll(). · 557b3672
      Wim Taymans authored
      Original commit message from CVS:
      * configure.ac:
      We require 0.10.10.1 now because of _wait_preroll().
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      Use gst_base_sink_wait_preroll().
      557b3672
    • Wim Taymans's avatar
      ext/alsa/: Use DEBUG_OBJECT more. · d3b4878b
      Wim Taymans authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (xrun_recovery), (gst_alsasink_write):
      * ext/alsa/gstalsasrc.c: (xrun_recovery), (gst_alsasrc_read):
      Use DEBUG_OBJECT more.
      d3b4878b
  4. 14 Sep, 2006 1 commit
  5. 07 Sep, 2006 3 commits
    • Thomas Vander Stichele's avatar
      update bug in changelog · 6f6129cd
      Thomas Vander Stichele authored
      Original commit message from CVS:
      update bug in changelog
      6f6129cd
    • Michael Smith's avatar
      Fix implementation of sync-method 'next-keyframe' · 5301cc31
      Michael Smith authored
      Original commit message from CVS:
      
      patch by: Michael Smith <msmith at fluendo dot com>
      
      * gst/tcp/gstmultifdsink.c: (is_sync_frame),
      (gst_multi_fd_sink_client_queue_buffer),
      (gst_multi_fd_sink_new_client):
      * tests/check/elements/multifdsink.c: (GST_START_TEST),
      (multifdsink_suite):
      Fix implementation of sync-method 'next-keyframe'
      5301cc31
    • Wim Taymans's avatar
      ext/gnomevfs/gstgnomevfssrc.c: This patch removes the RANDOM flag that was... · a66ee4d6
      Wim Taymans authored
      ext/gnomevfs/gstgnomevfssrc.c: This patch removes the RANDOM flag that was incorrectly introduced with revision 1.91....
      
      Original commit message from CVS:
      
      patch by: Wim Taymans <wim at fluendo dot com>
      
      * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
      This patch removes the RANDOM flag that was incorrectly introduced with
      revision 1.91.  Fixes #354590
      a66ee4d6
  6. 05 Sep, 2006 1 commit
  7. 04 Sep, 2006 3 commits
  8. 02 Sep, 2006 2 commits
    • Tim-Philipp Müller's avatar
      tests/check/elements/videotestsrc.c: Returning a return value often helps. In... · c5d63b1c
      Tim-Philipp Müller authored
      tests/check/elements/videotestsrc.c: Returning a return value often helps. In this case, we don't need the return val...
      
      Original commit message from CVS:
      * tests/check/elements/videotestsrc.c: (check_rgb_buf):
      Returning a return value often helps. In this case, we
      don't need the return value anyway, so just get rid of it.
      Should make build bots much happier.
      c5d63b1c
    • Tim-Philipp Müller's avatar
      gst/videotestsrc/videotestsrc.*: Add support for AYUV and the various RGBA... · c063f053
      Tim-Philipp Müller authored
      gst/videotestsrc/videotestsrc.*: Add support for AYUV and the various RGBA formats. Initialise fields of paintinfo st...
      
      Original commit message from CVS:
      * gst/videotestsrc/videotestsrc.c: (paintinfo_find_by_structure),
      (paint_get_structure), (gst_video_test_src_get_size),
      (gst_video_test_src_smpte), (gst_video_test_src_snow),
      (gst_video_test_src_unicolor), (paint_setup_AYUV),
      (paint_hline_AYUV), (paint_setup_ARGB8888), (paint_setup_ABGR8888),
      (paint_setup_RGBA8888), (paint_setup_BGRA8888), (paint_hline_str4):
      * gst/videotestsrc/videotestsrc.h:
      Add support for AYUV and the various RGBA formats. Initialise
      fields of paintinfo structs allocated on the stack.
      * tests/check/elements/videotestsrc.c: (right_shift_colour),
      (fix_expected_colour), (check_rgb_buf), (got_buf_cb),
      (GST_START_TEST), (videotestsrc_suite):
      Add unit tests for videotestsrc's RGB output.
      c063f053
  9. 01 Sep, 2006 2 commits
  10. 31 Aug, 2006 3 commits
  11. 30 Aug, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/ffmpegcolorspace/gstffmpegcolorspace.c: Return FALSE instead of returning... · 573d041c
      Tim-Philipp Müller authored
      gst/ffmpegcolorspace/gstffmpegcolorspace.c: Return FALSE instead of returning a random false unit size when the forma...
      
      Original commit message from CVS:
      * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
      (gst_ffmpegcsp_get_unit_size):
      Return FALSE instead of returning a random false unit
      size when the format isn't known/supported (even if
      this shouldn't happen under normal circumstances).
      573d041c
  12. 29 Aug, 2006 6 commits
    • Tim-Philipp Müller's avatar
      ext/gnomevfs/gstgnomevfssrc.c: Try harder to get the size from a uri by using... · 5b55df77
      Tim-Philipp Müller authored
      ext/gnomevfs/gstgnomevfssrc.c: Try harder to get the size from a uri by using _info_uri() when _info_from_handle() do...
      
      Original commit message from CVS:
      Patch by: Tim-Philipp Müller  <tim at centricular dot net>
      * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create),
      (gst_gnome_vfs_src_start):
      Try harder to get the size from a uri by using _info_uri() when
      _info_from_handle() does not give us enough info.
      Also follow symlinks when getting the size.
      Partially Fixes #332864.
      5b55df77
    • Viktor Peters's avatar
      ext/alsa/: Improve and fix mixer track handling, in particular better handling... · 6fdb8262
      Viktor Peters authored
      ext/alsa/: Improve and fix mixer track handling, in particular better handling of alsa's pvolume/pswitch/cvolume/cswi...
      
      Original commit message from CVS:
      Patch by: Viktor Peters  <viktor dot peters at gmail dot com>
      * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_ensure_track_list),
      (gst_alsa_mixer_update), (gst_alsa_mixer_get_volume),
      (gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
      (gst_alsa_mixer_set_record):
      * ext/alsa/gstalsamixertrack.c:
      (gst_alsa_mixer_track_update_alsa_capabilities),
      (alsa_track_has_cap), (gst_alsa_mixer_track_new),
      (gst_alsa_mixer_track_update):
      * ext/alsa/gstalsamixertrack.h:
      Improve and fix mixer track handling, in particular better handling
      of alsa's pvolume/pswitch/cvolume/cswitch capabilities; create separate
      track objects for tracks that have both capture and playback volume
      (and label them differently as well so they're not mistakenly
      assumed to be duplicates); classify mixer tracks that only affect
      the audible volume of something (rather than the capture volume)
      as playback tracks. Redefine/fix meaning of RECORD and MUTE flags
      for capture tracks to correspond to alsa-pswitch alsa-cswitch
      (following the meaning documented in the mixer interface header
      file); add support for alsa's exclusive cswitch groups; update/sync
      state/flags better if mixer settings are changed by another
      application. Fixes #336075.
      6fdb8262
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybin.c: Improve docs: add section about BUFFERING messages sent by playbin. · 83322013
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/playback/gstplaybin.c:
      Improve docs: add section about BUFFERING messages sent by playbin.
      83322013
    • Michael Smith's avatar
      ext/vorbis/vorbisenc.c: Ignore explicit DISCONT marked on buffers (which is... · dbf7690c
      Michael Smith authored
      ext/vorbis/vorbisenc.c: Ignore explicit DISCONT marked on buffers (which is often spurious, particularly when using m...
      
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_push_buffer),
      (gst_vorbis_enc_buffer_check_discontinuous),
      (gst_vorbis_enc_chain):
      Ignore explicit DISCONT marked on buffers (which is often spurious,
      particularly when using multiple segments), in favour of solely
      using the timestamps/durations.
      dbf7690c
    • Edward Hervey's avatar
      gst/audiorate/gstaudiorate.c: Don't rely on incoming buffers offset anymore,... · 317bb22a
      Edward Hervey authored
      gst/audiorate/gstaudiorate.c: Don't rely on incoming buffers offset anymore, since it is completely broken when using...
      
      Original commit message from CVS:
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
      Don't rely on incoming buffers offset anymore, since it is completely
      broken when using multiple segments.
      Instead convert the incoming buffers timestamp to running time, and
      then convert that value to the offsets.
      Also inform GstSegment of the last outputted stop position, which is
      needed if we received several segments with an unknown stop value.
      317bb22a
    • Thomas Vander Stichele's avatar
      ext/vorbis/vorbisenc.c: fix buffer unreffing on a header push failure · 1eb2a256
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain):
      fix buffer unreffing on a header push failure
      1eb2a256
  13. 28 Aug, 2006 3 commits
  14. 25 Aug, 2006 4 commits
    • Michael Smith's avatar
      gst/tcp/gstmultifdsink.c: Fix spelling. · fe2c1e2d
      Michael Smith authored
      Original commit message from CVS:
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
      Fix spelling.
      Remove accidently included debug line.
      fe2c1e2d
    • Wim Taymans's avatar
      gst/tcp/gstmultifdsink.c: Small cleanups. · a6a8d58f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
      Small cleanups.
      If a buffer is received with no caps, make the buffer metadata
      writable and set the caps, making sure that we don't screw up the
      refcounts.
      a6a8d58f
    • Michael Smith's avatar
      gst/gdp/gstgdppay.c: Fix memory leaks and misleading debug messages, add a couple of comments. · e7b2bf11
      Michael Smith authored
      Original commit message from CVS:
      * gst/gdp/gstgdppay.c: (gst_gdp_pay_reset),
      (gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain):
      Fix memory leaks and misleading debug messages, add a couple of
      comments.
      
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats),
      (gst_multi_fd_sink_render):
      Do not use gst_buffer_make_writable() in a basesink render method,
      as it may incorrectly unref the buffer. Instead, use convoluted
      dance to avoid copying the buffer except when we need to.
      e7b2bf11
    • Michael Smith's avatar
      ext/vorbis/vorbisenc.c: Allow very small discontinuities in the timestamps.... · 15b6ea50
      Michael Smith authored
      ext/vorbis/vorbisenc.c: Allow very small discontinuities in the timestamps. These we can't do anything useful with an...
      
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c:
      (gst_vorbis_enc_buffer_check_discontinuous):
      Allow very small discontinuities in the timestamps. These we can't
      do anything useful with anyway (because vorbis's timestamps have
      only sample granularity), and are commonly produced by elements with
      minor bugs. Allow up to 1/2 a sample out.
      Fixes #351742.
      15b6ea50
  15. 24 Aug, 2006 1 commit
    • Wim Taymans's avatar
      tests/examples/seek/seek.c: Add a checkbox to enable play scrubbing. Makes it... · 7aea721e
      Wim Taymans authored
      tests/examples/seek/seek.c: Add a checkbox to enable play scrubbing. Makes it possible to disable normal scrubbing.
      
      Original commit message from CVS:
      * tests/examples/seek/seek.c: (seek_cb), (start_seek), (stop_seek),
      (play_scrub_toggle_cb), (main):
      Add a checkbox to enable play scrubbing. Makes it possible to disable
      normal scrubbing.
      7aea721e