1. 03 Jun, 2008 3 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/tag/: API: add gst_tag_image_data_to_image_buffer() · cd9bb9a6
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_add_id3_image):
      * gst-libs/gst/tag/tag.h: (GST_TAG_IMAGE_TYPE_NONE),
      * gst-libs/gst/tag/tags.c: (register_tag_image_type_enum),
      (gst_tag_image_type_get_type), (gst_tag_image_type_is_valid),
      (gst_tag_image_data_to_image_buffer):
      Add two utility functions to avoid code duplication (#512333):
      API: add gst_tag_image_data_to_image_buffer()
      API: add gst_tag_list_add_id3_image()
      cd9bb9a6
    • Sebastian Dröge's avatar
      win32/common/libgstaudio.def: Add gst_audio_check_channel_positions() to the exported symbols. · eb93e073
      Sebastian Dröge authored
      Original commit message from CVS:
      * win32/common/libgstaudio.def:
      Add gst_audio_check_channel_positions() to the exported symbols.
      eb93e073
    • Sebastian Dröge's avatar
      API: Make gst_audio_check_channel_positions() public. · 0de81029
      Sebastian Dröge authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/audio/multichannel.c:
      (gst_audio_check_channel_positions):
      * gst-libs/gst/audio/multichannel.h:
      API: Make gst_audio_check_channel_positions() public.
      * tests/check/libs/audio.c: (GST_START_TEST):
      Add some simple checks for gst_audio_check_channel_positions().
      0de81029
  2. 02 Jun, 2008 3 commits
  3. 31 May, 2008 3 commits
    • Mark Nauwelaerts's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Add a gtk-doc chunk for the new... · 9fa61c52
      Mark Nauwelaerts authored
      gst-libs/gst/audio/gstbaseaudiosrc.c: Add a gtk-doc chunk for the new properties to have a Since: indication.
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init):
      Add a gtk-doc chunk for the new properties to have a Since: indication.
      9fa61c52
    • Mark Nauwelaerts's avatar
      ChangeLog surgery, mark API change · 1985500e
      Mark Nauwelaerts authored
      Original commit message from CVS:
      ChangeLog surgery, mark API change
      1985500e
    • Mark Nauwelaerts's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Provide readable actual-buffer-time and... · c660bbd6
      Mark Nauwelaerts authored
      gst-libs/gst/audio/gstbaseaudiosrc.c: Provide readable actual-buffer-time and actual-latency-time properties that ref...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init), (gst_base_audio_src_dispose),
      (gst_base_audio_src_get_property), (gst_base_audio_src_setcaps),
      (gst_base_audio_src_change_state):
      Provide readable actual-buffer-time and actual-latency-time properties
      that reflect the configured ringbuffer values. Fixes #524724.
      c660bbd6
  4. 30 May, 2008 2 commits
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstbasertppayload.c: Simply converting the running time into... · 11309247
      Wim Taymans authored
      gst-libs/gst/rtp/gstbasertppayload.c: Simply converting the running time into an RTP timestamp by scaling it based on...
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push),
      (gst_basertppayload_change_state):
      Simply converting the running time into an RTP timestamp by scaling it
      based on the clock-rate is good enough for making an RTP timestamp. This
      has the added benefit that we can later on expose a property with the
      RTP timestamp of running time 0, as is needed for RTSP servers to
      generate the response of the PLAY request.
      11309247
    • Sebastian Dröge's avatar
      gst/audioconvert/gstaudioconvert.c: Allow up to 11 positioned channels now... · fdd708c4
      Sebastian Dröge authored
      gst/audioconvert/gstaudioconvert.c: Allow up to 11 positioned channels now that audioconvert can handle this but add ...
      
      Original commit message from CVS:
      * gst/audioconvert/gstaudioconvert.c:
      (structure_has_fixed_channel_positions),
      (gst_audio_convert_transform_caps):
      Allow up to 11 positioned channels now that audioconvert can handle
      this but add no default positions for > 8 channels.
      * tests/check/elements/audioconvert.c: (GST_START_TEST):
      Add some unit tests for the above change: Test conversion of
      11 positioned channels to stereo and the other way around, test
      conversion of 15 unpositioned channels in different ways.
      fdd708c4
  5. 29 May, 2008 5 commits
    • Sebastian Dröge's avatar
      win32/common/libgstaudio.def: Add gst_audio_clock_reset to the list of exported symbols. · 79cf1cf8
      Sebastian Dröge authored
      Original commit message from CVS:
      * win32/common/libgstaudio.def:
      Add gst_audio_clock_reset to the list of exported symbols.
      79cf1cf8
    • Sebastian Dröge's avatar
      tests/check/elements/vorbisdec.c: Remove wrong_channels_identification_header... · ca7a0b8e
      Sebastian Dröge authored
      tests/check/elements/vorbisdec.c: Remove wrong_channels_identification_header unit test as we now support 7 (and more...
      
      Original commit message from CVS:
      * tests/check/elements/vorbisdec.c: (vorbisdec_suite):
      Remove wrong_channels_identification_header unit test as we now
      support 7 (and more channels).
      ca7a0b8e
    • Sebastian Dröge's avatar
      gst/audioconvert/gstchannelmix.c: If mixing left or right to center (or the... · b86a5d43
      Sebastian Dröge authored
      gst/audioconvert/gstchannelmix.c: If mixing left or right to center (or the other way around) only take the complete ...
      
      Original commit message from CVS:
      * gst/audioconvert/gstchannelmix.c:
      (gst_channel_mix_fill_one_other):
      If mixing left or right to center (or the other way around) only take
      the complete value if we don't already have the original position in
      the source.
      b86a5d43
    • Sebastian Dröge's avatar
      gst-libs/gst/audio/multichannel.c: Allow rear center together with rear... · 45ef6b5e
      Sebastian Dröge authored
      gst-libs/gst/audio/multichannel.c: Allow rear center together with rear left/right and other previously conflicting c...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/multichannel.c:
      (gst_audio_check_channel_positions),
      (gst_audio_set_structure_channel_positions_list),
      (gst_audio_fixate_channel_positions):
      Allow rear center together with rear left/right and other previously
      conflicting channel positions. The reason why they weren't allowed
      was the channel mixing implementation in audioconvert.
      Also take this into account when fixing channel layouts.
      Allow setting channel positions for 1/2 channels when using
      gst_audio_set_structure_channel_position().
      * gst/audioconvert/gstchannelmix.c:
      (gst_channel_mix_fill_compatible), (gst_channel_mix_detect_pos),
      (gst_channel_mix_fill_one_other), (gst_channel_mix_fill_others),
      (gst_channel_mix_fill_special), (gst_channel_mix_fill_matrix):
      Major rewrite of the channel mixing.
      We now allow previously	conflicting channel positions to appear
      together (rear center and rear left/right for example).
      Fixes bug #533817.
      Rework the way channels are mixed together to take more possible
      channel positions into account, properly mix from/to side channels
      and don't assume that either center, left&right or nothing of a
      specific position is available anymore.
      * tests/check/elements/audioconvert.c: (GST_START_TEST):
      Adjust unit tests with non-standard 1/2 channel layouts to the more
      correct new behaviour.
      Add a unit test for 5.1->Stereo downmixing.
      45ef6b5e
    • Sebastian Dröge's avatar
      ext/vorbis/: Add sane defaults for the 7 and 8 channel layouts as those are... · 31b67759
      Sebastian Dröge authored
      ext/vorbis/: Add sane defaults for the 7 and 8 channel layouts as those are undefined in the Vorbis spec. Use NONE ch...
      
      Original commit message from CVS:
      * ext/vorbis/vorbisdec.c: (vorbis_handle_identification_packet):
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_generate_sink_caps):
      Add sane defaults for the 7 and 8 channel layouts as those are
      undefined in the Vorbis spec. Use NONE channel layouts when decoding
      more than 8 channels instead of erroring out. Fixes bug #535356.
      31b67759
  6. 28 May, 2008 5 commits
    • Wim Taymans's avatar
      Add theoraparse to the docs and fix some docs. · 1a3053b2
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-docs.sgml:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * ext/theora/theoraparse.c:
      Add theoraparse to the docs and fix some docs.
      1a3053b2
    • Wim Taymans's avatar
      gst-libs/gst/cdda/gstcddabasesrc.c: Fix EOS condition and track addition... · 2855fb48
      Wim Taymans authored
      gst-libs/gst/cdda/gstcddabasesrc.c: Fix EOS condition and track addition check, the track.end sector is included in t...
      
      Original commit message from CVS:
      * gst-libs/gst/cdda/gstcddabasesrc.c:
      (gst_cdda_base_src_add_track), (gst_cdda_base_src_create):
      Fix EOS condition and track addition check, the track.end sector is
      included in the track. Fixes #533265.
      2855fb48
    • Mark Nauwelaerts's avatar
      gst/videorate/gstvideorate.*: React (more) to NEWSEGMENT · 17b17a56
      Mark Nauwelaerts authored and Wim Taymans's avatar Wim Taymans committed
      Original commit message from CVS:
      Patch by: Mark Nauwelaerts <manauw at skynet be>
      * gst/videorate/gstvideorate.c: (gst_video_rate_reset),
      (gst_video_rate_flush_prev), (gst_video_rate_event),
      (gst_video_rate_chain):
      * gst/videorate/gstvideorate.h:
      React (more) to NEWSEGMENT
      Small adjustment in timestamp calculation to prevent mismatches
      Fixes #435633.
      17b17a56
    • Tim-Philipp Müller's avatar
      tests/examples/seek/seek.c: Initialise error to NULL as we should. · b82c4cee
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tests/examples/seek/seek.c: (make_parselaunch_pipeline):
      Initialise error to NULL as we should.
      b82c4cee
    • Sebastian Dröge's avatar
      gst/adder/gstadder.c: Implement latency query. · 57c3aa9b
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/adder/gstadder.c: (gst_adder_query_duration),
      (gst_adder_query_latency), (gst_adder_query):
      Implement latency query.
      57c3aa9b
  7. 27 May, 2008 6 commits
    • Sebastian Dröge's avatar
      gst/adder/gstadder.c: Correctly resync the iterator if gst_iterator_next() returns · 4ccac97b
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/adder/gstadder.c: (gst_adder_query_duration):
      Correctly resync the iterator if gst_iterator_next() returns
      GST_ITERATOR_RESYNC.
      4ccac97b
    • Tim-Philipp Müller's avatar
      win32/vs6/libgstpbutils.dsp: Add pbutils-enumtypes.c to sources (#518037). · 5d121dd6
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * win32/vs6/libgstpbutils.dsp:
      Add pbutils-enumtypes.c to sources (#518037).
      5d121dd6
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstaudioclock.*: Add method to inform the clock that the... · 35e4b75b
      Wim Taymans authored
      gst-libs/gst/audio/gstaudioclock.*: Add method to inform the clock that the time starts from 0 again. We use this inf...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_init),
      (gst_audio_clock_reset), (gst_audio_clock_get_internal_time):
      * gst-libs/gst/audio/gstaudioclock.h:
      Add method to inform the clock that the time starts from 0 again. We use
      this info to calculate a clock offset so that the time we report in
      internal_time is monotonically increasing, as required by the clock base
      class. Fixes #521761.
      API: GstAudioClock::gst_audio_clock_reset()
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_skew_slaving),
      (gst_base_audio_sink_change_state):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create), (gst_base_audio_src_change_state):
      Reset reported time when we (re)create the ringbuffer.
      35e4b75b
    • Tim-Philipp Müller's avatar
      ext/alsa/gstalsamixertrack.c: Make sure playback volumes aren't accidentally... · dc9eb0d6
      Tim-Philipp Müller authored
      ext/alsa/gstalsamixertrack.c: Make sure playback volumes aren't accidentally overwritten by capture volumes if an als...
      
      Original commit message from CVS:
      * ext/alsa/gstalsamixertrack.c:
      (gst_alsa_mixer_track_update_alsa_capabilities):
      Make sure playback volumes aren't accidentally overwritten by
      capture volumes if an alsa mixer track has both playback and
      capture capabilities: we create two GstMixerTracks in that
      case, so make sure we query only the alsa capabilities that
      refer to the type of GstMixerTrack we created from the dual
      capability alsa element. Should fix issues with Audigy2 sound
      cards (#518082).
      dc9eb0d6
    • Tim-Philipp Müller's avatar
      tests/check/pipelines/oggmux.c: Don't use deprecated function. · 555feaa1
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tests/check/pipelines/oggmux.c: (test_pipeline):
      Don't use deprecated function.
      555feaa1
    • Wim Taymans's avatar
      gst/playback/gstdecodebin2.c: Check for NULL cases and log them, creating... · 514b8fa4
      Wim Taymans authored
      gst/playback/gstdecodebin2.c: Check for NULL cases and log them, creating ghostpads can, for example, fail when the p...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin2.c:
      (gst_decode_group_control_source_pad), (gst_decode_group_expose):
      Check for NULL cases and log them, creating ghostpads can, for example,
      fail when the pad returns wrong caps.
      * gst/playback/gstplaybin2.c: (perform_eos):
      When pushing out the EOS event, collect the return value and warn when
      something failed.
      514b8fa4
  8. 26 May, 2008 3 commits
  9. 25 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      Limit duration to a maximum of five seconds for tmplayer format where we can... · 206f9199
      Tim-Philipp Müller authored
      Limit duration to a maximum of five seconds for tmplayer format where we can guess the duration only from the timesta...
      
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c: (parser_state_init),
      (gst_sub_parse_format_autodetect), (handle_buffer):
      * gst/subparse/gstsubparse.h:
      * tests/check/elements/subparse.c: (test_tmplayer_style3b):
      Limit duration to a maximum of five seconds for tmplayer format where
      we can guess the duration only from the timestamp of the next line of
      text. We don't want to show a text for eternities just because nothing
      else is being said for a while.
      206f9199
  10. 23 May, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstbasertpdepayload.c: Check sequence numbers, mark input... · 79a72514
      Wim Taymans authored
      gst-libs/gst/rtp/gstbasertpdepayload.c: Check sequence numbers, mark input buffers with a discont flag for the subcla...
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_chain),
      (gst_base_rtp_depayload_handle_sink_event),
      (gst_base_rtp_depayload_push_full),
      (gst_base_rtp_depayload_change_state):
      Check sequence numbers, mark input buffers with a discont flag for the
      subclass when we detected a gap, drop duplicate buffers. We do this
      because one can use the element without a jitterbuffer in front and we
      don't want to feed the subclasses invalid or reordered data.
      Do an error when the subclass did not provide a process function instead
      of crashing.
      Some other small cleanups.
      79a72514
  11. 22 May, 2008 4 commits
    • Tim-Philipp Müller's avatar
      gst/videotestsrc/videotestsrc.c: May just as well use the precalculated uvstride here. · 747d52ad
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/videotestsrc/videotestsrc.c: (paint_hline_NV12_NV21):
      May just as well use the precalculated uvstride here.
      747d52ad
    • Jan Schmidt's avatar
      Add some documentation comments, and some new headers to be scanned. · d58def62
      Jan Schmidt authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-overrides.txt:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * docs/plugins/gst-plugins-base-plugins.args:
      * docs/plugins/gst-plugins-base-plugins.hierarchy:
      * docs/plugins/gst-plugins-base-plugins.interfaces:
      * docs/plugins/gst-plugins-base-plugins.prerequisites:
      * docs/plugins/inspect/plugin-adder.xml:
      * docs/plugins/inspect/plugin-alsa.xml:
      * docs/plugins/inspect/plugin-audioconvert.xml:
      * docs/plugins/inspect/plugin-audiorate.xml:
      * docs/plugins/inspect/plugin-audioresample.xml:
      * docs/plugins/inspect/plugin-audiotestsrc.xml:
      * docs/plugins/inspect/plugin-cdparanoia.xml:
      * docs/plugins/inspect/plugin-decodebin.xml:
      * docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
      * docs/plugins/inspect/plugin-gdp.xml:
      * docs/plugins/inspect/plugin-gio.xml:
      * docs/plugins/inspect/plugin-gnomevfs.xml:
      * docs/plugins/inspect/plugin-libvisual.xml:
      * docs/plugins/inspect/plugin-ogg.xml:
      * docs/plugins/inspect/plugin-pango.xml:
      * docs/plugins/inspect/plugin-playback.xml:
      * docs/plugins/inspect/plugin-queue2.xml:
      * docs/plugins/inspect/plugin-subparse.xml:
      * docs/plugins/inspect/plugin-tcp.xml:
      * docs/plugins/inspect/plugin-theora.xml:
      * docs/plugins/inspect/plugin-typefindfunctions.xml:
      * docs/plugins/inspect/plugin-uridecodebin.xml:
      * docs/plugins/inspect/plugin-video4linux.xml:
      * docs/plugins/inspect/plugin-videorate.xml:
      * docs/plugins/inspect/plugin-videoscale.xml:
      * docs/plugins/inspect/plugin-videotestsrc.xml:
      * docs/plugins/inspect/plugin-volume.xml:
      * docs/plugins/inspect/plugin-vorbis.xml:
      * docs/plugins/inspect/plugin-ximagesink.xml:
      * docs/plugins/inspect/plugin-xvimagesink.xml:
      * ext/cdparanoia/gstcdparanoiasrc.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggdemux.h:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggmux.h:
      * gst/audioconvert/audioconvert.c:
      * gst/audioconvert/audioconvert.h:
      * gst/audioconvert/gstaudioconvert.h:
      * gst/gdp/gstgdpdepay.h:
      * gst/gdp/gstgdppay.h:
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstdecodebin2.c:
      * gst/playback/gstplaybin.c:
      * gst/playback/gstplaybin2.c:
      * gst/playback/gsturidecodebin.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gstmultifdsink.h:
      * gst/tcp/gsttcp.h:
      Add some documentation comments, and some new headers to be scanned.
      Rename some internal enum declarations (audioconvert's DitherType and
      NoiseShapingType, GstUnitType from the TCP elements) to match the
      documented GObject type names so that the docs pick them up.
      Name the playbin2 docs markups properly so they get picked up. They'll
      need renaming back when/if playbin2 becomes playbin.
      100% symbol coverage for the plugin docs, booya.
      d58def62
    • Thijs Vermeir's avatar
      gst/videotestsrc/videotestsrc.c: Fix generation of NV12/NV21 frames. Fixes bug #532454. · 88b1e8ef
      Thijs Vermeir authored and Sebastian Dröge's avatar Sebastian Dröge committed
      Original commit message from CVS:
      Patch by: Thijs Vermeir <thijsvermeir@gmail.com>
      * gst/videotestsrc/videotestsrc.c: (paint_hline_NV12_NV21):
      Fix generation of NV12/NV21 frames. Fixes bug #532454.
      88b1e8ef
    • Sjoerd Simons's avatar
      gst/playback/gstdecodebin.c: Lock the fakesink before setting the state to... · 1c424d9d
      Sjoerd Simons authored and Wim Taymans's avatar Wim Taymans committed
      gst/playback/gstdecodebin.c: Lock the fakesink before setting the state to NULL and removing it from the bin so that ...
      
      Original commit message from CVS:
      Patch by: Sjoerd Simons <sjoerd at luon dot net>
      * gst/playback/gstdecodebin.c: (remove_fakesink):
      Lock the fakesink before setting the state to NULL and removing it from
      the bin so that a concurrent state change cannot interfere.
      Fixes #534331.
      1c424d9d
  12. 21 May, 2008 4 commits