1. 05 Jul, 2006 2 commits
    • 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
  2. 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
  3. 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
  4. 02 Jul, 2006 22 commits
  5. 01 Jul, 2006 4 commits
    • Thomas Vander Stichele's avatar
      configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS · 3c3bbc87
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * configure.ac:
      set CFLAGS and friends to -O0 if gcov is being used
      add GCOV LIBS
      * gst/Makefile.am:
      * libs/gst/base/Makefile.am:
      * libs/gst/check/Makefile.am:
      * libs/gst/controller/Makefile.am:
      * libs/gst/dataprotocol/Makefile.am:
      * libs/gst/net/Makefile.am:
      * plugins/elements/Makefile.am:
      * plugins/indexers/Makefile.am:
      add makefile rules to generate gcov data and clean up
      * tests/check/Makefile.am:
      add a coverage target that generates an html overview
      of coverage data
      3c3bbc87
    • Thomas Vander Stichele's avatar
      fix docs build · 12b70748
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix docs build
      12b70748
    • Thomas Vander Stichele's avatar
      tests/check/: use the new macro · 64086e29
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * tests/check/elements/fakesink.c:
      * tests/check/elements/fakesrc.c:
      * tests/check/elements/fdsrc.c:
      * tests/check/elements/identity.c:
      * tests/check/generic/sinks.c: (gst_sinks_suite):
      * tests/check/generic/states.c:
      * tests/check/gst/gst.c:
      * tests/check/gst/gstabi.c:
      * tests/check/gst/gstbin.c:
      * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
      * tests/check/gst/gstbus.c: (gst_bus_suite):
      * tests/check/gst/gstcaps.c: (GST_START_TEST):
      * tests/check/gst/gstelement.c:
      * tests/check/gst/gstevent.c: (gst_event_suite):
      * tests/check/gst/gstghostpad.c:
      * tests/check/gst/gstiterator.c: (gst_iterator_suite):
      * tests/check/gst/gstmessage.c: (gst_message_suite):
      * tests/check/gst/gstminiobject.c:
      * tests/check/gst/gstobject.c:
      * tests/check/gst/gstpad.c:
      * tests/check/gst/gstpipeline.c:
      * tests/check/gst/gstplugin.c:
      * tests/check/gst/gstquery.c: (gst_query_suite):
      * tests/check/gst/gstsegment.c: (gst_segment_suite):
      * tests/check/gst/gststructure.c:
      * tests/check/gst/gstsystemclock.c:
      * tests/check/gst/gsttag.c:
      * tests/check/gst/gsttask.c: (gst_task_suite):
      * tests/check/gst/gstutils.c:
      * tests/check/gst/gstvalue.c:
      * tests/check/libs/adapter.c:
      * tests/check/libs/basesrc.c:
      * tests/check/libs/collectpads.c:
      * tests/check/libs/controller.c:
      * tests/check/libs/gdp.c: (gst_dp_suite):
      * tests/check/libs/gstnetclientclock.c:
      * tests/check/libs/gstnettimeprovider.c:
      * tests/check/libs/libsabi.c: (libsabi_suite):
      * tests/check/libs/typefindhelper.c:
      * tests/check/pipelines/cleanup.c:
      * tests/check/pipelines/parse-launch.c:
      * tests/check/pipelines/simple-launch-lines.c:
      * tests/check/pipelines/stress.c: (stress_suite):
      use the new macro
      64086e29
    • Thomas Vander Stichele's avatar
      libs/gst/check/gstcheck.*: create a macro and function so that the simple unit... · 374b55af
      Thomas Vander Stichele authored
      libs/gst/check/gstcheck.*: create a macro and function so that the simple unit test case can be just one macro to cre...
      
      Original commit message from CVS:
      * libs/gst/check/gstcheck.c: (gst_check_run_suite):
      * libs/gst/check/gstcheck.h:
      create a macro and function so that the simple unit test
      case can be just one macro to create main()
      374b55af
  6. 30 Jun, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Fix deserialisation from XML. Set parent manually instead of using... · 565199ef
      Tim-Philipp Müller authored
      gst/: Fix deserialisation from XML. Set parent manually instead of using gst_bin_add(), since gst_bin_add() will unli...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_restore_thyself):
      * gst/gstxml.c: (gst_xml_make_element):
      Fix deserialisation from XML. Set parent manually
      instead of using gst_bin_add(), since gst_bin_add()
      will unlink all pads of the element being added.
      Fixes #341667.
      565199ef
  7. 28 Jun, 2006 1 commit
  8. 23 Jun, 2006 2 commits
  9. 22 Jun, 2006 1 commit
    • Edward Hervey's avatar
      gst/gstelement.c: We need to deactivate src pads first and then sink pads. · 1f5a5c6b
      Edward Hervey authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_pads_activate):
      We need to deactivate src pads first and then sink pads.
      The reason is the src pads might be blocking while holding the streaming
      lock, so we need to deactivate them first so that deactivating the sink
      pads doesn't block (since it will require the streaming lock).
      1f5a5c6b