1. 11 Aug, 2006 3 commits
    • Wim Taymans's avatar
      Forgot to mention fixed bug. · 1532848c
      Wim Taymans authored
      Original commit message from CVS:
      Forgot to mention fixed bug.
      1532848c
    • 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. 10 Aug, 2006 2 commits
    • Stefan Kost's avatar
      libs/gst/controller/gstcontroller.h: fix ABI size-correction · 876f4e47
      Stefan Kost authored
      Original commit message from CVS:
      * libs/gst/controller/gstcontroller.h:
      fix ABI size-correction
      * tests/check/libs/gdp.c: (gst_dp_suite):
      make tests that use deprecated API conditional
      876f4e47
    • Stefan Kost's avatar
      API: add gst_object_{s,g}et_control_rate(), add private data section, fix docs · 9460b3ab
      Stefan Kost authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/controller/gstcontroller.c:
      (_gst_controller_get_property), (_gst_controller_set_property),
      (_gst_controller_init), (_gst_controller_class_init):
      * libs/gst/controller/gstcontroller.h:
      * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
      (gst_object_set_control_rate):
      API: add gst_object_{s,g}et_control_rate(), add private data section,
      fix docs
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
      * libs/gst/dataprotocol/dataprotocol.h:
      add deprecation guards to make gtk-doc happy and allow disabling cruft
      9460b3ab
  3. 09 Aug, 2006 3 commits
    • Tim-Philipp Müller's avatar
      tests/check/: Let's enable the new unit test as well. · 4a333672
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tests/check/Makefile.am:
      * tests/check/gst/.cvsignore:
      Let's enable the new unit test as well.
      4a333672
    • 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
    • Edward Hervey's avatar
      libs/gst/base/gstbasetransform.c: Even if we can't figure out the proper... · cb49718e
      Edward Hervey authored
      libs/gst/base/gstbasetransform.c: Even if we can't figure out the proper format to request downstream, call buffer_al...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_buffer_alloc):
      Even if we can't figure out the proper format to request downstream,
      call buffer_alloc() downstream with the input parameters without setting
      the caps on the srcpad. This will force negotiation in the chain
      function.
      Closes #350449
      cb49718e
  4. 08 Aug, 2006 3 commits
  5. 04 Aug, 2006 1 commit
  6. 02 Aug, 2006 1 commit
    • Wim Taymans's avatar
      libs/gst/dataprotocol/dataprotocol.c: Make debug category static · 319e774f
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/dataprotocol/dataprotocol.c:
      (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
      (gst_dp_crc), (gst_dp_header_payload_length),
      (gst_dp_header_payload_type), (gst_dp_packet_from_event),
      (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
      (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
      (gst_dp_event_from_packet), (gst_dp_validate_header),
      (gst_dp_validate_payload):
      Make debug category static
      Constify the crc table.
      Do some more arg checking in public functions.
      Fix some docs and do some small cleanups.
      * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
      Add some more checks to see if GDP deals with bogus input.
      319e774f
  7. 31 Jul, 2006 6 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
    • Wim Taymans's avatar
      libs/gst/base/gstbasetransform.c: Use OBJECT_LOCK and refcounting to get the... · 2d6cf77e
      Wim Taymans authored
      libs/gst/base/gstbasetransform.c: Use OBJECT_LOCK and refcounting to get the pad caps in the buffer_alloc function be...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_buffer_alloc):
      Use OBJECT_LOCK and refcounting to get the pad caps in the
      buffer_alloc function because the caps could change while we are
      busy with them. Fixes #349105
      2d6cf77e
    • Wim Taymans's avatar
      gst/gstelementfactory.c: Remove unnecessary ref/unref pair · 1e944b75
      Wim Taymans 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.
      1e944b75
    • 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
  8. 30 Jul, 2006 3 commits
    • Jan Schmidt's avatar
      tests/check/pipelines/parse-launch.c: Make all uses of identity and fakesink... · f8623ed9
      Jan Schmidt authored
      tests/check/pipelines/parse-launch.c: Make all uses of identity and fakesink have silent=true to avoid serialising ev...
      
      Original commit message from CVS:
      * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
      Make all uses of identity and fakesink have silent=true to avoid
      serialising every passing data structure, which is breaking tests
      on FC4 for some unknown reason.
      f8623ed9
    • Stefan Kost's avatar
      gst/parse/: Reverted previous patch as it required to bump the flex dependency... · fb0ce08f
      Stefan Kost authored
      gst/parse/: Reverted previous patch as it required to bump the flex dependency to 2.5.31, where fc4/5 seem to ship on...
      
      Original commit message from CVS:
      * gst/parse/Makefile.am:
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      Reverted previous patch as it required to bump the flex dependency to
      2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
      fb0ce08f
    • Marc-André Lureau's avatar
      gst/parse/: push & pop the state of the lexer for reentrant use case · 48afa6dc
      Marc-André Lureau authored
      Original commit message from CVS:
      Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
      * gst/parse/Makefile.am:
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      push & pop the state of the lexer for reentrant use case
      Fixes #349180
      48afa6dc
  9. 29 Jul, 2006 1 commit
  10. 28 Jul, 2006 2 commits
    • Wim Taymans's avatar
      libs/gst/base/gstcollectpads.c: When flushing a pad, also clear the queued... · 6939f83e
      Wim Taymans authored
      libs/gst/base/gstcollectpads.c: When flushing a pad, also clear the queued buffer so that we don't accidentally use i...
      
      Original commit message from CVS:
      * libs/gst/base/gstcollectpads.c:
      (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
      (gst_collect_pads_clear), (gst_collect_pads_flush),
      (gst_collect_pads_event), (gst_collect_pads_chain):
      When flushing a pad, also clear the queued buffer so that we don't
      accidentally use it when we shouldn't.
      Fix leaks by inreffing incomming buffer.
      Flush out queued buffers in case of errors.
      Fixes #347452.
      6939f83e
    • Wim Taymans's avatar
      docs/random/phonon-gst: Random notes about a Phonon backend. · 473b67a9
      Wim Taymans authored
      Original commit message from CVS:
      * docs/random/phonon-gst:
      Random notes about a Phonon backend.
      473b67a9
  11. 27 Jul, 2006 6 commits
    • Jan Schmidt's avatar
      libs/gst/base/gstbasetransform.c: Extra debug output · 38aad233
      Jan Schmidt authored
      Original commit message from CVS:
      * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
      Extra debug output
      * tests/check/libs/gdp.c: (gst_dp_suite):
      Take a whack at fixing the ppc compile using a different define to
      disable the broken test.
      * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
      Remove excess g_print()
      38aad233
    • Jan Schmidt's avatar
      tests/check/pipelines/parse-launch.c: Oops, meant to uncomment this line too... · e76af7f7
      Jan Schmidt authored
      tests/check/pipelines/parse-launch.c: Oops, meant to uncomment this line too to dampen the noise a bit.
      
      Original commit message from CVS:
      * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
      Oops, meant to uncomment this line too to dampen the noise a bit.
      e76af7f7
    • 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
    • Tim-Philipp Müller's avatar
      plugins/elements/gstfilesrc.c: Requesting 0 bytes before the end of the file should result in · 6cd3b9de
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
      Requesting 0 bytes before the end of the file should result in
      FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
      unit test.
      6cd3b9de
    • 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
    • Tim-Philipp Müller's avatar
      plugins/elements/gstfilesrc.c: Do not use mmap() by default since there are a... · 55a61592
      Tim-Philipp Müller authored
      plugins/elements/gstfilesrc.c: Do not use mmap() by default since there are a number of error conditions that we woul...
      
      Original commit message from CVS:
      * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
      Do not use mmap() by default since there are a number of error
      conditions that we would like to handle in a non-fatal way that
      will result in a SIGBUS if we use mmap(). Examples: external
      devices (USB harddrive, portable music player) being unplugged
      while in use; file on mounted CD/DVD that can't be read because
      the medium is partly damaged. Fixes #348455 and #348475.
      55a61592
  12. 26 Jul, 2006 8 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
      docs/gst/gstreamer-sections.txt: Oops. Commit the docs additions too for new API. · d5b1c528
      Jan Schmidt authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      Oops. Commit the docs additions too for new API.
      Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
      d5b1c528
    • 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
    • Thomas Vander Stichele's avatar
      back to 32 bit · 8cc8fe6e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      back to 32 bit
      8cc8fe6e
    • 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
    • Jan Schmidt's avatar
      tools/gst-launch.c: If the top-level of the parse is a normal bin, it doesn't... · 2444ba96
      Jan Schmidt authored
      tools/gst-launch.c: If the top-level of the parse is a normal bin, it doesn't do the right logic to run as a top-leve...
      
      Original commit message from CVS:
      * tools/gst-launch.c: (main):
      If the top-level of the parse is a normal bin, it doesn't do the
      right logic to run as a top-level element, so place it inside a
      pipeline.
      2444ba96
  13. 25 Jul, 2006 1 commit