1. 22 Oct, 2008 2 commits
  2. 20 Oct, 2008 3 commits
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstaudiosink.c: Implement a separate activate functions to... · 6eed8ca2
      Wim Taymans authored
      gst-libs/gst/audio/gstaudiosink.c: Implement a separate activate functions to start monitoring the segments or, in pu...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstaudiosink.c:
      (gst_audioringbuffer_class_init), (gst_audioringbuffer_acquire),
      (gst_audioringbuffer_activate), (gst_audioringbuffer_release),
      (gst_audioringbuffer_stop):
      Implement a separate activate functions to start monitoring the segments
      or, in pull mode, pulling in data.
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_init), (gst_base_audio_sink_dispose),
      (gst_base_audio_sink_query_pad), (gst_base_audio_sink_query),
      (gst_base_audio_sink_setcaps), (gst_base_audio_sink_callback),
      (gst_base_audio_sink_activate_pull),
      (gst_base_audio_sink_async_play),
      (gst_base_audio_sink_change_state):
      Implement pad and element convert query function.
      Activate the ringbuffer.
      Use the segment last_stop value as the offset to pull.
      Use new basesink _do_preroll() method to preroll in the pulling thread.
      Take appropriate locking in the pulling thread.
      * gst-libs/gst/audio/gstringbuffer.h:
      Update some docs.
      6eed8ca2
    • Sebastian Dröge's avatar
      gst/typefind/gsttypefindfunctions.c: Improve MXF typefinding a bit by... · e4e86b0b
      Sebastian Dröge authored
      gst/typefind/gsttypefindfunctions.c: Improve MXF typefinding a bit by searching for a header partition pack instead o...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mxf_type_find):
      Improve MXF typefinding a bit by searching for a header partition
      pack instead of just a general partition pack and checking more
      bytes for valid values.
      e4e86b0b
    • Wim Taymans's avatar
      tests/icles/.cvsignore: update ignore file. · 4c2f85f9
      Wim Taymans authored
      Original commit message from CVS:
      * tests/icles/.cvsignore:
      update ignore file.
      * tests/icles/Makefile.am:
      * tests/icles/test-box.c: (make_pipeline), (main):
      Add another interactive command line experimentation suite for
      dynamically boxing/cropping/saling an input video.
      4c2f85f9
  3. 17 Oct, 2008 1 commit
    • Wim Taymans's avatar
      Add methods to more accuratly control the pulling thread of a ringbuffer. · a6b78893
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_convert),
      (gst_ring_buffer_activate), (gst_ring_buffer_is_active):
      * gst-libs/gst/audio/gstringbuffer.h:
      Add methods to more accuratly control the pulling thread of a
      ringbuffer.
      Add format conversion helper code to the ringbuffer.
      API: GstRingBuffer:gst_ring_buffer_activate()
      API: GstRingBuffer:gst_ring_buffer_is_active()
      API: GstRingBuffer:gst_ring_buffer_convert()
      a6b78893
  4. 16 Oct, 2008 4 commits
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstaudiosink.c: Signal thread startup earlier so that we... · 92799960
      Wim Taymans authored
      gst-libs/gst/audio/gstaudiosink.c: Signal thread startup earlier so that we can immediatly go into pull mode when we ...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func),
      (gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
      (gst_audioringbuffer_stop):
      Signal thread startup earlier so that we can immediatly go into pull
      mode when we have to and block on preroll.
      92799960
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstringbuffer.c: In pull mode we want the callback to... · 7bd29abb
      Wim Taymans authored
      gst-libs/gst/audio/gstringbuffer.c: In pull mode we want the callback to prepull a buffer we can preroll on even when...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstringbuffer.c:
      (gst_ring_buffer_prepare_read):
      In pull mode we want the callback to prepull a buffer we can preroll on
      even when we are not yet playing.
      7bd29abb
    • Stefan Kost's avatar
      Don't install static libs for plugins. Fixes #550851 for base. · 2cd4c7e2
      Stefan Kost authored
      Original commit message from CVS:
      * ext/alsa/Makefile.am:
      * ext/cdparanoia/Makefile.am:
      * ext/gio/Makefile.am:
      * ext/gnomevfs/Makefile.am:
      * ext/libvisual/Makefile.am:
      * ext/ogg/Makefile.am:
      * ext/pango/Makefile.am:
      * ext/theora/Makefile.am:
      * ext/vorbis/Makefile.am:
      * gst/adder/Makefile.am:
      * gst/audioconvert/Makefile.am:
      * gst/audiorate/Makefile.am:
      * gst/audioresample/Makefile.am:
      * gst/audiotestsrc/Makefile.am:
      * gst/ffmpegcolorspace/Makefile.am:
      * gst/gdp/Makefile.am:
      * gst/playback/Makefile.am:
      * gst/subparse/Makefile.am:
      * gst/tcp/Makefile.am:
      * gst/typefind/Makefile.am:
      * gst/videorate/Makefile.am:
      * gst/videoscale/Makefile.am:
      * gst/videotestsrc/Makefile.am:
      * gst/volume/Makefile.am:
      * sys/v4l/Makefile.am:
      * sys/ximage/Makefile.am:
      * sys/xvimage/Makefile.am:
      Don't install static libs for plugins. Fixes #550851 for base.
      2cd4c7e2
    • Wim Taymans's avatar
      gst/audiotestsrc/gstaudiotestsrc.c: Set the default blocksize to -1 because we... · 5ad1ebcf
      Wim Taymans authored
      gst/audiotestsrc/gstaudiotestsrc.c: Set the default blocksize to -1 because we will then use the configured samplespe...
      
      Original commit message from CVS:
      * gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_init):
      Set the default blocksize to -1 because we will then use the configured
      samplesperbuffer to create our output buffer.
      5ad1ebcf
  5. 15 Oct, 2008 3 commits
  6. 14 Oct, 2008 1 commit
  7. 13 Oct, 2008 6 commits
    • Robin Stocker's avatar
      ext/theora/: Parse input caps and make the PAR override the encoded PAR when... · cf5c8e42
      Robin Stocker authored
      ext/theora/: Parse input caps and make the PAR override the encoded PAR when specified by a container. Fixes #555699.
      
      Original commit message from CVS:
      Based on patch by: Robin Stocker <robin at nibor dot org>
      * ext/theora/gsttheoradec.h:
      * ext/theora/theoradec.c: (gst_theora_dec_init),
      (theora_dec_setcaps), (theora_handle_type_packet),
      (theora_dec_decode_buffer), (theora_dec_change_state):
      Parse input caps and make the PAR override the encoded PAR when
      specified by a container. Fixes #555699.
      cf5c8e42
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstbasertpdepayload.*: Add some more G_LIKELY · 4ae82906
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain),
      (gst_base_rtp_depayload_set_gst_timestamp),
      (gst_base_rtp_depayload_change_state):
      * gst-libs/gst/rtp/gstbasertpdepayload.h:
      Add some more G_LIKELY
      Fail when the setcaps function was not called.
      * gst-libs/gst/rtp/gstbasertppayload.c:
      (gst_basertppayload_set_outcaps):
      Propagate return value of setcaps.
      4ae82906
    • Sebastian Dröge's avatar
      gst/subparse/: Add support for UTF16/UTF32 subtitles as long as the first... · e7b42af8
      Sebastian Dröge authored
      gst/subparse/: Add support for UTF16/UTF32 subtitles as long as the first bytes of the first buffer contain the BOM. ...
      
      Original commit message from CVS:
      * gst/subparse/Makefile.am:
      * gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
      (gst_sub_parse_class_init), (gst_sub_parse_init),
      (gst_convert_to_utf8), (detect_encoding), (convert_encoding),
      (get_next_line), (gst_sub_parse_data_format_autodetect),
      (feed_textbuf), (handle_buffer), (gst_sub_parse_change_state),
      (gst_subparse_type_find):
      * gst/subparse/gstsubparse.h:
      Add support for UTF16/UTF32 subtitles as long as the first bytes of
      the first buffer contain the BOM. This also adds support for other
      encodings that allow NUL bytes via the encoding property.
      Fixes bugs #552237 and #456788.
      e7b42af8
    • Sebastian Dröge's avatar
      gst-libs/gst/tag/tags.c: Don't drop the last byte of image tags if they're not an URI list. · 796fdbdf
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst-libs/gst/tag/tags.c: (gst_tag_image_data_to_image_buffer):
      Don't drop the last byte of image tags if they're not an URI list.
      Fixes bug #556066.
      796fdbdf
    • Sebastian Dröge's avatar
      gst/typefind/gsttypefindfunctions.c: For looking at the 4th byte we have to... · d0d588ff
      Sebastian Dröge authored
      gst/typefind/gsttypefindfunctions.c: For looking at the 4th byte we have to get 4 bytes of course and not 3.
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (flac_type_find):
      For looking at the 4th byte we have to get 4 bytes of course
      and not 3.
      d0d588ff
    • Sebastian Dröge's avatar
      gst/typefind/gsttypefindfunctions.c: Improve FLAC-without-headers typefinding... · 862fd1d5
      Sebastian Dröge authored
      gst/typefind/gsttypefindfunctions.c: Improve FLAC-without-headers typefinding by looking at most of the frame header ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (flac_type_find):
      Improve FLAC-without-headers typefinding by looking at most of the
      frame header and checking if invalid values are used. Should prevent
      quite some false positives compared to the old version which only
      check if the first 14 bits are set.
      862fd1d5
  8. 11 Oct, 2008 1 commit
  9. 10 Oct, 2008 4 commits
    • Sebastian Dröge's avatar
      Add support for subtitle files with UTF-8 BOM at the beginning by simple... · 60bf6348
      Sebastian Dröge authored
      Add support for subtitle files with UTF-8 BOM at the beginning by simple stripping it from the first line before pass...
      
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c:
      (gst_sub_parse_data_format_autodetect), (handle_buffer),
      (gst_sub_parse_change_state):
      * gst/subparse/gstsubparse.h:
      * tests/check/elements/subparse.c: (GST_START_TEST):
      Add support for subtitle files with UTF-8 BOM at the beginning
      by simple stripping it from the first line before passing it
      to any parsing code. Fixes bug #555257 and playback of files
      created by Gnome Subtitles.
      60bf6348
    • Wim Taymans's avatar
      gst/audiotestsrc/gstaudiotestsrc.*: Define the default property values in the usual place. · 81f5117f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/audiotestsrc/gstaudiotestsrc.c:
      (gst_audio_test_src_class_init), (gst_audio_test_src_init),
      (gst_audio_test_src_src_fixate), (gst_audio_test_src_setcaps),
      (gst_audio_test_src_start), (gst_audio_test_src_stop),
      (gst_audio_test_src_do_seek), (gst_audio_test_src_check_get_range),
      (gst_audio_test_src_create):
      * gst/audiotestsrc/gstaudiotestsrc.h:
      Define the default property values in the usual place.
      Implement start/stop to reset values correctly.
      Calculate the sample size only once when we negotiate.
      Rename some values to make more sense.
      Keep track of our byte range.
      Add support for pull based scheduling. Disabled for now until we have
      the whole stack working.
      Set the BUFFER_OFFSET correctly.
      81f5117f
    • Sebastian Dröge's avatar
      Make the detection of the used subtitle a bit less strict for srt subtitles. Fixes bug #555607. · b735321f
      Sebastian Dröge authored
      Original commit message from CVS:
      Based on a patch by: xavierb at gmail dot com
      * gst/subparse/gstsubparse.c:
      (gst_sub_parse_data_format_autodetect):
      * tests/check/elements/subparse.c: (GST_START_TEST):
      Make the detection of the used subtitle a bit less strict
      for srt subtitles. Fixes bug #555607.
      b735321f
    • Sebastian Dröge's avatar
      ext/vorbis/vorbisenc.c: Fix discontinuity detection which was broken by last commit. · 0d43cf24
      Sebastian Dröge authored
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c:
      (gst_vorbis_enc_buffer_check_discontinuous):
      Fix discontinuity detection which was broken by last commit.
      0d43cf24
  10. 09 Oct, 2008 1 commit
  11. 08 Oct, 2008 12 commits
    • Edward Hervey's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Fix debug statements (space between '%' and actual format). · 57b0f5be
      Edward Hervey authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      Fix debug statements (space between '%' and actual format).
      57b0f5be
    • Wim Taymans's avatar
      gst/playback/gstdecodebin2.c: Remove bogus assert, the decodepad could have... · fbeec415
      Wim Taymans authored
      gst/playback/gstdecodebin2.c: Remove bogus assert, the decodepad could have been created inside an already existing g...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin2.c: (gst_decode_pad_activate):
      Remove bogus assert, the decodepad could have been created inside an
      already existing group.
      fbeec415
    • Andy Wingo's avatar
      changelog · a3887a91
      Andy Wingo authored
      Original commit message from CVS:
      changelog
      a3887a91
    • Andy Wingo's avatar
      gst/playback/gstdecodebin2.c (expose_pad): Fix typo: unset target instead of setting it. · 3329abde
      Andy Wingo authored
      Original commit message from CVS:
      2008-10-08  Andy Wingo  <wingo@pobox.com>
      
      * gst/playback/gstdecodebin2.c (expose_pad): Fix typo: unset
      target instead of setting it.
      (gst_decode_pad_activate, gst_decode_pad_unblock): This is now the
      API for a decode pad. The bugfix is that we set the group in
      activate(), not when the pad was created because it might be NULL
      then.
      (gst_decode_group_control_source_pad, gst_decode_group_expose):
      Update to use the API.
      3329abde
    • Andy Wingo's avatar
      gst/playback/gstdecodebin2.c (struct _GstDecodePad): Change to be a subclass of GstGhostPad. · 6c7e1c8a
      Andy Wingo authored
      Original commit message from CVS:
      2008-10-08  Andy Wingo  <wingo@pobox.com>
      
      * gst/playback/gstdecodebin2.c (struct _GstDecodePad): Change to
      be a subclass of GstGhostPad.
      (analyze_new_pad): So, when emitting the signals that determine
      how we do autoplugging, already create the ghost pad and use it as
      the pad in the signal arguments. This allows applications to make
      a connection between the pad passed in e.g. autoplug-continue, and
      the pad passed in new-decoded-pad.
      (connect_pad, expose_pad): Update to receive the ghosted decode
      pad in the args, retargetting it as necessary if we have to plug
      the target pad through a multiqueue.
      (gst_decode_group_control_source_pad): Adapt to receive an
      already-ghosted pad that just needs activation, blocking, and
      drain notification.
      (sort_end_pads): Adapt for decode pads actually being pads.
      (gst_decode_group_expose): Adapt for decode pads actually being
      pads. Rewrite the decode pad names so they appear in order. Adds a
      new error case if we couldn't set the name.
      (gst_decode_group_free, gst_decode_group_hide): Adapt cleanup
      logic.
      (gst_decode_pad_set_blocked, gst_decode_pad_add_drained_check):
      New API for the decode pad, needed because we shouldn't do these
      things inside gst_decode_pad_new(), but after.
      (gst_decode_pad_new): Change to actually make the real pad, and
      delay the blocking/drainage bits.
      6c7e1c8a
    • Daniel Drake's avatar
      ext/ogg/gstoggmux.c: Unref all buffers when clearing collectpads. Fixes bug #546955. · 43e1dcbd
      Daniel Drake authored
      Original commit message from CVS:
      Patch by: Daniel Drake <dsd at laptop dot org>
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_clear_collectpads):
      Unref all buffers when clearing collectpads. Fixes bug #546955.
      43e1dcbd
    • Klaas's avatar
      ext/vorbis/vorbisenc.*: Keep track of the upstream segments and use the... · 93f2eaa9
      Klaas authored
      ext/vorbis/vorbisenc.*: Keep track of the upstream segments and use the running time on that segment instead of the b...
      
      Original commit message from CVS:
      Based on a patch by: Klaas <klaas at rivercrew dot net>
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_sink_event),
      (gst_vorbis_enc_buffer_check_discontinuous),
      (gst_vorbis_enc_chain), (gst_vorbis_enc_change_state):
      * ext/vorbis/vorbisenc.h:
      Keep track of the upstream segments and use the running time on that
      segment instead of the buffer timestamp everywhere. Fixes bug #525807.
      93f2eaa9
    • Sebastian Dröge's avatar
      gst/audioconvert/audioconvert.c: Prevent overflows with big buffer when... · c915582c
      Sebastian Dröge authored
      gst/audioconvert/audioconvert.c: Prevent overflows with big buffer when calculating the size of the intermediate buff...
      
      Original commit message from CVS:
      * gst/audioconvert/audioconvert.c: (audio_convert_convert):
      Prevent overflows with big buffer when calculating the size of
      the intermediate buffer by using gst_util_uint64_scale() instead of
      plain arithmetics. Fixes bug #552801.
      c915582c
    • Pavel Zeldin's avatar
      ext/pango/gstclockoverlay.*: API: Add ability to specify format for date/time... · 947ecd72
      Pavel Zeldin authored
      ext/pango/gstclockoverlay.*: API: Add ability to specify format for date/time display by adding a "time-format" prope...
      
      Original commit message from CVS:
      Patch by: Pavel Zeldin <pzeldin at gmail dot com>
      * ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time),
      (gst_clock_overlay_class_init), (gst_clock_overlay_finalize),
      (gst_clock_overlay_init), (gst_clock_overlay_set_property),
      (gst_clock_overlay_get_property):
      * ext/pango/gstclockoverlay.h:
      API: Add ability to specify format for date/time display by
      adding a "time-format" property.
      Fixes bug #554879.
      947ecd72
    • Jan Gerber's avatar
      gst-libs/gst/riff/riff-media.c: Add FFV1 fourcc to support playback of FFMPEG... · 76b6a56a
      Jan Gerber authored
      gst-libs/gst/riff/riff-media.c: Add FFV1 fourcc to support playback of FFMPEG lossless video in AVI. Fixes bug #555319.
      
      Original commit message from CVS:
      Patch by: Jan Gerber <j at oil21 dot org>
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
      (gst_riff_create_video_template_caps):
      Add FFV1 fourcc to support playback of FFMPEG lossless video
      in AVI. Fixes bug #555319.
      76b6a56a
    • Håvard Graff's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Implement skew clock slaving. Fixes #552559. · 11086cf6
      Håvard Graff authored
      Original commit message from CVS:
      Patch by: Håvard Graff <havard dot graff at tandberg dot com>
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      Implement skew clock slaving. Fixes #552559.
      11086cf6
    • Wim Taymans's avatar
      gst-libs/gst/audio/: Fix include of config.h · dd01a1e5
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/multichannel.c:
      * gst-libs/gst/audio/testchannels.c:
      Fix include of config.h
      dd01a1e5
  12. 06 Oct, 2008 2 commits
    • Tero Saarni's avatar
      gst-libs/gst/sdp/gstsdpmessage.c: Fix parsing of the c= field containing multicast addresses. · 2f96504f
      Tero Saarni authored
      Original commit message from CVS:
      Based on Patch by: Tero Saarni <tero dot saarni at gmail dot com>
      * gst-libs/gst/sdp/gstsdpmessage.c: (gst_sdp_parse_line),
      (print_media), (gst_sdp_message_dump):
      Fix parsing of the c= field containing multicast addresses.
      Fixes #552199.
      Add the connection info to the session or streams.
      Fix parsing of the bandwidth.
      Add debugging for the connections and bandwidths for a media.
      Add debugging for the bandwidth of the session.
      2f96504f
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstbasertppayload.c: Configure the next seqnum and timestamp... · a2eb0536
      Wim Taymans authored
      gst-libs/gst/rtp/gstbasertppayload.c: Configure the next seqnum and timestamp in the state change so that they can be...
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertppayload.c:
      (gst_basertppayload_change_state):
      Configure the next seqnum and timestamp in the state change so that they
      can be queried soon after.
      a2eb0536