1. 02 May, 2008 4 commits
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstbasertpdepayload.*: Catch packet-lost events from the... · f0f6476a
      Wim Taymans authored
      gst-libs/gst/rtp/gstbasertpdepayload.*: Catch packet-lost events from the jitterbuffer and convert them into a vmetho...
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_class_init),
      (gst_base_rtp_depayload_handle_sink_event), (create_segment_event),
      (gst_base_rtp_depayload_packet_lost),
      (gst_base_rtp_depayload_set_gst_timestamp):
      * gst-libs/gst/rtp/gstbasertpdepayload.h:
      Catch packet-lost events from the jitterbuffer and convert them into a
      vmethod call (lost-packet) so that depayloaders can do something smart.
      Also add a default packet-lost function that sends out a segment update
      to the decoders.
      f0f6476a
    • Stefan Kost's avatar
      gst/playback/: Also include config.h when relying on defines from it. Fixes... · 2b843ca6
      Stefan Kost authored
      gst/playback/: Also include config.h when relying on defines from it. Fixes the build. Its been a please to serve :)
      
      Original commit message from CVS:
      * gst/playback/test4.c:
      * gst/playback/test5.c:
      * gst/playback/test6.c:
      * gst/playback/test7.c:
      Also include config.h when relying on defines from it. Fixes the
      build. Its been a please to serve :)
      2b843ca6
    • Thijs Vermeir's avatar
      Add support for NV12 and NV21 in videotestsrc · 32c304ad
      Thijs Vermeir authored
      Original commit message from CVS:
      * gst/videotestsrc/videotestsrc.c (paint_setup_NV12),
      (paint_setup_NV21), (paint_hline_NV12_NV21):
      Add support for NV12 and NV21 in videotestsrc
      32c304ad
    • Sebastian Dröge's avatar
      gst/videoscale/: Support 1x1 images as input and output as for example the BBC... · abbce230
      Sebastian Dröge authored
      gst/videoscale/: Support 1x1 images as input and output as for example the BBC HQ new streams have 1x1 GIFs in the pl...
      
      Original commit message from CVS:
      * gst/videoscale/gstvideoscale.c:
      * gst/videoscale/vs_4tap.c: (vs_image_scale_4tap_Y):
      * gst/videoscale/vs_image.c: (vs_image_scale_nearest_RGBA),
      (vs_image_scale_linear_RGBA), (vs_image_scale_nearest_RGB),
      (vs_image_scale_linear_RGB), (vs_image_scale_nearest_YUYV),
      (vs_image_scale_linear_YUYV), (vs_image_scale_nearest_UYVY),
      (vs_image_scale_linear_UYVY), (vs_image_scale_nearest_Y),
      (vs_image_scale_linear_Y), (vs_image_scale_nearest_RGB565),
      (vs_image_scale_linear_RGB565), (vs_image_scale_nearest_RGB555),
      (vs_image_scale_linear_RGB555):
      Support 1x1 images as input and output as for example the BBC HQ new
      streams have 1x1 GIFs in the playlists for some reason.
      abbce230
  2. 01 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/gstdecodebin.c: If we can't activate one of the decoders we... · ea0d78e8
      Tim-Philipp Müller authored
      gst/playback/gstdecodebin.c: If we can't activate one of the decoders we plugged in (such as, say, musepackdec) for s...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (free_pad_probe_for_element),
      (try_to_link_1):
      If we can't activate one of the decoders we plugged in (such as,
      say, musepackdec) for some reason (it might not support push mode,
      for example), remove any pad probes that close_pad_link() might
      have set up. This makes sure we later don't try to remove a probe
      for a pad that doesn't exist any longer, and avoids nast warnings
      and probably other things too.
      ea0d78e8
  3. 30 Apr, 2008 3 commits
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Rework mpeg video stream typefinding a... · f8977b9e
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Rework mpeg video stream typefinding a bit more: make sure sequence,
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c:
      (mpeg_video_stream_ctx_ensure_data), (mpeg_video_stream_type_find),
      (plugin_init):
      Rework mpeg video stream typefinding a bit more: make sure sequence,
      GOP, picture and slice headers appear in the order they should and
      that we've in fact at least had one of each; fix picture header
      detection; decouple picture and slice header check - don't assume
      they're at a fixed offset, there may be extra data in between. Also,
      announce varying degrees of probability depending on what we found
      exactly (multiple pictures, at least one picture, just sequence and
      GOP headers). Finally, in _ensure_data(), take into account that we
      might be typefinding smaller amounts of data, such as the first
      buffer of a stream, so fall back to the minimum size needed as long
      as that's available, instead of erroring out if there's less than
      2kB of data. Fixes #526173. Conveniently also doesn't recognise the
      fuzzed file from #399342 as valid.
      f8977b9e
    • Michael Smith's avatar
      ext/theora/theoradec.c: Cool kids don't divide by zero. · 0947ecf7
      Michael Smith authored
      Original commit message from CVS:
      * ext/theora/theoradec.c:
      Cool kids don't divide by zero.
      Treat PAR of x:0 as 1:1.
      Fixes #530719.
      0947ecf7
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Refactor a bit: use context structure to... · 5f6db60a
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Refactor a bit: use context structure to track parsing offset and size of availa...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (MpegVideoStreamCtx),
      (mpeg_video_stream_ctx_advance), (mpeg_video_stream_ctx_ensure_data),
      (mpeg_video_stream_type_find):
      Refactor a bit: use context structure to track parsing offset and size of
      available data and make the code a bit clearer. Fixes bad memory access
      in #356937.
      5f6db60a
  4. 28 Apr, 2008 2 commits
    • Michael Smith's avatar
      gst/: Include stdlib.h and unistd.h only if the appropriate HAVE_*_H macro is defined. · 802c45b1
      Michael Smith authored
      Original commit message from CVS:
      * gst/playback/test4.c:
      * gst/playback/test5.c:
      * gst/playback/test6.c:
      * gst/tcp/gstmultifdsink.c:
      Include stdlib.h and unistd.h only if the appropriate HAVE_*_H macro
      is defined.
      802c45b1
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.h: Clarify some docs. · 7916e386
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      Clarify some docs.
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (slave_method_get_type),
      (gst_base_audio_src_class_init), (gst_base_audio_src_init),
      (gst_base_audio_src_set_slave_method),
      (gst_base_audio_src_get_slave_method),
      (gst_base_audio_src_set_property),
      (gst_base_audio_src_get_property), (gst_base_audio_src_create):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      Add property and methods for selecting the clock slave method in the
      source, like in the sink.
      We only implement "none" and "re-timestamp" for now.
      API: gst_base_audio_src_set_slave_method()
      API: gst_base_audio_src_get_slave_method()
      7916e386
  5. 25 Apr, 2008 2 commits
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsink.*: Add more docs. · 0c5d01b5
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init),
      (gst_app_sink_init), (gst_app_sink_set_property),
      (gst_app_sink_get_property), (gst_app_sink_event),
      (gst_app_sink_preroll), (gst_app_sink_render),
      (gst_app_sink_set_emit_signals), (gst_app_sink_get_emit_signals),
      (gst_app_sink_set_max_buffers), (gst_app_sink_get_max_buffers),
      (gst_app_sink_pull_buffer):
      * gst-libs/gst/app/gstappsink.h:
      Add more docs.
      Add signals for when preroll and render buffers are available.
      Add property to control signal emission.
      Add property to control the max queue size.
      0c5d01b5
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstrtpbuffer.c: Fix the docs about the seqnum compare... · 5b8afead
      Wim Taymans authored
      gst-libs/gst/rtp/gstrtpbuffer.c: Fix the docs about the seqnum compare function, it returns a difference.
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstrtpbuffer.c:
      Fix the docs about the seqnum compare function, it returns a difference.
      5b8afead
  6. 24 Apr, 2008 2 commits
  7. 23 Apr, 2008 3 commits
  8. 22 Apr, 2008 2 commits
  9. 21 Apr, 2008 1 commit
  10. 20 Apr, 2008 3 commits
    • Sebastian Dröge's avatar
      ext/ogg/gstogmparse.c: GST_TYPE_FRACTION contains gints so correctly cast... · 9587e5e1
      Sebastian Dröge authored
      ext/ogg/gstogmparse.c: GST_TYPE_FRACTION contains gints so correctly cast gint64 arguments to vaargs functions to gin...
      
      Original commit message from CVS:
      * ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
      GST_TYPE_FRACTION contains gints so correctly cast gint64 arguments to
      vaargs functions to gint. Otherwise the fractions will get 0 set
      instead of the correct value on big endian systems. Fixes bug #529018.
      9587e5e1
    • Sebastian Dröge's avatar
      ext/gnomevfs/: Get the list of supported URI schemes in a threadsafe way and... · fb2dc81a
      Sebastian Dröge authored
      ext/gnomevfs/: Get the list of supported URI schemes in a threadsafe way and use the same list for the source and sink.
      
      Original commit message from CVS:
      * ext/gnomevfs/gstgnomevfssink.c:
      (gst_gnome_vfs_sink_uri_get_protocols):
      * ext/gnomevfs/gstgnomevfssrc.c:
      (gst_gnome_vfs_src_uri_get_protocols):
      * ext/gnomevfs/gstgnomevfsuri.c: (_internal_get_supported_uris),
      (gst_gnomevfs_get_supported_uris):
      Get the list of supported URI schemes in a threadsafe way and use the
      same list for the source and sink.
      fb2dc81a
    • Sebastian Dröge's avatar
      ext/gio/gstgio.c: Don't generate a new supported protocols list on each call... · 9f83e909
      Sebastian Dröge authored
      ext/gio/gstgio.c: Don't generate a new supported protocols list on each call but cache it. It's supposed to be static...
      
      Original commit message from CVS:
      * ext/gio/gstgio.c: (_internal_get_supported_protocols),
      (gst_gio_get_supported_protocols):
      Don't generate a new supported protocols list on each call but cache
      it. It's supposed to be static anyway, this way we only leak it once
      per process.
      * ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
      (gst_gio_sink_class_init), (gst_gio_sink_finalize),
      (gst_gio_sink_set_property), (gst_gio_sink_get_property),
      (gst_gio_sink_start):
      * ext/gio/gstgiosink.h:
      * ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
      (gst_gio_src_class_init), (gst_gio_src_finalize),
      (gst_gio_src_set_property), (gst_gio_src_get_property),
      (gst_gio_src_start):
      * ext/gio/gstgiosrc.h:
      API: Add "file" properties where one can set a GFile as source/destination.
      Add locking to the properties and use gst_element_class_set_details_simple()
      instead of a static GstElementDetails struct.
      9f83e909
  11. 19 Apr, 2008 2 commits
  12. 18 Apr, 2008 2 commits
  13. 17 Apr, 2008 2 commits
  14. 15 Apr, 2008 2 commits
  15. 14 Apr, 2008 1 commit
    • Tim-Philipp Müller's avatar
      ext/pango/gsttextoverlay.c: Fix textoverlay unit test again by making the... · bbbdbc38
      Tim-Philipp Müller authored
      ext/pango/gsttextoverlay.c: Fix textoverlay unit test again by making the supposed default value for the wait-text pr...
      
      Original commit message from CVS:
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init),
      (gst_text_overlay_init):
      Fix textoverlay unit test again by making the supposed default
      value for the wait-text property the actual default value.
      Also fix Since: tag for new property.
      bbbdbc38
  16. 11 Apr, 2008 2 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/video/video.c: Add guards to these functions to ensure sane input values. · 96a37808
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/video/video.c: (gst_video_format_new_caps),
      (gst_video_format_to_fourcc), (gst_video_format_get_row_stride),
      (gst_video_format_get_pixel_stride),
      (gst_video_format_get_component_width),
      (gst_video_format_get_component_height),
      (gst_video_format_get_component_offset), (gst_video_format_get_size),
      (gst_video_format_convert):
      Add guards to these functions to ensure sane input values.
      * tests/check/libs/video.c:
      Fix unit test not to create caps with width=0 and height=0.
      96a37808
    • Wim Taymans's avatar
      docs/design/draft-keyframe-force.txt: Fix typo. · f0738f6f
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/draft-keyframe-force.txt:
      Fix typo.
      * gst/playback/gstqueue2.c: (update_buffering),
      (gst_queue_handle_src_query):
      Set buffering mode in the messages.
      Set buffering percent in the query.
      * tests/examples/seek/seek.c: (update_fill), (msg_state_changed),
      (do_stream_buffering), (do_download_buffering), (msg_buffering):
      Do some more fancy things based on the buffering method in use.
      f0738f6f
  17. 09 Apr, 2008 3 commits
    • Wim Taymans's avatar
      tests/examples/seek/seek.c: Add basic download reports to seek using the new buffering API. · ab83d906
      Wim Taymans authored
      Original commit message from CVS:
      * tests/examples/seek/seek.c: (update_fill), (set_update_fill),
      (play_cb), (pause_cb), (stop_cb), (msg_state_changed),
      (msg_buffering), (main):
      Add basic download reports to seek using the new buffering API.
      ab83d906
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Include extra buffering stats in the buffering message. · e5bdd950
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (update_buffering),
      (gst_queue_close_temp_location_file), (gst_queue_handle_src_query),
      (gst_queue_src_checkgetrange_function):
      Include extra buffering stats in the buffering message.
      Implement BUFFERING query.
      * gst/playback/gsturidecodebin.c: (do_async_start),
      (do_async_done), (type_found), (setup_streaming), (setup_source),
      (gst_uri_decode_bin_change_state):
      Only add decodebin2 when the type is found in streaming mode.
      Make uridecodebin async to PAUSED even when we don't have decodebin2
      added yet.
      e5bdd950
    • Sebastian Dröge's avatar
      ext/gio/gstgio.c: Filter cdda from the supported URI schemes. We can't support... · 99fa2d2e
      Sebastian Dröge authored
      ext/gio/gstgio.c: Filter cdda from the supported URI schemes. We can't support musicbrainz tags and everything else o...
      
      Original commit message from CVS:
      * ext/gio/gstgio.c: (gst_gio_get_supported_protocols):
      Filter cdda from the supported URI schemes. We can't support
      musicbrainz tags and everything else one expects from a cdda source
      with GIO. Fixes bug #526794.
      99fa2d2e
  18. 07 Apr, 2008 3 commits
    • Jan Schmidt's avatar
      Fix calculation of 'expected size' for YV12 buffers. · cd933152
      Jan Schmidt authored
      Original commit message from CVS:
      2008-04-07  Jan Schmidt  <jan.schmidt@sun.com>
      
      * sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_new),
      (gst_xvimagesink_buffer_alloc):
      Fix calculation of 'expected size' for YV12 buffers.
      Be a little more verbose in the debug output for buffer-alloc'ed
      buffers which turn out to have the wrong size.
      cd933152
    • Jan Schmidt's avatar
      Fix calculation of 'expected size' for YV12 buffers. · de732ef4
      Jan Schmidt authored
      Original commit message from CVS:
      * sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_new),
      (gst_xvimagesink_buffer_alloc):
      Fix calculation of 'expected size' for YV12 buffers.
      Be a little more verbose in the debug output for buffer-alloc'ed
      buffers which turn out to have the wrong size.
      de732ef4
    • Tim-Philipp Müller's avatar
      Merge other changes from 0.10.19 release branch. · df3e7b80
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * NEWS:
      * RELEASE:
      * gst-plugins-base.doap:
      Merge other changes from 0.10.19 release branch.
      df3e7b80