1. 11 Aug, 2006 2 commits
    • Wim Taymans's avatar
      Doc updates. · c9b8c541
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
      (ensure_current_registry_forking), (ensure_current_registry),
      (parse_one_option), (parse_goption_arg), (gst_deinit),
      (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
      * gst/gst.h:
      Doc updates.
      Added API and command line option to disable registry forking in
      addition to the environment variable.
      Constify some static arrays.
      Added some more debug.
      Don't deinit twice.
      API: gst_registry_fork_is_enabled()
      API: gst_registry_fork_set_enabled()
      API: --gst-disable-registry-fork command line option
      c9b8c541
    • Tim-Philipp Müller's avatar
      gst/gst.c: Fix typo in error message. · 566f5d8d
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gst.c: (gst_init):
      Fix typo in error message.
      566f5d8d
  2. 09 Aug, 2006 1 commit
    • Tim-Philipp Müller's avatar
      API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets... · 57212633
      Tim-Philipp Müller authored
      API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets us easily dump GstSegments into debug ...
      
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstconfig.h.in:
      * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
      (_gst_info_printf_extension_ptr),
      (_gst_info_printf_extension_segment):
      API: add GST_SEGMENT_FORMAT, which is a printf extension we
      register that lets us easily dump GstSegments into debug
      logs (#350419).
      * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
      (info_segment_format_printf_extension), (gst_info_suite):
      Add simple unit test that logs a bunch of different segments (not
      valgrinded at the moment because of leaks in gst_debug_add_log_function).
      57212633
  3. 08 Aug, 2006 1 commit
    • Edward Hervey's avatar
      gst/gstghostpad.c: Unlinking from a pad without a target is now a perfectly... · 2d6d262e
      Edward Hervey authored
      gst/gstghostpad.c: Unlinking from a pad without a target is now a perfectly valid case which should NOT raise an asse...
      
      Original commit message from CVS:
      * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
      Unlinking from a pad without a target is now a perfectly valid case
      which should NOT raise an assertion.
      This case would happen if a linked ghostpad its target set to NULL after
      it was previously linked.
      2d6d262e
  4. 04 Aug, 2006 1 commit
  5. 31 Jul, 2006 4 commits
    • Wim Taymans's avatar
      gst/gstvalue.c: Fix GstValueList comparison code. Fixes #347293. · 6487eb66
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstvalue.c: (gst_value_compare_list):
      Fix GstValueList comparison code. Fixes #347293.
      * tests/check/gst/gstvalue.c: (GST_START_TEST):
      Check to test GstValueList comparison.
      6487eb66
    • Jan Schmidt's avatar
      gst/gstelementfactory.c: Remove unnecessary ref/unref pair · bc3daae9
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstelementfactory.c: (gst_element_factory_create):
      Remove unnecessary ref/unref pair
      * gst/parse/grammar.y:
      Make sure to free the parse buffer on all code paths.
      Move a g_free up to the error handler where it's easier to see.
      * tests/check/gst/gstevent.c: (test_event):
      Extending timeout for downstream travelling events to 10 seconds to
      hopefully avoid intermittent failure on the buildbots.
      * tests/check/pipelines/parse-launch.c: (run_delayed_test):
      Don't manually set the state of the src element - it will happen as a
      natural consequence of the pipeline changing state, and that way it
      will do it in the right order too.
      bc3daae9
    • Wim Taymans's avatar
      gst/gstutils.c: Protect _PAD_CAPS with OBJECT_LOCK. · ee177d64
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
      Protect _PAD_CAPS with OBJECT_LOCK.
      ee177d64
    • Wim Taymans's avatar
      gst/gstpad.c: Use _DEBUG_OBJECT when it makes sense. · 10b8cb7e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
      (gst_pad_get_property), (gst_pad_activate_pull),
      (gst_pad_activate_push), (gst_pad_set_blocked_async),
      (gst_pad_set_activate_function),
      (gst_pad_set_activatepull_function),
      (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
      (gst_pad_set_getrange_function),
      (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
      (gst_pad_set_query_function), (gst_pad_set_query_type_function),
      (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
      (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
      (gst_pad_set_acceptcaps_function),
      (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
      (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
      (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
      (gst_pad_peer_get_caps), (gst_pad_accept_caps),
      (gst_pad_peer_accept_caps), (gst_pad_set_caps),
      (gst_pad_configure_sink), (gst_pad_configure_src),
      (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
      (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
      (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
      (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
      (gst_pad_send_event):
      Use _DEBUG_OBJECT when it makes sense.
      Protect GST_PAD_CAPS with the OBJECT_LOCK.
      Small cleanups and code reflows.
      Avoid caps refcounting in _accept_caps.
      Refactor alloc_buffer so that the code performed on the peer is in a
      separate function. Also if the pad does not implement a buffer alloc
      function, we should still check if the pad is flushing before falling
      back to the default allocator.
      10b8cb7e
  6. 30 Jul, 2006 2 commits
  7. 27 Jul, 2006 2 commits
    • Jan Schmidt's avatar
      Fix some of the leaks exposed by extending the parse-launch testsuite, and... · 5b271bcd
      Jan Schmidt authored
      Fix some of the leaks exposed by extending the parse-launch testsuite, and move the 3 I can't figure out into a separ...
      
      Original commit message from CVS:
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
      (GST_START_TEST), (parse_suite):
      Fix some of the leaks exposed by extending the parse-launch testsuite,
      and move the 3 I can't figure out into a separate test that won't run
      the pipelines unless the appropriate line is uncommented.
      5b271bcd
    • Wim Taymans's avatar
      gst/gstcaps.c: Fix useless assert, a uint is always positive. · c7853c76
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
      Fix useless assert, a uint is always positive.
      * gst/gststructure.c: (gst_structure_nth_field_name),
      (gst_structure_foreach), (gst_structure_map_in_place):
      Check input arguments for public functions to avoid obvious crashes.
      * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
      * plugins/elements/gstfakesink.h:
      Do less useless typechecking.
      c7853c76
  8. 26 Jul, 2006 5 commits
    • Jan Schmidt's avatar
      gst/gstquery.h: Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN... · 4c30bdfb
      Jan Schmidt authored
      gst/gstquery.h: Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN - rates are a gdouble
      
      Original commit message from CVS:
      * gst/gstquery.h:
      Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
      rates are a gdouble
      4c30bdfb
    • Stefan Kost's avatar
      gst/gstregistry.c: Move big documentation comment into class section header,... · 4e6ddbfc
      Stefan Kost authored
      gst/gstregistry.c: Move big documentation comment into class section header, so that it appears in the API docs.
      
      Original commit message from CVS:
      * gst/gstregistry.c:
      Move big documentation comment into class section header, so that it
      appears in the API docs.
      4e6ddbfc
    • Jan Schmidt's avatar
      gst/gststructure.*: Add API for setting values into structures without... · 8ae16e5b
      Jan Schmidt authored
      gst/gststructure.*: Add API for setting values into structures without performing a quark lookup, if the appropriate ...
      
      Original commit message from CVS:
      * gst/gststructure.c: (gst_structure_id_set),
      (gst_structure_id_set_valist):
      * gst/gststructure.h:
      Add API for setting values into structures without performing
      a quark lookup, if the appropriate quark is already known.
      API: gst_structure_id_set
      API: gst_structure_id_set_valist
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      Remove some dead code shown by the coverage information.
      Don't throw a critical g_warning when encountering a syntax error,
      just warn and let the normal error path handle it.
      * plugins/elements/gstelements.c:
      Bump the rank of filesink up to PRIMARY so that it is preferred over
      gnomevfssink for file:// sink uri's
      * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
      (GST_START_TEST), (run_delayed_test),
      (gst_parse_test_element_base_init),
      (gst_parse_test_element_class_init), (gst_parse_test_element_init),
      (gst_parse_test_element_change_state),
      (gst_register_parse_element), (parse_suite):
      Beef up the tests for parse syntax to check that more error cases
      fail as they are supposed to. Increases the test coverage a bit.
      8ae16e5b
    • Tim-Philipp Müller's avatar
      docs/manual/basics-elements.xml: Fix gst_element_link() example. · f0879c8e
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/manual/basics-elements.xml:
      Fix gst_element_link() example.
      * gst/gstutils.c:
      Mention in API docs that one should usually gst_bin_add()
      elements to a bin or pipeline before doing the linking.
      f0879c8e
    • Wim Taymans's avatar
      gst/gstbuffer.c: Avoid function call for known types by keeping the buffer and... · c7565132
      Wim Taymans authored
      gst/gstbuffer.c: Avoid function call for known types by keeping the buffer and subbuffer GType global.
      
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
      (gst_subbuffer_get_type), (gst_buffer_create_sub):
      Avoid function call for known types by keeping the buffer and
      subbuffer GType global.
      * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
      Random silly optimisations in read() path.
      c7565132
  9. 25 Jul, 2006 1 commit
  10. 24 Jul, 2006 2 commits
  11. 21 Jul, 2006 3 commits
  12. 20 Jul, 2006 3 commits
  13. 19 Jul, 2006 1 commit
  14. 18 Jul, 2006 2 commits
    • Stefan Kost's avatar
      make --disable-index work (#342564) · 41bad82b
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstregistry.h:
      * gst/gstregistryxml.c: (load_feature),
      (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
      * win32/common/config.h:
      make --disable-index work (#342564)
      41bad82b
    • Peter Kjellerstedt's avatar
      gst/: The attached patch adds two missing defines to gsttrace.h when tracing... · c4917024
      Peter Kjellerstedt authored
      gst/: The attached patch adds two missing defines to gsttrace.h when tracing is disabled.  It also corrects one exist...
      
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt <pkj at axis dot com>
      * gst/Makefile.am:
      * gst/gsttrace.h:
      The attached patch adds two missing defines to gsttrace.h when tracing
      is disabled.  It also corrects one existing define.
      Fixes #347756.
      c4917024
  15. 17 Jul, 2006 1 commit
    • Wim Taymans's avatar
      Add two functions to check and change the SIGSEGV behaviour when loading plugins. · c0a3f9e6
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
      * gst/gst.h:
      * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
      Add two functions to check and change the SIGSEGV behaviour
      when loading plugins.
      Don't mess with the SIGSEGV handler when we were told not to.
      Fixes #347794.
      API: gst_segtrap_is_enabled
      API: gst_segtrap_set_enabled
      c0a3f9e6
  16. 14 Jul, 2006 1 commit
    • Antoine Tremblay's avatar
      gst/gstutils.c: Free iterator when done (#347311). · 147c3d0e
      Antoine Tremblay authored
      Original commit message from CVS:
      Patch by: Antoine Tremblay <hexa00 at gmail com>
      * gst/gstutils.c: (gst_element_unlink):
      Free iterator when done (#347311).
      * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
      And add a test case for this.
      147c3d0e
  17. 13 Jul, 2006 2 commits
  18. 11 Jul, 2006 2 commits
    • Jan Schmidt's avatar
      Make GstValueArray comparison be order dependent as designed. · 7e610042
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstvalue.c: (gst_value_compare_list),
      (gst_value_compare_array), (_gst_value_initialize):
      * tests/check/gst/gstvalue.c: (GST_START_TEST):
      Make GstValueArray comparison be order dependent as designed.
      Add checks for value lists and value array comparisons.
      Fixes #347221
      7e610042
    • Edward Hervey's avatar
      gst/gstbin.c: (de)activate src pads before calling state_change on the childs. · 4f9d5adb
      Edward Hervey authored
      Original commit message from CVS:
      * gst/gstbin.c: (activate_pads),
      (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
      (gst_bin_change_state_func):
      (de)activate src pads before calling state_change on the childs.
      This is to avoid the case where a src ghostpad is blocked (holding the
      stream lock), which would block the deactivation of the ghostpad's
      target pad.
      * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
      (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
      (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
      (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
      (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
      (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
      (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
      (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
      (gst_proxy_pad_dispose), (gst_proxy_pad_init),
      (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
      (gst_ghost_pad_class_init),
      (gst_ghost_pad_internal_do_activate_push),
      (gst_ghost_pad_internal_do_activate_pull),
      (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
      (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
      (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
      (gst_ghost_pad_new), (gst_ghost_pad_set_target):
      GhostPads now create their internal GstProxyPad at creation (and not
      when they're linked, as it was being done previously).
      The internal and target pads are linked straight away.
      The data will also travel through the other pad in order to make
      pad blocking and probes non-hackish (the probe/block now really happens
      on the GhostPad and not on the target).
      * gst/gstpad.c: (gst_pad_set_blocked_async),
      (gst_pad_link_prepare), (gst_pad_push_event):
      Remove previous ghostpad cruft.
      * gst/gstutils.c: (gst_pad_add_data_probe),
      (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
      (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
      (gst_pad_remove_buffer_probe):
      Remove previous ghost pad cruft.
      Added more detailed debug statements.
      * tests/check/gst/gstghostpad.c: (GST_START_TEST):
      Fix the testsuite for refcounting changes.
      The comments about who has references were correct, but the refcount
      being checked wasn't the same (!?!).
      4f9d5adb
  19. 10 Jul, 2006 3 commits
  20. 09 Jul, 2006 1 commit