1. 14 Sep, 2006 1 commit
  2. 03 Sep, 2006 2 commits
  3. 02 Sep, 2006 1 commit
  4. 01 Sep, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst/gstinfo.c: Fix locking order, handle NULL function values properly. · 1c389318
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
      Fix locking order, handle NULL function values properly.
      * gst/gstinfo.h:
      Fix docs.
      * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
      Initialised variable before using it and fix debug statement to
      print the address of the function rather than the address of the
      variable on the stack holding the address of the function.
      1c389318
    • Wim Taymans's avatar
      gst/gstghostpad.c: More cleanups. · 1b623c32
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstghostpad.c: (gst_proxy_pad_do_event),
      (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
      (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
      (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
      (gst_ghost_pad_parent_unset),
      (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_init), (gst_ghost_pad_dispose),
      (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
      (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
      (gst_ghost_pad_new_no_target_from_template),
      (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
      More cleanups.
      Avoid needless typechecking in macros.
      Since the internal pad is always present and never changes, there is
      no need to locking or ref when retrieving it.
      Improve debugging a bit.
      Handle link errors when setting the target. Fixes #341029.
      1b623c32
  5. 31 Aug, 2006 3 commits
    • Michael Smith's avatar
      gst/gstutils.c: Ensure that we set a capsfilter to NULL if we failed to link... · 858de979
      Michael Smith authored
      gst/gstutils.c: Ensure that we set a capsfilter to NULL if we failed to link it when doing filtered linking, to avoid...
      
      Original commit message from CVS:
      * gst/gstutils.c: (gst_element_link_pads),
      (gst_element_link_pads_filtered):
      Ensure that we set a capsfilter to NULL if we failed to link it
      when doing filtered linking, to avoid criticals.
      
      No need to check for unreffing srcpad, which is explicly NULLed
      above (a trivial code cleanup).
      858de979
    • Wim Taymans's avatar
      docs/design/part-gstghostpad.txt: Update ascii art in documentation. · 47e5ba2f
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-gstghostpad.txt:
      Update ascii art in documentation.
      * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
      (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
      (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
      (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_full),
      (gst_ghost_pad_set_target):
      Small cleanups and leak fixes.
      Remove some checks now that the internal pad is never NULL.
      Fix the case where linking pads without a target would create nasty
      criticals. Fixes #341029.
      Don't assign a GstPadLinkReturn to a gboolean and mess up the return
      value of _set_target().
      * tests/check/gst/gstghostpad.c: (GST_START_TEST),
      (gst_ghost_pad_suite):
      Some more tests for creating and linking untargeted ghostpads.
      47e5ba2f
    • Edward Hervey's avatar
      Refactored *_new() functions. · ce6e126d
      Edward Hervey authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
      (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
      (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
      (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
      (gst_ghost_pad_new_from_template),
      (gst_ghost_pad_new_no_target_from_template):
      * gst/gstghostpad.h:
      Refactored *_new() functions.
      Templates are now used as a g_object_new() parameter.
      Use template in _do_getcaps() if we don't have a target.
      Small documentation cleanups.
      Added two new constructors:
      gst_ghost_pad_new_from_template()
      gst_ghost_pad_new_no_target_from_template()
      * tests/check/gst/gstghostpad.c: (GST_START_TEST),
      (gst_ghost_pad_suite):
      Added tests for new ghostpad instanciation functions.
      API additions: gst_ghost_pad_new_from_template,
      gst_ghost_pad_new_no_target_from_template
      ce6e126d
  6. 29 Aug, 2006 3 commits
    • Wim Taymans's avatar
      gst/gstcaps.c: Code cleanups. · cf85710b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
      Code cleanups.
      Fix memleak.
      cf85710b
    • Tim-Philipp Müller's avatar
      gst/gstxml.c: Improve and detypofy docs. · ab00f16f
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstxml.c:
      Improve and detypofy docs.
      * tests/check/Makefile.am:
      * tests/check/gst/.cvsignore:
      * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
      Add a basic test suite for GstXML.
      ab00f16f
    • Wim Taymans's avatar
      gst/gstelement.c: Clear the pad caps when the element shut down all of the... · 3f7a4066
      Wim Taymans authored
      gst/gstelement.c: Clear the pad caps when the element shut down all of the pads and is not streaming data that could ...
      
      Original commit message from CVS:
      * gst/gstelement.c: (activate_pads), (clear_caps),
      (iterator_activate_fold_with_resync), (gst_element_pads_activate):
      Clear the pad caps when the element shut down all of the pads and
      is not streaming data that could modify the caps.
      Fixes #352958.
      3f7a4066
  7. 28 Aug, 2006 4 commits
  8. 24 Aug, 2006 1 commit
    • Stefan Kost's avatar
      implement caps merging (fixes #352580) · fc8d184b
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
      (gst_caps_structure_is_subset), (gst_caps_merge),
      (gst_caps_merge_structure):
      * gst/gstcaps.h:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_transform_caps):
      * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
      implement caps merging (fixes #352580)
      fc8d184b
  9. 23 Aug, 2006 3 commits
    • Wim Taymans's avatar
      gst/gstpad.c: Improve debugging for task functions. · f0f388b8
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
      (gst_pad_stop_task):
      Improve debugging for task functions.
      * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
      (gst_task_start), (gst_task_pause), (gst_task_join):
      Make sure that the task function started and finished after a
      join().
      Don't try to push the task function on the threadpool multiple
      times.
      Improve the g_warning message with some useful suggestions
      about how to fix the problem.
      f0f388b8
    • Wim Taymans's avatar
      gst/gstutils.c: Handle RESYNC correctly in _proxy_getcaps. · ca915c19
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstutils.c: (gst_pad_proxy_getcaps):
      Handle RESYNC correctly in _proxy_getcaps.
      ca915c19
    • Thomas Vander Stichele's avatar
      word refcounting more precisely for gst_value_*_buffer · ef9253d9
      Thomas Vander Stichele authored
      Original commit message from CVS:
      word refcounting more precisely for gst_value_*_buffer
      ef9253d9
  10. 21 Aug, 2006 4 commits
    • Tim-Philipp Müller's avatar
      gst/gstxml.c: Chain up to parent class in dispose function and also unref the... · 7424a01f
      Tim-Philipp Müller authored
      gst/gstxml.c: Chain up to parent class in dispose function and also unref the elements in the toplevel_elements GList.
      
      Original commit message from CVS:
      * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
      (gst_xml_parse_memory), (gst_xml_get_element):
      Chain up to parent class in dispose function and also
      unref the elements in the toplevel_elements GList.
      Don't leak XmlDocPtr in _parse_file() and _parse_memory().
      Always return a reference in gst_xml_get_element() rather
      than only sometimes.
      * tools/gst-launch.c: (xmllaunch_parse_cmdline):
      Don't leak GstXml object.
      7424a01f
    • Stefan Kost's avatar
      API: Add gst_caps_merge() and use it in basetransform, fixes #345444 in a better way · 38d2d33f
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstcaps.c: (gst_structure_is_equal_foreach),
      (gst_caps_merge):
      * gst/gstcaps.h:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_transform_caps):
      API: Add gst_caps_merge() and use it in basetransform, fixes #345444
      in a better way
      38d2d33f
    • Edward Hervey's avatar
      gst/gstxml.c: Implement GObject::dispose virtual method in GstXML so we can... · 9c590b22
      Edward Hervey authored
      gst/gstxml.c: Implement GObject::dispose virtual method in GstXML so we can free the top_elements GList.
      
      Original commit message from CVS:
      * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
      Implement GObject::dispose virtual method in GstXML so we can free the
      top_elements GList.
      9c590b22
    • Wim Taymans's avatar
      gst/gstbuffer.c: Copy duration/offset_end/caps when creating a subbuffer of the complete parent. · 87a78cc0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
      (gst_buffer_create_sub):
      Copy duration/offset_end/caps when creating a subbuffer of the
      complete parent.
      Make the subbuffer read-only when we make the metadata writable for
      now. Fixes #351768.
      * tests/check/gst/gstbuffer.c: (GST_START_TEST):
      Added check for metadata copy when creating subbuffers.
      87a78cc0
  11. 20 Aug, 2006 3 commits
    • Stefan Kost's avatar
      Simplify caps to get rid of duplicates, fixes #345444 · c789a109
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gst.c:
      * gst/gstpad.c: (gst_pad_set_active):
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_transform_caps):
      Simplify caps to get rid of duplicates, fixes #345444
      c789a109
    • Stefan Kost's avatar
      gst/gstvalue.*: Use these optimizations only internaly. · 6ab83451
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstvalue.c:
      * gst/gstvalue.h:
      Use these optimizations only internaly.
      6ab83451
    • Stefan Kost's avatar
      gst/gstvalue.*: Saves the expensive lookup of the compare function in many cases (#345444) · fe851cf2
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstvalue.c: (gst_value_compare_list),
      (gst_value_compare_fraction_range),
      (gst_value_intersect_fraction_fraction_range),
      (gst_value_intersect_fraction_range_fraction_range),
      (gst_value_subtract_fraction_fraction_range),
      (gst_value_subtract_fraction_range_fraction_range),
      (gst_value_get_compare_func), (gst_value_compare),
      (gst_value_compare_with_func):
      * gst/gstvalue.h:
      Saves the expensive lookup of the compare function in many cases
      (#345444)
      fe851cf2
  12. 18 Aug, 2006 1 commit
    • Stefan Kost's avatar
      docs/random/ensonic/logging.txt: update ideas · 2d265692
      Stefan Kost authored
      Original commit message from CVS:
      * docs/random/ensonic/logging.txt:
      update ideas
      * gst/gstinfo.c: (gst_debug_log_default):
      reorder fields, save some columns, add optinal color codes for log-
      levels
      2d265692
  13. 16 Aug, 2006 2 commits
    • Jan Schmidt's avatar
      Add internal helpers for pre-registering quarks from static strings and using... · 5736de19
      Jan Schmidt authored
      Add internal helpers for pre-registering quarks from static strings and using the quark values directly instead of lo...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/Makefile.am:
      * gst/gst.c: (init_post):
      * gst/gst_private.h:
      * gst/gstquark.c: (_priv_gst_quarks_initialize):
      * gst/gstquark.h:
      * gst/gstquery.c: (gst_query_new_position),
      (gst_query_set_position), (gst_query_parse_position),
      (gst_query_new_duration), (gst_query_set_duration),
      (gst_query_parse_duration), (gst_query_new_convert),
      (gst_query_set_convert), (gst_query_parse_convert),
      (gst_query_new_segment), (gst_query_set_segment),
      (gst_query_parse_segment), (gst_query_new_seeking),
      (gst_query_set_seeking), (gst_query_parse_seeking):
      Add internal helpers for pre-registering quarks from static strings
      and using the quark values directly instead of looking them up when
      creating and parsing queries. Can be used for event construction too.
      Closes #350432.
      5736de19
    • Wim Taymans's avatar
      gst/gstbin.c: Fix bogus docs. · 6072def8
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c:
      Fix bogus docs.
      6072def8
  14. 15 Aug, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstutils.c: Fix memleak (#351502). · a8714f51
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstutils.c: (gst_util_set_value_from_string):
      Fix memleak (#351502).
      * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
      Add unit test for most of gst_util_set_value_from_string()
      (not that one would want to encourage use of this function).
      a8714f51
  15. 14 Aug, 2006 5 commits
    • Tim-Philipp Müller's avatar
      API: add GST_TAG_EXTENDED_COMMENT (#350935). · 5d2860b0
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gsttaglist.c: (_gst_tag_initialize):
      * gst/gsttaglist.h:
      API: add GST_TAG_EXTENDED_COMMENT (#350935).
      5d2860b0
    • Tim-Philipp Müller's avatar
      gst/gstinfo.c: Make GST_PTR_FORMAT print messages as well. · 87e57870
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstinfo.c: (gst_debug_print_object):
      Make GST_PTR_FORMAT print messages as well.
      * tests/check/gst/gstinfo.c: (printf_extension_log_func),
      (GST_START_TEST), (gst_info_suite):
      More tests.
      87e57870
    • Edward Hervey's avatar
      gst/gstelementfactory.c: If the GstElementClass doesn't have a... · b2bfb935
      Edward Hervey authored
      gst/gstelementfactory.c: If the GstElementClass doesn't have a GstElementDetails with all fields then error out nicel...
      
      Original commit message from CVS:
      * gst/gstelementfactory.c: (gst_element_register):
      If the GstElementClass doesn't have a GstElementDetails with all fields
      filled up correctly (longname, description AND author), then error out
      nicely instead of crashing.
      b2bfb935
    • Tim-Philipp Müller's avatar
      gst/gststructure.c: Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line. · 5f0bc06a
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gststructure.c:
      Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
      * gst/gstvalue.h:
      Expand on the difference between arrays and lists as we use them.
      5f0bc06a
    • Wim Taymans's avatar
      gst/: Small doc updates. · 3254e4d7
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c:
      * gst/gsttask.c: (gst_task_join):
      Small doc updates.
      
      * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
      (gst_pad_stop_task):
      When pad (de)activation failed for some reason, restore the old
      activation mode and set the pad to flushing instead of assuming the
      pad is deactivated.
      If the _task_join() failed, reinstall the task on the pad so that it can
      be stopped later and return an error.
      3254e4d7
  16. 11 Aug, 2006 4 commits
    • Wim Taymans's avatar
      docs/gst/gstreamer-sections.txt: Add GstClockClass vmethod docs. · f0eeee33
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      Add GstClockClass vmethod docs.
      * gst/gstcaps.h:
      Mark #endif with comment for associated #if
      * gst/gstclock.c: (gst_clock_id_wait):
      * gst/gstclock.h:
      Add vmethod wait_jitter to avoid an unneeded _get_time() for
      most clock implementations.
      Document vmethods.
      Flesh out docs about resolution methods.
      API: GstClockClass::wait_jitter
      * gst/gstsystemclock.c: (gst_system_clock_class_init),
      (gst_system_clock_async_thread),
      (gst_system_clock_id_wait_jitter_unlocked),
      (gst_system_clock_id_wait_jitter):
      Use base class wait_jitter variant for improved performance
      due to less clock polling.
      f0eeee33
    • Edward Hervey's avatar
      gst/gst.c: Set gst as being initialized before scanning/updating the registry,... · 38f5745f
      Edward Hervey authored
      gst/gst.c: Set gst as being initialized before scanning/updating the registry, since there might be some plugins that...
      
      Original commit message from CVS:
      * gst/gst.c: (gst_init_check), (init_post):
      Set gst as being initialized before scanning/updating the registry,
      since there might be some plugins that call gst_init() and we don't
      want to loop back in.
      Closes #350879
      38f5745f
    • Wim Taymans's avatar
      docs/design/part-qos.txt: Bring docs in line with the code. Mostly the sign of... · ff240086
      Wim Taymans authored
      docs/design/part-qos.txt: Bring docs in line with the code. Mostly the sign of the jitter was wrong in the docs.
      
      Original commit message from CVS:
      * docs/design/part-qos.txt:
      Bring docs in line with the code. Mostly the sign of the jitter was
      wrong in the docs.
      * gst/gstclock.c:
      Fix the docs for the jitter.
      * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
      (gst_event_parse_tag), (gst_event_new_buffer_size),
      (gst_event_parse_buffer_size), (gst_event_parse_qos),
      (gst_event_new_seek), (gst_event_parse_seek),
      (gst_event_new_navigation):
      Make sure the GstStructure has no parent when creating custom
      events.
      Add some more argument checking so that we avoid 0.0 rates.
      Flesh out the docs for the QoS event some more.
      ff240086
    • 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