1. 17 Sep, 2007 1 commit
    • Jan Schmidt's avatar
      Fix minor compilation warnings shown with Forte. · 04757dd2
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_continue_func):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
      * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
      * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
      Fix minor compilation warnings shown with Forte.
      04757dd2
  2. 13 Sep, 2007 1 commit
    • Wim Taymans's avatar
      gst/: Move latency query from GstPipeline to GstBin so that we can also use it... · b155f59d
      Wim Taymans authored
      gst/: Move latency query from GstPipeline to GstBin so that we can also use it when async-handling is enabled on bins.
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
      (do_bin_latency), (gst_bin_change_state_func):
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Move latency query from GstPipeline to GstBin so that we can also
      use it when async-handling is enabled on bins.
      b155f59d
  3. 16 Aug, 2007 2 commits
    • Wim Taymans's avatar
      gst/gstbin.c: Improve debugging. · ebf77015
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (is_eos), (gst_bin_add_func),
      (bin_handle_async_start), (gst_bin_handle_message_func):
      Improve debugging.
      When adding elements, insert messages into the bus of the newly added
      element and make sure the element is the source of the message. This
      allows the parent bin to intercept the message and do the
      right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
      messages to the app (which is not allowed).
      Update some docs.
      * tests/check/gst/gstghostpad.c: (GST_START_TEST):
      Fix testsuite so that is does not work around messages that should not
      have been posted in the first place.
      ebf77015
    • Wim Taymans's avatar
      gst/gstbin.c: Fix annoying bug in the sorted iterator where a sink that is not... · 5059e9f8
      Wim Taymans authored
      gst/gstbin.c: Fix annoying bug in the sorted iterator where a sink that is not really a sink (when it has downstream ...
      
      Original commit message from CVS:
      * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
      (update_degree), (gst_bin_sort_iterator_next):
      Fix annoying bug in the sorted iterator where a sink that is not really
      a sink (when it has downstream links) screwed up the iterator.
      * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
      Unit test to verify the fix.
      5059e9f8
  4. 14 Aug, 2007 2 commits
    • Wim Taymans's avatar
      gst/gstbin.c: Move ASYNC_START message posting to where it belongs, similar to async_done. · ef5d931f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
      (bin_handle_async_start), (gst_bin_handle_message_func):
      Move ASYNC_START message posting to where it belongs, similar to
      async_done.
      Don't post ASYNC_START when we are in error.
      Post ASYNC_START when we added an async element to a bin.
      ef5d931f
    • Wim Taymans's avatar
      gst/gstbin.c: Always change the state of a NO_PREROLL element even if it has... · 9b24336c
      Wim Taymans authored
      gst/gstbin.c: Always change the state of a NO_PREROLL element even if it has ASYNC elements inside (in case of a bin).
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_element_set_state):
      Always change the state of a NO_PREROLL element even if it has ASYNC
      elements inside (in case of a bin).
      * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
      Unit test for this case.
      9b24336c
  5. 07 Aug, 2007 1 commit
    • Wim Taymans's avatar
      docs/design/part-TODO.txt: Add some more TODO items · 56b5aa1c
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      Add some more TODO items
      * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
      Improve debugging.
      * gst/gstcaps.c: (gst_caps_intersect):
      Optimize trivial intersection case between identical caps pointers.
      * gst/gstelement.c: (gst_element_continue_state),
      (gst_element_set_state_func):
      * gst/gstpad.c:
      Fix spelling and grammar mistakes.
      56b5aa1c
  6. 02 Aug, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Don't forget about the fact that some element went ASYNC even... · d405a6dc
      Wim Taymans authored
      gst/gstbin.c: Don't forget about the fact that some element went ASYNC even after a resync. This makes us post the AS...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_change_state_func),
      (bin_handle_async_done), (gst_bin_handle_message_func):
      Don't forget about the fact that some element went ASYNC even after a
      resync. This makes us post the ASYNC_DONE message correctly.
      Fixes #462558.
      d405a6dc
  7. 18 Jul, 2007 1 commit
    • Jan Schmidt's avatar
      gst/gstbin.c: Check that the state_cookie hasn't changed since the... · 6c0e00bb
      Jan Schmidt authored
      gst/gstbin.c: Check that the state_cookie hasn't changed since the continue_func was scheduled. Avoids problems where...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_continue_func):
      Check that the state_cookie hasn't changed since the continue_func
      was scheduled. Avoids problems where the state changes back to
      something it shouldn't be because it was changed in the meantime.
      6c0e00bb
  8. 19 Jun, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Move the common code for posting state-change messages into one function. · e5990534
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_change_state_func), (bin_push_state_continue),
      (bin_handle_async_start), (bin_handle_async_done),
      (gst_bin_handle_message_func):
      Move the common code for posting state-change messages into
      one function.
      Broadcast the state signal after we posted the messages.
      Mark the bin as busy when it's doing a state-change.
      Make sure async-start/done messages don't interfere with the bin's
      state when it's busy.
      After the state change, let the bin check which elements completed the
      state change while it was busy so that it can update its state.
      e5990534
  9. 18 Jun, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.*: Immediatly commit the toplevel bin state when receiving an... · 0b315387
      Wim Taymans authored
      gst/gstbin.*: Immediatly commit the toplevel bin state when receiving an async-done message. This enables us to avoid...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_get_state_func),
      (gst_bin_element_set_state), (gst_bin_continue_func),
      (bin_push_state_continue), (bin_handle_async_start),
      (bin_handle_async_done), (gst_bin_handle_message_func):
      * gst/gstbin.h:
      Immediatly commit the toplevel bin state when receiving an async-done
      message. This enables us to avoid spawning a thread to commit the state
      in some common cases and it also avoids some races.
      Avoid spawning a state thread when adding/removing async elements to a
      toplevel bin. Instead we immediatly update the bin state.
      Get rid of iterating all the children when getting the state in the bin
      because it is now always up-to-date.
      Fix bug where locked elements would always return _SUCCESS even it they
      returned NO_PREROLL before being locked.
      Fix the order of the state_change, async-start/done messages that was
      sometimes incorrect.
      Mark the state_dirty field as deprecated, we don't need it anymore as we
      are always up-to-date.
      * gst/gstelement.c: (gst_element_get_state_func),
      (gst_element_continue_state):
      Small debug inprovements.
      Return the previous element state return when nothing is pending instead
      of blindly returning SUCCESS.
      * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
      (gst_sinks_suite):
      Add a whole bunch of new testcases.
      0b315387
  10. 07 Jun, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Add helper function to find messages. · 491de61f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
      (gst_bin_remove_func), (gst_bin_element_set_state),
      (bin_handle_async_start), (bin_handle_async_done),
      (gst_bin_handle_message_func):
      Add helper function to find messages.
      Generate the async-done messages together with the state change
      messages.
      Small cleanups in handling toplevel bins.
      491de61f
  11. 25 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Make sure that the child bin stops after completing the async... · 6892e94e
      Wim Taymans authored
      gst/gstbin.c: Make sure that the child bin stops after completing the async state change so that the parent can conti...
      
      Original commit message from CVS:
      * gst/gstbin.c: (bin_handle_async_done):
      Make sure that the child bin stops after completing the async state
      change so that the parent can continue the state change to PLAYING.
      Fixes #441159.
      6892e94e
  12. 24 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Enable latency for next release. · 65ef6ed5
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
      (gst_bin_continue_func):
      Enable latency for next release.
      Restore STATE_LOCK around recalc_state that was left out during the
      rewrite and could result in racy behaviour when _get_state and
      recalc_state are run concurrently. See #440463.
      65ef6ed5
  13. 22 May, 2007 2 commits
    • Tim-Philipp Müller's avatar
      gst/gstbin.*: 'private' is a c++ keyword, let's not use that in header files,... · 93230e96
      Tim-Philipp Müller authored
      gst/gstbin.*: 'private' is a c++ keyword, let's not use that in header files, otherwise c++ compilers will throw a ta...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
      (gst_bin_set_property), (gst_bin_get_property),
      (gst_bin_remove_func), (gst_bin_handle_message_func):
      * gst/gstbin.h:
      'private' is a c++ keyword, let's not use that in header files,
      otherwise c++ compilers will throw a tantrum.
      93230e96
    • Edward Hervey's avatar
      Add a property for bins that handle the state change of their childs. · 466218f4
      Edward Hervey authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
      (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
      (gst_bin_remove_func), (gst_bin_handle_message_func):
      * gst/gstbin.h:
      Add a property for bins that handle the state change of their childs.
      Fixes #435880
      466218f4
  14. 21 May, 2007 1 commit
    • Wim Taymans's avatar
      docs/design/part-synchronisation.txt: Small addition. · 75b997ad
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-synchronisation.txt:
      Small addition.
      * gst/gstbin.c: (gst_bin_query):
      * plugins/elements/gstqueue.c: (apply_segment):
      Improve debugging.
      * gst/gstmessage.h:
      Improve docs.
      75b997ad
  15. 23 Apr, 2007 1 commit
    • Stefan Kost's avatar
      gst/gstbin.c: Fix build with --gst-disable-gst-debug · 05287354
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_element_set_state),
      (iterator_activate_fold_with_resync), (gst_bin_continue_func),
      (bin_handle_async_done), (gst_bin_handle_message_func):
      Fix build with --gst-disable-gst-debug
      05287354
  16. 21 Mar, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Prepare for release where we warn against possible app breakage... · 9f3b0b8f
      Wim Taymans authored
      gst/gstbin.c: Prepare for release where we warn against possible app breakage in the case of live pipelines along wit...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
      Prepare for release where we warn against possible app breakage in the
      case of live pipelines along with an env var to enable/disable live
      preroll mode (GST_COMPAT=[no-]live-preroll).
      9f3b0b8f
  17. 19 Mar, 2007 1 commit
    • Wim Taymans's avatar
      docs/gst/gstreamer-sections.txt: Add new element field and method. · d14c4c4a
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      Add new element field and method.
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
      (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_recalc_state), (gst_bin_get_state_func),
      (gst_bin_element_set_state), (gst_bin_change_state_func),
      (gst_bin_continue_func), (bin_bus_handler),
      (bin_push_state_continue), (bin_handle_async_start),
      (bin_handle_async_done), (gst_bin_handle_message_func):
      Make async state changes a bit smarter by using new ASYNC_START and
      ASYNC_DONE messages. This reduces the number of times we run the state
      recalculation thread.
      Don't change state of element with a pending ASYNC_START message.
      Deprecate STATE_DIRTY messages.
      * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
      (gst_element_get_state_func), (gst_element_continue_state),
      (gst_element_lost_state), (gst_element_set_state_func),
      (gst_element_change_state):
      * gst/gstelement.h:
      Keep the state that was last set by the app in a new element field.
      Don't allow state changes when handling an element event.
      Post ASYNC_START and ASYNC_DONE messages.
      Change lost_state so that we go to PAUSED and wait for the parent to set
      us to PLAYING again (so latency calculation can be performed)
      Export gst_element_change_state() method so that subclasses can use it.
      API: gst_element_change_state()
      API: GST_STATE_TARGET
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (reset_stream_time), (gst_pipeline_change_state),
      (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
      Using the new ASYNC_START message we can reset the base_time when
      needed. This can then be used to implement base_time redistribution in
      flushing seeks so that we can remove the explicit seek handling.
      Perform latency query and configuration when going to PLAYING.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
      (gst_base_sink_query), (gst_base_sink_change_state):
      Post new ASYNC_START/ASYNC_DONE messages.
      * tests/check/generic/sinks.c: (GST_START_TEST):
      Fix test because the bin will not set the async element to PLAYING right
      away.
      * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
      Make the message check a little stronger.
      Handle ASYNC messages.
      * tests/check/pipelines/cleanup.c: (GST_START_TEST):
      * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
      Expect ASYNC_DONE messages.
      d14c4c4a
  18. 10 Mar, 2007 1 commit
  19. 28 Feb, 2007 1 commit
  20. 20 Feb, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Improve debug info. · e561ce76
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
      (gst_bin_change_state_func), (bin_query_min_max_init),
      (bin_query_latency_fold), (bin_query_latency_done),
      (gst_bin_query):
      Improve debug info.
      Implement latency query.
      e561ce76
  21. 11 Feb, 2007 1 commit
    • Stefan Kost's avatar
      docs/libs/Makefile.am: Fix path to core docs. · 85c81ea9
      Stefan Kost authored
      Original commit message from CVS:
      * docs/libs/Makefile.am:
      Fix path to core docs.
      * gst/gstbin.c: (gst_bin_get_by_interface),
      (gst_bin_iterate_all_by_interface):
      Refix docs by also renaming 'interface' to 'iface' in implementation.
      * docs/gst/gstreamer-sections.txt:
      * gst/gstcaps.c:
      * gst/gstchildproxy.c: (gst_child_proxy_base_init):
      * gst/gstchildproxy.h:
      * gst/gstelementfactory.c:
      * gst/gstpadtemplate.h:
      * libs/gst/controller/gstcontroller.c:
      (gst_controlled_property_new):
      Document more.
      85c81ea9
  22. 29 Jan, 2007 1 commit
    • Stefan Kost's avatar
      configure.ac: comment about refining the xml deps · ea55e135
      Stefan Kost authored
      Original commit message from CVS:
      * configure.ac:
      comment about refining the xml deps
      * docs/manuals.mak:
      comments about moving away from jade for docs
      * gst/gst.c:
      recommit the ifdefs to use the binary registry
      * gst/gstbin.c: (gst_bin_change_state_func):
      this break is obsolete
      * gst/gstelementfactory.h:
      better GST_ELEMENT_DETAILS docs, add comment about translation
      * gst/gstinfo.h:
      remove eol slash
      * gst/gstobject.c: (gst_signal_object_get_type):
      add G_UNLIKELY as usual
      * gst/gstpad.c: (gst_pad_event_default):
      add fall trhu comment
      * gst/gstregistrybinary.c: (gst_registry_binary_write),
      (gst_registry_binary_initialize_magic),
      (gst_registry_binary_save_string),
      (gst_registry_binary_save_pad_template),
      (gst_registry_binary_save_feature),
      (gst_registry_binary_save_plugin),
      (gst_registry_binary_write_cache),
      (gst_registry_binary_check_magic),
      (gst_registry_binary_load_pad_template),
      (gst_registry_binary_load_feature),
      (gst_registry_binary_load_plugin),
      (gst_registry_binary_read_cache):
      comment typo and formatting
      * gst/gstutils.c: (gst_element_state_get_name),
      (gst_element_state_change_return_get_name):
      remove obsolete breaks
      * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
      add FIXME 0.11 and remove cpp comment
      ea55e135
  23. 07 Dec, 2006 1 commit
  24. 06 Nov, 2006 1 commit
    • Stefan Kost's avatar
      docs/gst/gstreamer-sections.txt: add new API and fix the build · 894b7f9f
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      add new API and fix the build
      * gst/gstbin.c: (gst_bin_recalc_state):
      * gst/gstelement.c: (gst_element_message_full),
      (gst_element_get_state_func), (gst_element_set_state_func):
      use new API and improve logging
      * gst/gstutils.c: (gst_element_state_change_return_get_name):
      * gst/gstutils.h:
      API: add function to get StateChangereturn names to improve logs
      894b7f9f
  25. 06 Oct, 2006 1 commit
    • Josep Torre Valles's avatar
      gst/gst.c: Fix empty declaration and type mismatch. · fcb5023f
      Josep Torre Valles authored
      Original commit message from CVS:
      2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * gst/gst.c: (gst_init_get_option_group):
      Fix empty declaration and type mismatch.
      * gst/gstbin.c: (gst_bin_change_state_func):
      Fix type mismatch.
      * gst/gstelement.c: (gst_element_continue_state),
      (gst_element_set_state_func), (gst_element_change_state),
      (gst_element_change_state_func):
      Fix type mismatches.
      * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
      (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
      Cast as appropriate.
      * gst/gstobject.c: (gst_class_signal_connect):
      Cast as appropriate.  The function pointer parameter really
      has the wrong type but would break API if we change it.
      * gst/gstquery.c:
      Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
      order of including string.h.
      * gst/gstutils.c: (gst_element_state_get_name):
      Remove unreachable line.
      * gst/gstxml.c: (gst_xml_parse_doc):
      Fix type mismatch.
      All these caught by Forte.
      fcb5023f
  26. 15 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Update documentation. · 84fc21c3
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c:
      Update documentation.
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_release_request_pad), (gst_element_set_clock),
      (gst_element_get_index), (gst_element_add_pad),
      (gst_element_remove_pad), (gst_element_get_random_pad),
      (gst_element_send_event), (gst_element_get_query_types),
      (gst_element_query), (gst_element_post_message),
      (gst_element_message_full), (gst_element_continue_state),
      (gst_element_lost_state), (gst_element_save_thyself),
      (gst_element_restore_thyself):
      Documentation updates.
      Rename last bit of the new-pad -> pad-added signal rename.
      Fix the case where an element query would only work if the source
      pad was linked.
      Avoid some useless type checking in message handling.
      * gst/gstevent.c:
      * gst/gstevent.h:
      * gst/gstutils.c:
      Documentation updates.
      84fc21c3
  27. 16 Aug, 2006 1 commit
  28. 11 Jul, 2006 1 commit
    • 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
  29. 07 Jul, 2006 1 commit
    • 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
  30. 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
  31. 14 Jun, 2006 1 commit
  32. 28 Apr, 2006 2 commits
    • Stefan Kost's avatar
      make GstElementDetails const · e90fcdbc
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbin.c:
      * gst/gstpipeline.c:
      * plugins/elements/gstcapsfilter.c:
      * plugins/elements/gstfakesink.c:
      * plugins/elements/gstfakesrc.c:
      * plugins/elements/gstfdsink.c:
      * plugins/elements/gstfdsrc.c:
      * plugins/elements/gstfilesink.c:
      * plugins/elements/gstfilesrc.c:
      * plugins/elements/gstidentity.c:
      * plugins/elements/gstqueue.c:
      * plugins/elements/gsttee.c:
      * plugins/elements/gsttypefindelement.c:
      (gst_type_find_element_handle_event):
      make GstElementDetails const
      e90fcdbc
    • Stefan Kost's avatar
      gst/gstbin.c: Update docs. · 185188ab
      Stefan Kost authored
      Original commit message from CVS:
      Patch by: Stefan Kost <ensonic at sonicpulse dot de>
      * gst/gstbin.c: (gst_bin_handle_message_func):
      Update docs.
      Don't leak bin refcount when a state recalc is
      in progress and we delay another one #339808.
      185188ab
  33. 21 Mar, 2006 1 commit
    • Edward Hervey's avatar
      Series of fixes for dereferenced pointers that gcc 4.1 complains about. · ac377b0c
      Edward Hervey authored
      Original commit message from CVS:
      reviewed by: <delete if not using a buddy>
      * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
      (gst_bin_handle_message_func):
      * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
      * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
      (gst_element_set_bus_func):
      * gst/gstghostpad.c: (gst_proxy_pad_dispose):
      * gst/gstminiobject.c: (gst_value_set_mini_object),
      (gst_value_take_mini_object):
      * gst/gstpad.c: (gst_pad_set_pad_template):
      * gst/gstpipeline.c: (gst_pipeline_dispose),
      (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
      * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
      (gst_collect_pads_chain):
      * libs/gst/net/gstnettimeprovider.c:
      (gst_net_time_provider_set_property):
      Series of fixes for dereferenced pointers that gcc 4.1 complains about.
      It's in fact all issues with gst_*object_replace().
      ac377b0c
  34. 20 Mar, 2006 1 commit
  35. 13 Mar, 2006 1 commit
    • Wim Taymans's avatar
      Documentation updates. · 429ebfff
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
      * gst/gstbin.h:
      * gst/gstbus.c: (gst_bus_class_init):
      * gst/gstbus.h:
      * gst/gstclock.c:
      * gst/gstelement.c: (gst_element_set_locked_state):
      * gst/gstsegment.c:
      Documentation updates.
      * gst/gstpipeline.c: (gst_pipeline_get_type),
      (gst_pipeline_class_init), (gst_pipeline_init),
      (gst_pipeline_dispose), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (do_pipeline_seek),
      (gst_pipeline_send_event), (gst_pipeline_change_state),
      (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
      (gst_pipeline_get_delay):
      * gst/gstpipeline.h:
      Added methods for setting the delay.
      API: gst_pipeline_set_delay
      API: gst_pipeline_get_delay
      Add pipeline debug category
      Various cleanups.
      Updated docs.
      Don't reset stream time when seek failed.
      429ebfff
  36. 28 Feb, 2006 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Help the compiler a bit with type registration. · a1939810
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
      Help the compiler a bit with type registration.
      Use existing forward cod path instead of duplicating it when
      handling a message.
      
      * gst/gstbus.c: (gst_bus_get_type):
      * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
      * gst/gstchildproxy.c: (gst_child_proxy_get_type):
      * gst/gstclock.c: (gst_clock_get_type):
      * gst/gstelement.c: (gst_element_get_type),
      * gst/gstelementfactory.c: (gst_element_factory_get_type):
      * gst/gstindexfactory.c: (gst_index_factory_get_type):
      * gst/gstminiobject.c: (gst_mini_object_get_type):
      * gst/gstpad.c: (gst_pad_get_type):
      * gst/gstsegment.c: (gst_segment_get_type):
      * gst/gststructure.c: (gst_structure_get_type):
      * gst/gstsystemclock.c: (gst_system_clock_get_type):
      * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
      * gst/gstvalue.c:
      Help compiler with type registration.
      
      * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
      Small doc update.
      a1939810