1. 29 Jan, 2005 2 commits
  2. 11 Jan, 2005 1 commit
    • Ronald S. Bultje's avatar
      Add gst_pad_set_active_recursive(). · 28f58530
      Ronald S. Bultje authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/gstpad.sgml:
      * gst/gstpad.c: (gst_pad_set_active_recursive):
      * gst/gstpad.h:
      Add gst_pad_set_active_recursive().
      28f58530
  3. 16 Dec, 2004 1 commit
    • Ronald S. Bultje's avatar
      gst/gstpad.c: Do query on realized pad, similar to how convert/send_event... · df7ac68e
      Ronald S. Bultje authored
      gst/gstpad.c: Do query on realized pad, similar to how convert/send_event handle this. Also makes sense, since this p...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_query):
      Do query on realized pad, similar to how convert/send_event handle
      this. Also makes sense, since this pad belongs to the function to
      which this query will be sent. Fixes #158163.
      df7ac68e
  4. 14 Dec, 2004 1 commit
  5. 03 Dec, 2004 1 commit
    • Ronald S. Bultje's avatar
      gst/gstpad.c: GST_RPAD_* will only operate on a RealPad (it casts the pointer,... · 8291c44a
      Ronald S. Bultje authored
      gst/gstpad.c: GST_RPAD_* will only operate on a RealPad (it casts the pointer, it doesn't actually check the contents...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_is_negotiated),
      (gst_pad_get_negotiated_caps):
      GST_RPAD_* will only operate on a RealPad (it casts the pointer,
      it doesn't actually check the contents), so be sure to hand it
      a RealPad else we'll crash.
      8291c44a
  6. 29 Nov, 2004 1 commit
    • Ronald S. Bultje's avatar
      gst/: Deprecate _type_is_fixed, use _value_is_fixed instead, since the... · 8d61d904
      Ronald S. Bultje authored
      gst/: Deprecate _type_is_fixed, use _value_is_fixed instead, since the fixedness depends on the content.
      
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
      * gst/gstpad.c: (_gst_pad_default_fixate_value),
      (_gst_pad_default_fixate_foreach):
      * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
      * gst/gstvalue.h:
      Deprecate _type_is_fixed, use _value_is_fixed instead, since
      in some cases (arrays), the fixedness depends on the content.
      * gst/gstqueue.c: (gst_queue_handle_src_query):
      Check for availability before doing something.
      8d61d904
  7. 07 Nov, 2004 1 commit
    • Martin Soto's avatar
      gst/gstpad.c (gst_pad_collectv): Fix the return line. · 7bf7d804
      Martin Soto authored
      Original commit message from CVS:
      2004-11-07  Martin Soto  <martinsoto@users.sourceforge.net>
      
      * gst/gstpad.c (gst_pad_collectv): Fix the return line.
      (gst_pad_collect_valist): Fix gst_pad_collect_array
      invocation. Apparently this functions were never tested.
      7bf7d804
  8. 02 Nov, 2004 1 commit
    • Wim Taymans's avatar
      gst/: Aplied part of patch #157127: Cleanup of issues reported by sparse. · 6d42edd5
      Wim Taymans authored
      Original commit message from CVS:
      reviewed by: Wim Taymans, Ronald Bultje.
      
      * gst/cothreads.c: (cothread_create):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_child_state_change_func):
      * gst/gstbuffer.c: (gst_buffer_span):
      * gst/gstelement.c: (gst_element_get_index),
      (gst_element_get_event_masks), (gst_element_get_query_types),
      (gst_element_get_formats):
      * gst/gsterror.c: (_gst_core_errors_init),
      (_gst_library_errors_init), (_gst_resource_errors_init),
      (_gst_stream_errors_init):
      * gst/gstobject.c: (gst_object_default_deep_notify):
      * gst/gstpad.c: (gst_pad_get_event_masks),
      (gst_pad_get_internal_links_default):
      * gst/gstplugin.c: (gst_plugin_register_func),
      (gst_plugin_get_module):
      * gst/gststructure.c: (gst_structure_get_string),
      (gst_structure_get_abbrs), (gst_structure_from_abbr),
      (gst_structure_to_abbr):
      * gst/gstutils.c: (gst_print_element_args):
      * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
      (setup_group_scheduler), (gst_opt_scheduler_iterate):
      Aplied part of patch #157127: Cleanup of issues reported by
      sparse.
      Also do not try to use cothreads when there is no cothread
      context yet.
      6d42edd5
  9. 11 Oct, 2004 1 commit
    • Benjamin Otte's avatar
      gst/gstpad.c: allow renegotiation of unconnected pads (as inside spider).... · bedb0bef
      Benjamin Otte authored
      gst/gstpad.c: allow renegotiation of unconnected pads (as inside spider). Simply return OK if unconnected - mimic try...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_renegotiate), (gst_pad_try_set_caps),
      (gst_pad_try_set_caps_nonfixed):
      allow renegotiation of unconnected pads (as inside spider). Simply
      return OK if unconnected - mimic try_set_caps there.
      bedb0bef
  10. 26 Sep, 2004 1 commit
  11. 06 Sep, 2004 1 commit
  12. 18 Aug, 2004 1 commit
    • David Schleef's avatar
      docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331) · aa6049eb
      David Schleef authored
      Original commit message from CVS:
      * docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331)
      * docs/libs/Makefile.am: same
      * docs/gst/tmpl/gstxml.sgml: Remove GstXMLNs
      * docs/random/ds/0.9-planning: random additions
      * docs/random/ds/0.9-suggested-changes: same
      * gst/gstxml.h: remove vestigal GstXMLNs definition
      Preferred caps: (#147789)
      * docs/gst/gstreamer-sections.txt: Add symbols
      * docs/gst/tmpl/gstcaps.sgml: Add symbols
      * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
      (gst_caps_append), (gst_caps_copy_1), (gst_caps_intersect),
      (gst_caps_union), (gst_caps_save_thyself), (gst_caps_load_thyself),
      (gst_caps_get_preferred), (gst_caps_set_preferred),
      (gst_caps_get_structure_by_id), (gst_caps_prefer_foreach),
      (gst_caps_use_preferred): Handle caps preferences
      * gst/gstcaps.h: Add caps preferences
      * gst/gstpad.c: (gst_pad_link_get_preferred),
      (gst_pad_link_fixate), (gst_pad_link_call_link_functions),
      (gst_pad_renegotiate), (gst_pad_guess_preferred),
      (gst_pad_get_caps), (gst_pad_push):  Use caps preferences for
      negotiation.
      aa6049eb
  13. 17 Aug, 2004 1 commit
  14. 29 Jul, 2004 1 commit
    • Benjamin Otte's avatar
      gst/gstpad.c: check that caps are fixed · 2bd5f3ad
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_set_explicit_caps):
      check that caps are fixed
      * gst/gstpad.c: (gst_pad_template_new):
      don't try to simplify caps, costs too much time on gst_init
      * gst/gstplugin.c: (gst_plugin_add_feature):
      G_ERROR if features are added twice
      * gst/gsttypefind.c: (gst_type_find_register):
      * gst/gstelementfactory.c: (gst_element_register):
      don't add features twice
      * docs/random/ds/0.9-suggested-changes:
      add note about possible gst_init optimization
      2bd5f3ad
  15. 26 Jul, 2004 1 commit
  16. 25 Jul, 2004 1 commit
    • Benjamin Otte's avatar
      gst/autoplug/gstspideridentity.c: don't delay links on the sink elements, it... · 1a8f31e5
      Benjamin Otte authored
      gst/autoplug/gstspideridentity.c: don't delay links on the sink elements, it causes unnegotiated links.
      
      Original commit message from CVS:
      * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
      don't delay links on the sink elements, it causes unnegotiated
      links.
      * gst/elements/gsttypefindelement.c:
      (gst_type_find_element_base_init):
      add our padtemplates, we indeed do have some.
      * gst/elements/gsttypefindelement.c:
      (gst_type_find_element_handle_event),
      (gst_type_find_element_chain):
      don't push data when typefinding failed.
      * gst/gstpad.c: (gst_pad_link_fixate):
      check that no fixate function returns empty caps.
      * gst/gstpad.c: (gst_pad_push):
      check that the link is negotiated before data gets pushed.
      * tools/gst-register.c: (main):
      don't assert (fixes #148283)
      1a8f31e5
  17. 21 Jul, 2004 1 commit
  18. 15 Jul, 2004 1 commit
  19. 14 Jul, 2004 1 commit
    • Andy Wingo Wingo's avatar
      gst/gsttag.c: Add a tag merge func for pointers. The header was there all... · d6443170
      Andy Wingo Wingo authored
      gst/gsttag.c: Add a tag merge func for pointers. The header was there all along, but the function wasn't. (guile-gstr...
      
      Original commit message from CVS:
      2004-07-14  Andy Wingo  <wingo@pobox.com>
      
      * gst/gsttag.c: Add a tag merge func for pointers. The header was
      there all along, but the function wasn't. (guile-gstreamer's build
      system uses the address of the function -- I wasn't actually
      trying to use this.)
      
      2004-07-13  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_try_set_caps): Naive link functions (such
      as gst_pad_proxy_pad_link) just link to every other pad when they
      are called. In the case where the graph has cycles, this will mean
      that a call to try_set_caps will recurse. Allow this recursion
      and return OK, while we wait for the first try_set_caps to give a
      proper return value.
      (gst_pad_link_call_link_functions): Since this function is the
      only one to set the NEGOTIATING flag on a pad, if the flag is set
      it means that the link functions have indirectly recursed. If this
      happens, error out to avoid infinite recursion and an eventual
      SEGV.
      (gst_real_pad_class_init): Remove a crufty GtkObject comment.
      (gst_pad_proxy_getcaps): Intersect the result with the template
      caps to ensure that the return value is valid.
      
      2004-07-11  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstdata.c (gst_data_is_writable): s/>=/>/. If there is only
      one refcount, the calling function is the owner of the buffer.
      d6443170
  20. 12 Jul, 2004 1 commit
  21. 08 Jul, 2004 2 commits
    • Thomas Vander Stichele's avatar
      don't send events below PAUSED on parent · 6595422e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      don't send events below PAUSED on parent
      6595422e
    • Thomas Vander Stichele's avatar
      gst/autoplug/gstspideridentity.c: extra debugging · e7a32237
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
      extra debugging
      * gst/gstevent.h:
      * gst/gstinfo.c: (gst_debug_log_default):
      print time nicely.  add thread pointer until someone figures out
      a completely portable way of getting at thread id's.
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_try),
      (_invent_event), (gst_pad_pull), (gst_pad_event_default_dispatch),
      (gst_pad_call_chain_function):
      extra debugging
      * gst/schedulers/gstoptimalscheduler.c:
      (get_group_schedule_function), (loop_group_schedule_function),
      (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
      (pad_clear_queued), (gst_opt_scheduler_iterate):
      rename BUFPEN and friends to DATAPEN since that's what they are.
      e7a32237
  22. 07 Jul, 2004 2 commits
  23. 02 Jul, 2004 2 commits
    • Thomas Vander Stichele's avatar
      revert until fixed · 074bcabf
      Thomas Vander Stichele authored
      Original commit message from CVS:
      revert until fixed
      074bcabf
    • Benjamin Otte's avatar
      gst/gstpad.c: check that pads that get linked belong to the same manager. The... · ef97ba69
      Benjamin Otte authored
      gst/gstpad.c: check that pads that get linked belong to the same manager. The old code allowed linking elements befor...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_check_schedulers),
      (gst_pad_can_link_filtered), (gst_pad_link_filtered),
      (gst_pad_link_prepare):
      check that pads that get linked belong to the same manager. The old
      code allowed linking elements before putting them into bins, so it
      worked to link them and then put them in different threads, which
      lead to weird behaviour.
      Since this effectively disallows linking elements before putting
      them in a bin, some applications might not work after this and error
      out. If these applications are too critical, we might need to revert
      that patch. Please test this before the next release...
      ef97ba69
  24. 29 Jun, 2004 1 commit
  25. 20 Jun, 2004 1 commit
    • Benjamin Otte's avatar
      gst/gstpad.c: check for if we were unlinked while inside the chainfunction... · 94821aea
      Benjamin Otte authored
      gst/gstpad.c: check for if we were unlinked while inside the chainfunction (fixes entrygthread having issues with #14...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_call_chain_function):
      check for if we were unlinked while inside the chainfunction (fixes
      entrygthread having issues with #143777)
      * testsuite/schedulers/143777.c: (main):
      * testsuite/schedulers/Makefile.am:
      add a test for that fix
      94821aea
  26. 13 May, 2004 1 commit
    • Jan Schmidt's avatar
      configure.ac: Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large... · 7dcd6a05
      Jan Schmidt authored
      configure.ac: Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file support until we decide where the fla...
      
      Original commit message from CVS:
      * configure.ac:
      Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file
      support until we decide where the flags should be used
      * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query):
      Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed
      * gst/gstpad.c: (gst_pad_link_call_link_functions):
      Output refused caps in the debug info
      7dcd6a05
  27. 11 May, 2004 1 commit
    • Benjamin Otte's avatar
      gst/elements/gstfilesrc.c: compute mapsize correctly · ac83b103
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
      compute mapsize correctly
      * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
      use correct datatypes when calling a varargs function
      * gst/elements/gsttypefindelement.c: (stop_typefinding):
      push a DISCONT event as first thing
      * gst/gst_private.h:
      * gst/gstinfo.c: (_gst_debug_init):
      remove GST_DATAFLOW debugging category
      * gst/gstbin.c: (gst_bin_iterate):
      use GST_SCHEDULING category
      * gst/gstpad.c: (gst_pad_get_type), (_invent_event),
      (gst_pad_push), (gst_pad_pull), (gst_pad_call_chain_function),
      (gst_pad_call_get_function):
      add GST_DATAFLOW to easily track flow of buffers or events.
      * gst/gstqueue.c: (gst_queue_get_type),
      (gst_queue_handle_pending_events), (gst_queue_chain),
      (gst_queue_get), (gst_queue_handle_src_event):
      use own static debugging category GST_DATAFLOW for dataflow,
      use DEBUG category for showing which path events go, use LOG
      category for buffers.
      ac83b103
  28. 08 May, 2004 2 commits
  29. 06 May, 2004 1 commit
    • Benjamin Otte's avatar
      gst/elements/gstfilesrc.*: send NEW_MEDIA events correctly · f9bafab2
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/elements/gstfilesrc.c: (gst_filesrc_get),
      (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
      * gst/elements/gstfilesrc.h:
      send NEW_MEDIA events correctly
      * gst/elements/gsttypefindelement.c: (start_typefinding),
      (gst_type_find_element_handle_event):
      restart typefinding when we get a NEW_MEDIA event
      * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_change_state),
      (gst_bin_dispose):
      don't die when someone removes elements in callbacks
      * gst/gstelement.c: (gst_element_change_state):
      improve debugging
      * gst/gstpad.c: (gst_pad_pull), (gst_pad_call_chain_function):
      we need a NEW_MEDIA event to engage a link
      * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
      don't g_print debugging stuff
      * testsuite/caps/simplify.c: (check_caps):
      f9bafab2
  30. 04 May, 2004 1 commit
  31. 22 Apr, 2004 2 commits
    • Benjamin Otte's avatar
      docs/gst/tmpl/: update for recent API changes · 1c0dbd87
      Benjamin Otte authored
      Original commit message from CVS:
      * docs/gst/tmpl/gstcaps.sgml:
      * docs/gst/tmpl/gstfilesrc.sgml:
      * docs/gst/tmpl/gststructure.sgml:
      * docs/gst/tmpl/gstvalue.sgml:
      update for recent API changes
      * gst/gstcaps.c: (gst_caps_do_simplify):
      fix to stop trying with a freed structure
      * gst/gstpad.c: (gst_pad_link_fixate):
      simplify caps
      * gst/gstpad.c: (gst_pad_template_get_caps_by_name):
      remove C++ comment
      * gst/gstpad.h:
      deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway
      * gst/gststructure.c: (gst_structure_value_get_generic_type),
      (gst_structure_to_string):
      keep the correct type when using lists of ranges
      * gst/gstvalue.c: (gst_value_list_prepend_value),
      (gst_value_list_append_value):
      copy the value before adding to the list (d'oh)
      * gst/gstvalue.c: (gst_value_subtract_int_range_int),
      (gst_value_subtract_int_range_int_range):
      handle overflows correctly
      * gst/gstvalue.c: (gst_value_subtract_from_list):
      fix memleak
      * testsuite/caps/caps.h:
      add a caps that caused segfaults
      1c0dbd87
    • Benjamin Otte's avatar
      gst/gstcaps.c: unset GValue after use · a79d06fe
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_structure_simplify):
      unset GValue after use
      * gst/gstcaps.c: (gst_caps_append),
      * gst/gstpad.c: (gst_pad_link_fixate), (gst_pad_template_new):
      use gst_caps_simplify (reduces registry size by 30%)
      * gst/gstpad.c: (gst_pad_template_new):
      don't allow NULL caps
      a79d06fe
  32. 21 Apr, 2004 3 commits
    • Benjamin Otte's avatar
      gst/gstpad.c: refuse to link if the link is not possible · a3cb8652
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_link_negotiate):
      refuse to link if the link is not possible
      * configure.ac:
      * testsuite/Makefile.am:
      * testsuite/negotiation/.cvsignore:
      * testsuite/negotiation/Makefile.am:
      * testsuite/negotiation/pad_link.c: (main):
      add test that checks the above behaviour
      a3cb8652
    • Benjamin Otte's avatar
      gst/gstpad.c: add sophisticated error checking code to see if fixation... · 6d8c433f
      Benjamin Otte authored
      gst/gstpad.c: add sophisticated error checking code to see if fixation functions did their fixation right
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_link_fixate):
      add sophisticated error checking code to see if fixation functions
      did their fixation right
      6d8c433f
    • Benjamin Otte's avatar
      gst/gstcaps.c: check for ANY caps before appending/unioning · 614b4d16
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
      check for ANY caps before appending/unioning
      * gst/gstcaps.c: (gst_caps_is_subset),
      (gst_caps_is_equal), (gst_caps_structure_subtract_field),
      (gst_caps_structure_subtract), (gst_caps_subtract):
      * gst/gstcaps.h:
      add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
      the API. deprecate gst_caps_is_equal_fixed
      * gst/gstpad.c: (gst_pad_try_set_caps):
      * gst/gstqueue.c: (gst_queue_link):
      s/gst_caps_is_equal_fixed/gst_caps_is_equal/
      * gst/gststructure.c: (gst_structure_get_name_id):
      * gst/gststructure.h:
      add function gst_structure_get_name_id
      * gst/gstvalue.c: (gst_value_subtract_int_int_range),
      (gst_value_create_new_range), (gst_value_subtract_int_range_int),
      (gst_value_subtract_int_range_int_range),
      (gst_value_subtract_double_double_range),
      (gst_value_subtract_double_range_double),
      (gst_value_subtract_double_range_double_range),
      (gst_value_subtract_from_list), (gst_value_subtract_list),
      (gst_value_can_intersect), (gst_value_subtract),
      (gst_value_can_subtract), (gst_value_register_subtract_func),
      (_gst_value_initialize):
      * gst/gstvalue.h:
      add support for subtracting values from each other. Note that
      subtracting means subtracting as in set theory. Required for caps
      stuff above.
      * testsuite/caps/.cvsignore:
      * testsuite/caps/Makefile.am:
      * testsuite/caps/erathostenes.c: (erathostenes), (main):
      * testsuite/caps/sets.c: (check_caps), (main):
      * testsuite/caps/subtract.c: (check_caps), (main):
      add tests for subtraction and equality code.
      614b4d16