1. 09 Jan, 2007 4 commits
    • Tim-Philipp Müller's avatar
      ext/ogg/Makefile.am: Dist gstoggdemux.h to fix 'make distcheck'. · 056723b9
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/ogg/Makefile.am:
      Dist gstoggdemux.h to fix 'make distcheck'.
      * sys/v4l/Makefile.am:
      Fix 'make distcheck' even more.
      056723b9
    • Wim Taymans's avatar
      Added docs. · 80d666f3
      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/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
      (gst_ogg_pad_query_types), (gst_ogg_pad_submit_page),
      (gst_ogg_chain_reset), (gst_ogg_chain_new_stream),
      (gst_ogg_demux_perform_seek):
      * ext/ogg/gstoggdemux.h:
      Added docs.
      Add some more comments.
      Small cleanups.
      80d666f3
    • Wim Taymans's avatar
      Small documentation updates/fixes · 62ef7da7
      Wim Taymans authored
      Original commit message from CVS:
      * ext/theora/theoradec.c:
      * ext/vorbis/vorbisdec.c:
      * gst-libs/gst/audio/gstringbuffer.c:
      (gst_ring_buffer_commit_full):
      * gst-libs/gst/audio/gstringbuffer.h:
      * gst-libs/gst/rtp/gstrtpbuffer.c:
      * gst-libs/gst/tag/gstvorbistag.c:
      Small documentation updates/fixes
      62ef7da7
    • Tim-Philipp Müller's avatar
      configure.ac: Require core CVS HEAD for Andy's basesrc/sink API additions. · b74b0623
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * configure.ac:
      Require core CVS HEAD for Andy's basesrc/sink API additions.
      b74b0623
  2. 08 Jan, 2007 3 commits
    • Günter Thelen's avatar
      gst/typefind/gsttypefindfunctions.c: Add typefinder for flac-in-ogg in... · 7ccf512b
      Günter Thelen authored
      gst/typefind/gsttypefindfunctions.c: Add typefinder for flac-in-ogg in conformance with the ogg-mapping on flac.sf.ne...
      
      Original commit message from CVS:
      Patch by: Günter Thelen  <daedalus dot inc at gmx net>
      * gst/typefind/gsttypefindfunctions.c: (flac_type_find),
      (plugin_init):
      Add typefinder for flac-in-ogg in conformance with the ogg-mapping
      on flac.sf.net (there appear to be other versions of the first
      ogg page in the wild) (#391365).
      7ccf512b
    • Tim-Philipp Müller's avatar
      configure.ac: Check if localtime_r() is available. · 5fecea65
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * configure.ac:
      Check if localtime_r() is available.
      * ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time):
      If localtime_r() is not available, fall back to localtime(). Should
      fix build on MingW (#393310).
      5fecea65
    • Tim-Philipp Müller's avatar
      gst/subparse/gstsubparse.*: Remove spurious 1000 subtrahend when calculating... · 9052dc46
      Tim-Philipp Müller authored
      gst/subparse/gstsubparse.*: Remove spurious 1000 subtrahend when calculating the timestamp from the frame number and ...
      
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c: (parse_mdvdsub):
      * gst/subparse/gstsubparse.h:
      Remove spurious 1000 subtrahend when calculating the timestamp from
      the frame number and the frame rate . Also, use the frames/second
      value specified in the first line of the file, if one is specified
      there. Should fix #357503.
      * tests/check/elements/subparse.c: (do_test),
      (test_tmplayer_do_test), (test_microdvd_do_test), (GST_START_TEST),
      (subparse_suite):
      Add some basic unit tests for the microdvd subtitle format.
      9052dc46
  3. 07 Jan, 2007 3 commits
    • Young-Ho Cha's avatar
      sys/xvimage/xvimagesink.c: Fixes : #390076. · 71b8a1f3
      Young-Ho Cha authored
      Original commit message from CVS:
      2007-01-07  Julien MOUTTE  <julien@moutte.net>
      
      * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
      (gst_xvimage_buffer_finalize), (gst_xvimagesink_xvimage_new),
      (gst_xvimagesink_xvimage_put),
      (gst_lookup_xv_port_from_adaptor),
      (gst_xvimagesink_get_xv_support), (gst_xvimagesink_setcaps),
      (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_set_event_handling),
      (gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
      (gst_xvimagesink_init), (gst_xvimagesink_class_init):
      Patch by : Young-Ho Cha <ganadist at chollian dot net>
      Fixes : #390076.
      Add an adaptor property to select a specific XV adaptor.
      * sys/xvimage/xvimagesink.h:
      71b8a1f3
    • Julien Moutte's avatar
      sys/: Use flow_lock much more to protect every access to xwindow. · 50d428b9
      Julien Moutte authored
      Original commit message from CVS:
      2007-01-07  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
      (gst_ximagesink_handle_xerror), (gst_ximagesink_ximage_new),
      (gst_ximagesink_ximage_destroy), (gst_ximagesink_ximage_put),
      (gst_ximagesink_handle_xevents), (gst_ximagesink_setcaps),
      (gst_ximagesink_change_state), (gst_ximagesink_set_xwindow_id),
      (gst_ximagesink_expose), (gst_ximagesink_set_event_handling):
      * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
      (gst_xvimage_buffer_finalize), (gst_xvimagesink_handle_xerror),
      (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
      (gst_xvimagesink_handle_xevents), (gst_xvimagesink_setcaps),
      (gst_xvimagesink_change_state),
      (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_expose), (gst_xvimagesink_set_event_handling):
      Use flow_lock much more to protect every access to xwindow.
      Try to catch erros while creating images in case some drivers
      are
      just generating an XError when the requested image is too big.
      Should fix : #354698, #384008, #384060.
      * tests/icles/stress-xoverlay.c: (cycle_window),
      (create_window):
      Implement some stress testing of setting window xid.
      50d428b9
    • Sébastien Moutte's avatar
      win32/common/libgsaudio.def: Add new exported function. · e69b9404
      Sébastien Moutte authored
      Original commit message from CVS:
      * win32/common/libgsaudio.def:
      Add new exported function.
      * win32/common/libgstogg.dsp:
      Add gstoggaviparse.c to the build.
      * win32/common/libgstvideoscale.dsp:
      Add vs_4tap.c to the build.
      * win32/common/libgstvorbis.dsp:
      Add vorbistag.c to the build.
      e69b9404
  4. 06 Jan, 2007 1 commit
    • Andy Wingo's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c (gst_base_audio_sink_class_init) · 85aee8e2
      Andy Wingo authored
      Original commit message from CVS:
      2007-01-06  Andy Wingo  <wingo@pobox.com>
      
      * gst-libs/gst/audio/gstbaseaudiosink.c
      (gst_base_audio_sink_class_init)
      (gst_base_audio_sink_init):
      (gst_base_audio_sink_activate_pull): Add an activate_pull function
      to baseaudiosink, and tell basesink that we can work in pull mode.
      This way the ring buffer thread drives the pipeline directly, if
      pull mode is possible. There is some lingering nastiness regarding
      capsnego, however.
      (gst_base_audio_sink_callback): Implement the callback to pull
      data. This interface is a bit light, though -- it should get a
      GstFlowReturn return value at least.
      85aee8e2
  5. 05 Jan, 2007 5 commits
  6. 04 Jan, 2007 2 commits
    • Thomas Vander Stichele's avatar
      configure.ac: split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS... · 95ada439
      Thomas Vander Stichele authored
      configure.ac: split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS so that GST_BASE_CFLAGS can go inbetwe...
      
      Original commit message from CVS:
      * configure.ac:
      split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS
      so that GST_BASE_CFLAGS can go inbetween them, making sure
      we use uninstalled gst-libs headers
      * docs/libs/Makefile.am:
      * ext/alsa/Makefile.am:
      * ext/cdparanoia/Makefile.am:
      * ext/gnomevfs/Makefile.am:
      * ext/libvisual/Makefile.am:
      * ext/ogg/Makefile.am:
      * ext/theora/Makefile.am:
      * ext/vorbis/Makefile.am:
      * gst-libs/gst/audio/Makefile.am:
      * gst-libs/gst/cdda/Makefile.am:
      * gst-libs/gst/interfaces/Makefile.am:
      * gst-libs/gst/riff/Makefile.am:
      * gst-libs/gst/rtp/Makefile.am:
      * gst-libs/gst/tag/Makefile.am:
      * gst/adder/Makefile.am:
      * gst/audioconvert/Makefile.am:
      * gst/audiorate/Makefile.am:
      * gst/audioresample/Makefile.am:
      * gst/playback/Makefile.am:
      * gst/tcp/Makefile.am:
      * gst/videoscale/Makefile.am:
      * gst/volume/Makefile.am:
      * sys/ximage/Makefile.am:
      * sys/xvimage/Makefile.am:
      * tests/icles/Makefile.am:
      adapt
      95ada439
    • Julien Moutte's avatar
      Add a method to the XOverlay interface to allow disabling of event handling in... · 163ec9ec
      Julien Moutte authored
      Add a method to the XOverlay interface to allow disabling of event handling in x[v]imagesink elements. This will let ...
      
      Original commit message from CVS:
      2007-01-04  Julien MOUTTE  <julien@moutte.net>
      
      * gst-libs/gst/interfaces/xoverlay.c:
      (gst_x_overlay_handle_events):
      * gst-libs/gst/interfaces/xoverlay.h:
      * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
      (gst_ximagesink_set_xwindow_id),
      (gst_ximagesink_set_event_handling),
      (gst_ximagesink_xoverlay_init), (gst_ximagesink_set_property),
      (gst_ximagesink_get_property), (gst_ximagesink_init),
      (gst_ximagesink_class_init):
      * sys/ximage/ximagesink.h:
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new),
      (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_set_event_handling),
      (gst_xvimagesink_xoverlay_init), (gst_xvimagesink_set_property),
      (gst_xvimagesink_get_property), (gst_xvimagesink_init),
      (gst_xvimagesink_class_init):
      * sys/xvimage/xvimagesink.h:
      * tests/icles/stress-xoverlay.c: (toggle_events),
      (create_window):
      Add a method to the XOverlay interface to allow disabling of
      event handling in x[v]imagesink elements. This will let X events
      propagate to parent windows which can be usefull in some cases.
      Be carefull that the application is then responsible of pushing
      navigation events and expose events to the video sink.
      Fixes: #387138.
      163ec9ec
  7. 03 Jan, 2007 1 commit
  8. 01 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      Dist design docs. · c160d9f2
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * configure.ac:
      * docs/Makefile.am:
      * docs/design/Makefile.am:
      Dist design docs.
      c160d9f2
  9. 27 Dec, 2006 2 commits
  10. 22 Dec, 2006 2 commits
    • Stefan Kost's avatar
      tests/check/elements/: Fix the dp tests, but activating the pads for the... · bd988b34
      Stefan Kost authored
      tests/check/elements/: Fix the dp tests, but activating the pads for the streamheader tests too and cleaning up condi...
      
      Original commit message from CVS:
      * tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
      (setup_gdpdepay_streamheader):
      * tests/check/elements/gdppay.c: (cleanup_gdppay),
      (setup_gdppay_streamheader):
      Fix the dp tests, but activating the pads for the streamheader tests
      too and cleaning up conditionaly
      bd988b34
    • Jan Schmidt's avatar
      gst/ffmpegcolorspace/: Add 2 new caps arrangements, for 24-bit RGB and BGR in... · 3da0606f
      Jan Schmidt authored
      gst/ffmpegcolorspace/: Add 2 new caps arrangements, for 24-bit RGB and BGR in 32-bits, but at the other end of the wo...
      
      Original commit message from CVS:
      * gst/ffmpegcolorspace/avcodec.h:
      * gst/ffmpegcolorspace/gstffmpegcodecmap.c:
      (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
      (gst_ffmpegcsp_avpicture_fill):
      * gst/ffmpegcolorspace/imgconvert.c: (img_convert),
      (img_get_alpha_info):
      Add 2 new caps arrangements, for 24-bit RGB and BGR in 32-bits, but at the
      other end of the word. Fixes: #387073.
      Add some inconsequential branch hints in a couple of places.
      3da0606f
  11. 21 Dec, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst/ffmpegcolorspace/gstffmpegcodecmap.c: The "signed" field in raw audio caps... · d07b7ac5
      Tim-Philipp Müller authored
      gst/ffmpegcolorspace/gstffmpegcodecmap.c: The "signed" field in raw audio caps is of boolean type, trying to extract ...
      
      Original commit message from CVS:
      * gst/ffmpegcolorspace/gstffmpegcodecmap.c:
      (gst_ffmpeg_caps_to_smpfmt):
      The "signed" field in raw audio caps is of boolean type, trying to
      extract the value with _get_int() will fail (fix to keep in sync with
      the copy in gst-ffmpeg)
      d07b7ac5
    • Stefan Kost's avatar
      tests/check/elements/: consistent pad (de)activation · 5f8d6ab7
      Stefan Kost authored
      Original commit message from CVS:
      * tests/check/elements/audioresample.c: (cleanup_audioresample):
      * tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc):
      * tests/check/elements/gdpdepay.c: (setup_gdpdepay),
      (cleanup_gdpdepay):
      * tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay):
      * tests/check/elements/subparse.c: (teardown_subparse):
      * tests/check/elements/textoverlay.c: (cleanup_textoverlay):
      * tests/check/elements/videorate.c: (cleanup_videorate):
      * tests/check/elements/videotestsrc.c: (cleanup_videotestsrc):
      * tests/check/elements/volume.c: (cleanup_volume):
      * tests/check/elements/vorbisdec.c: (setup_vorbisdec),
      (cleanup_vorbisdec):
      * tests/check/elements/vorbistag.c: (setup_vorbistag),
      (cleanup_vorbistag):
      consistent pad (de)activation
      5f8d6ab7
  12. 20 Dec, 2006 2 commits
  13. 16 Dec, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only... · a4c0d0b8
      Tim-Philipp Müller authored
      gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want to recognise it as a 'raw' decoded ...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (type_found):
      Special-case the text/plain media type: we only want to recognise it
      as a 'raw' decoded media type if it comes from a demuxer or subtitle
      parser, but not if the entire stream is of text/plain type. If the
      entire stream is text/plain, we should just error out.
      This fixes playback of audio files with lyrics in totem. Totem can't
      distinguish between text files and subtitle files and passes any
      .txt file with the same basename as the main file to playbin as
      suburi, and playbin will then throw a 'subtitle found, but no video
      stream' error, which isn't entirely helpful. See #380342.
      Also, with this change we'll show a slightly more correct error
      message in case totem passes a playlist file to us (although a
      custom error message wording instead of the default text would
      probably not be a bad idea either).
      Same problem also needs to be fixed for playbin+decodebin2.
      * tests/check/Makefile.am:
      * tests/check/elements/decodebin.c: (src_handoff_cb),
      (decodebin_new_decoded_pad_cb), (GST_START_TEST),
      (decodebin_suite):
      Add simple unit test for decodebin for the above.
      a4c0d0b8
    • Tim-Philipp Müller's avatar
      gst/playback/: Refuse to change state to READY when we failed to create any of... · 95f46c1f
      Tim-Philipp Müller authored
      gst/playback/: Refuse to change state to READY when we failed to create any of the required elements in our instance ...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (gst_decode_bin_change_state):
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_change_state):
      Refuse to change state to READY when we failed to create any of the
      required elements in our instance init function.
      95f46c1f
  14. 15 Dec, 2006 2 commits
    • Tim-Philipp Müller's avatar
      docs/libs/gst-plugins-base-libs-sections.txt: Small docs fixes/updates. · 20862a85
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      Small docs fixes/updates.
      * gst-libs/gst/video/gstvideosink.h:
      Remove nonfunctional GST_VIDEO_SINK_CLOCK macro which is a leftover
      from the 0.9 days (GST_BASE_SINK_CLOCK, which it points to, was
      removed from the base sink API between 0.9.6 and 0.9.7).
      API: add GST_VIDEO_SINK_CAST and use it for the height/width
      accessor macros, so we don't do a runtime GObject type check every
      time we use them.
      20862a85
    • Thomas Vander Stichele's avatar
      add doap file · 3f1b92db
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * Makefile.am:
      * gst-plugins-base.doap:
      * gst-plugins-base.spec.in:
      add doap file
      3f1b92db
  15. 09 Dec, 2006 1 commit
    • Jens Granseuer's avatar
      Declare variables at the beginning of a block. Fixes #383195. · 595217e8
      Jens Granseuer authored
      Original commit message from CVS:
      Patch by: Jens Granseuer <jensgr at gmx net>
      * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
      * gst-libs/gst/rtp/gstbasertpaudiopayload.c:
      (gst_base_rtp_audio_payload_handle_frame_based_buffer),
      (gst_base_rtp_audio_payload_handle_sample_based_buffer):
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
      Declare variables at the beginning of a block. Fixes #383195.
      595217e8
  16. 07 Dec, 2006 2 commits
  17. 05 Dec, 2006 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: Handle the case where an element has multiple... · 35fa7a7f
      Jan Schmidt authored
      gst/playback/gstdecodebin.c: Handle the case where an element has multiple pads with unfixed caps as well as still po...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (find_dynamic), (dynamic_add),
      (close_pad_link), (elem_is_dynamic), (unlinked), (close_link):
      Handle the case where an element has multiple pads with
      unfixed caps as well as still possibly producing more dynamic
      pads by storing each case as a distinct entry in the dynamic list.
      Fixes #38223 again.
      35fa7a7f
  18. 04 Dec, 2006 1 commit
  19. 01 Dec, 2006 2 commits
    • Michael Smith's avatar
      gst/audiorate/gstaudiorate.c: Delete bad debug code. · ff480c70
      Michael Smith authored
      Original commit message from CVS:
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
      Delete bad debug code.
      Fixes #381219
      ff480c70
    • Sergey Scobich's avatar
      Fix compilation on win32 under VS8 · 748960f9
      Sergey Scobich authored
      Original commit message from CVS:
      * gst/videoscale/vs_4tap.c:
      * win32/MANIFEST:
      * win32/common/config.h:
      * win32/vs8/libgstvideoscale.vcproj:
      Fix compilation on win32 under VS8
      Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
      Partially fixes #381175
      748960f9
  20. 30 Nov, 2006 1 commit
    • Michael Smith's avatar
      tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont... · 0230754d
      Michael Smith authored
      tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer, we thought every single following...
      
      Original commit message from CVS:
      * tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
      (GST_START_TEST):
      It would be very bad if, after a discont buffer, we thought every
      single following buffer was also discont. So, add to the test to
      ensure that this isn't the case.
      
      * ext/theora/theoraenc.c: (theora_enc_is_discontinuous):
      ... it was the case. So fix it.
      0230754d