1. 07 Jul, 2006 3 commits
    • Tim-Philipp Müller's avatar
      gst/gstbin.c: Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes. · 99f16655
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
      (gst_bin_iterate_all_by_interface):
      Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
      GTypes are gulongs and thus the top 4 bytes might be cut
      off on some platforms when doing GPOINTER_TO_INT, leading
      to invalid GTypes and bad things happening.
      Also add a check to make sure the type passed in is really
      an interface type.
      99f16655
    • Tim-Philipp Müller's avatar
      .cvsignore: Ignore more. · a55b4bf7
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * .cvsignore:
      Ignore more.
      a55b4bf7
    • Tim-Philipp Müller's avatar
      Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION instead of the... · 1a449fc5
      Tim-Philipp Müller authored
      Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION instead of the unversioned gst-inspect (#324176, #168659).
      
      Original commit message from CVS:
      * Makefile.am:
      * configure.ac:
      * gst-element-check.m4:
      * gst-element-check.m4.in:
      Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
      instead of the unversioned gst-inspect (#324176, #168659).
      1a449fc5
  2. 06 Jul, 2006 4 commits
    • Wim Taymans's avatar
      gst/gstmessage.h: Use a valid int for the _MESSAGE_ANY enum value to avoid compiler warnings. · 167554ec
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstmessage.h:
      Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
      warnings.
      167554ec
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default... · ac216fcf
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default blocksize when working in push based mode.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_wait), (gst_base_src_update_length),
      (gst_base_src_get_range), (gst_base_src_default_check_get_range),
      (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
      (gst_base_src_loop), (gst_base_src_start),
      (gst_base_src_activate_pull):
      Update docs.
      blocksize == 0 now means the default blocksize when working in push
      based mode.
      Remove some pointless asserts in _wait function.
      Fix offset/length calculations and EOS handling. We can now pull 0
      bytes as well, which is allowed.
      use _check_get_range() to decide if we can operate in _pull based
      mode.
      Fix refcounting leak when check_get_range function was not
      implemented.
      API GstBaseSrc::blocksize range can be 0 too now (default)
      * tests/check/elements/filesrc.c: (GST_START_TEST),
      (filesrc_suite):
      Added check to test _get_range() behaviour.
      ac216fcf
    • Wim Taymans's avatar
      gst/gstpad.*: Lots of comments and docs added to the pad functions. · d9904122
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
      (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
      (gst_pad_pull_range):
      * gst/gstpad.h:
      Lots of comments and docs added to the pad functions.
      Flesh out the expected behaviour of the get_range() functions.
      d9904122
    • Wim Taymans's avatar
      gst/: Remove comma at end of enumerator list. · 15d8500f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbus.h:
      * gst/gstclock.h:
      * gst/gstevent.h:
      * gst/gstiterator.h:
      * gst/gstpad.h:
      * gst/gstplugin.h:
      * gst/gsttask.h:
      Remove comma at end of enumerator list.
      15d8500f
  3. 05 Jul, 2006 6 commits
    • Sebastien Moutte's avatar
      win32/common/: Add new exported functions. · cc2aa735
      Sebastien Moutte authored
      Original commit message from CVS:
      * win32/common/libgstbase.def:
      * win32/common/libgstdataprotocol.def:
      * win32/common/libsgtreamer.def:
      Add new exported functions.
      cc2aa735
    • Wim Taymans's avatar
      libs/gst/base/gstpushsrc.c: Add some more docs here and there. · 751282f4
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
      Add some more docs here and there.
      751282f4
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: When operating in pull mode update the offset so... · 931ef328
      Wim Taymans authored
      libs/gst/base/gstbasesink.c: When operating in pull mode update the offset so that we read sequentially.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
      (gst_base_sink_loop), (gst_base_sink_get_position):
      When operating in pull mode update the offset so that we
      read sequentially.
      931ef328
    • Wim Taymans's avatar
      gst/gstregistryxml.c: Avoid strdup. (will happen in libxml, but hey!) · 09f47d18
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstregistryxml.c: (read_string):
      Avoid strdup. (will happen in libxml, but hey!)
      * gst/gsturi.c:
      Add some more docs.
      09f47d18
    • Wim Taymans's avatar
      No point in checking if the size of the subbuffer > 0, the code handles it... · fa9bb792
      Wim Taymans authored
      No point in checking if the size of the subbuffer > 0, the code handles it correclty as demonstrated by unit test.
      
      Original commit message from CVS:
      * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
      * tests/check/gst/gstbuffer.c: (GST_START_TEST),
      (gst_buffer_suite):
      No point in checking if the size of the subbuffer > 0, the
      code handles it correclty as demonstrated by unit test.
      Also add a unit test for the zero sized _new_and_alloc and
      _copy. Fixes #346663.
      fa9bb792
    • Wim Taymans's avatar
      libs/gst/base/gstbasetransform.c: Make sure the buffer we pass to transform_ip... · d7c7dcc6
      Wim Taymans authored
      libs/gst/base/gstbasetransform.c: Make sure the buffer we pass to transform_ip has a refcount of 1 and thus is writab...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buffer),
      (gst_base_transform_buffer_alloc),
      (gst_base_transform_handle_buffer):
      Make sure the buffer we pass to transform_ip has a refcount of
      1 and thus is writable. Fixes #343196
      d7c7dcc6
  4. 04 Jul, 2006 1 commit
    • Jan Schmidt's avatar
      plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to... · 16ac778f
      Jan Schmidt authored
      plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use madvise and hint to the kernel that ...
      
      Original commit message from CVS:
      * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
      (gst_file_src_init), (gst_file_src_set_property),
      (gst_file_src_get_property), (gst_file_src_map_region):
      * plugins/elements/gstfilesrc.h:
      Add "sequential" property, off by default, to use madvise and hint
      to the kernel that sequential access is desired.
      Touch all retrieved pages by default to ensure they are pulled
      into memory. (Closes #345720)
      16ac778f
  5. 03 Jul, 2006 6 commits
    • Wim Taymans's avatar
      docs/design/: Small docs updates. · b0275f1f
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-block.txt:
      * docs/design/part-dynamic.txt:
      Small docs updates.
      b0275f1f
    • Wim Taymans's avatar
      gst/: Use GSlice when the glib we build against is >= 2.10 · 8fbd3391
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
      (gst_caps_unref), (gst_static_caps_get),
      (gst_caps_append_structure):
      * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
      Use GSlice when the glib we build against is >= 2.10
      8fbd3391
    • Wim Taymans's avatar
      gst/gstelement.c: Small cleanup in pad activation code. · a888719a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_pads_activate):
      Small cleanup in pad activation code.
      a888719a
    • Peter Kjellerstedt's avatar
      The attached patch will make the inclusion of gettext.h unconditional in... · c01188cb
      Peter Kjellerstedt authored
      The attached patch will make the inclusion of gettext.h unconditional in gst/gst-i18n-app.h and gst/gst-i18n-lib.h, a...
      
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt <pkj at axis dot com>
      * gst/gst-i18n-app.h:
      * gst/gst-i18n-lib.h:
      * tools/gst-inspect.c: (print_signal_info):
      The attached patch will make the inclusion of gettext.h unconditional in
      gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
      libintl.h in tools/gst-inspect.c.
      This allows use of --disable-nls again and fixes #344642.
      c01188cb
    • Thomas Vander Stichele's avatar
      fix leak · c2491a1e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix leak
      c2491a1e
    • Edward Hervey's avatar
      gst/gstpad.c: Implement pad blocking on events according to part-block.txt. · 4999836f
      Edward Hervey authored
      Original commit message from CVS:
      * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
      Implement pad blocking on events according to part-block.txt.
      More comments on behaviour.
      * tests/check/gst/gstevent.c: (test_event):
      Send event to peer pad of blocked pad (else it will block).
      4999836f
  6. 02 Jul, 2006 20 commits