1. 27 Sep, 2005 4 commits
    • Tim-Philipp Müller's avatar
      check/gst/gstbuffer.c: Plug leak in test case and fix 'make check-valgrind' · 7d1cb339
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * check/gst/gstbuffer.c: (test_make_writable):
      Plug leak in test case and fix 'make check-valgrind'
      7d1cb339
    • Tim-Philipp Müller's avatar
      gst/gstbuffer.c: Set READONLY flag on subbuffers, so that... · 246fee25
      Tim-Philipp Müller authored
      gst/gstbuffer.c: Set READONLY flag on subbuffers, so that gst_buffer_make_writable() works correctly in all circumsta...
      
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_subbuffer_init):
      Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
      works correctly in all circumstances (we could have just copied
      the parent buffer's readonly flag, but conceptually it seems
      cleaner to mark all subbuffers as read-only). (based on patch
      by Alessandro Decina, #314710).
      * check/gst/gstbuffer.c: (create_read_only_buffer),
      (test_make_writable), (test_subbuffer_make_writable),
      (gst_test_suite):
      Add some tests for gst_buffer_make_writable().
      246fee25
    • Wim Taymans's avatar
      gst/gstbin.c: use gst_object_has_ancestor(). · 01085fa2
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
      use gst_object_has_ancestor().
      
      * gst/gstobject.c: (gst_object_has_ancestor):
      * gst/gstobject.h:
      gst_object_has_ancestor() copied from gstbin.c as it is a
      usefull function.
      
      * tests/instantiate/create.c: (create_all_elements):
      * tests/lat.c: (handoff_src), (handoff_sink):
      * tests/sched/runxml.c: (main):
      * tests/seeking/seeking1.c: (main):
      * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
      (main):
      Fix compilation of some tests.
      01085fa2
    • Tim-Philipp Müller's avatar
      gst/gsterror.h: Remove comment. GST_TYPE_G_ERROR is here to stay, · f9a16f0a
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gsterror.h:
      Remove comment. GST_TYPE_G_ERROR is here to stay,
      G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
      (#316961, #300610).
      f9a16f0a
  2. 26 Sep, 2005 9 commits
  3. 25 Sep, 2005 3 commits
    • Stefan Kost's avatar
      added more docs · 2a7a17ce
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasetransform.h:
      * gst/gstindex.h:
      added more docs
      2a7a17ce
    • Stefan Kost's avatar
      inlined the last two docs files removed the tmpl directory from cvs (no more conflicts here!) · 788bac10
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/.cvsignore:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstpipeline.sgml:
      * docs/gst/tmpl/gstplugin.sgml:
      * gst/gstpipeline.c:
      * gst/gstplugin.c:
      * gst/gstplugin.h:
      inlined the last two docs files
      removed the tmpl directory from cvs (no more conflicts here!)
      788bac10
    • Stefan Kost's avatar
      inlined two more docs factored gstpadtemplate out of gstpad · 41aca727
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstpad.sgml:
      * docs/gst/tmpl/gstpadtemplate.sgml:
      * gst/Makefile.am:
      * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
      (gst_pad_finalize), (gst_pad_set_pad_template):
      * gst/gstpad.h:
      * gst/gstpadtemplate.c: (gst_pad_template_get_type),
      (gst_pad_template_class_init), (gst_pad_template_init),
      (gst_pad_template_dispose), (name_is_valid),
      (gst_static_pad_template_get), (gst_pad_template_new),
      (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
      (gst_pad_template_pad_created):
      * gst/gstpadtemplate.h:
      inlined two more docs
      factored gstpadtemplate out of gstpad
      41aca727
  4. 24 Sep, 2005 3 commits
    • Tim-Philipp Müller's avatar
      check/gst/gstbin.c: Fix test case: we can't rely on a fixed state change order... · 4ed6212a
      Tim-Philipp Müller authored
      check/gst/gstbin.c: Fix test case: we can't rely on a fixed state change order when going from READY => PAUSED becaus...
      
      Original commit message from CVS:
      * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
      (test_children_state_change_order_semi_sink):
      Fix test case: we can't rely on a fixed state change order when
      going from READY => PAUSED because the sink might commit its
      new state first when the first buffer created by the source
      reaches the sink before the source has finished its change state.
      (Test case still fails at times, see #316856, comment 5 onwards)
      4ed6212a
    • Wim Taymans's avatar
      Various documentation updates. · 84770e84
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-events.txt:
      * docs/design/part-gstbus.txt:
      * docs/design/part-gstpipeline.txt:
      * docs/design/part-messages.txt:
      * docs/design/part-overview.txt:
      * docs/design/part-segments.txt:
      * gst/gstbin.c:
      * gst/gstbuffer.c:
      * gst/gstclock.c:
      * gst/gstelement.c:
      * gst/gstevent.c:
      * gst/gstfilter.c:
      * gst/gstiterator.c:
      Various documentation updates.
      84770e84
    • Thomas Vander Stichele's avatar
      gst/gstclock.h: Well, that's embarassing. Luckily we weren't using · be19f39e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * gst/gstclock.h:
      Well, that's embarassing.  Luckily we weren't using
      GST_CLOCK_DIFF anywhere.
      be19f39e
  5. 23 Sep, 2005 7 commits
    • Thomas Vander Stichele's avatar
      common/gtk-doc.mak: don't fail on building XML, FC4 slave shows a bunch of doc... · 446ddc91
      Thomas Vander Stichele authored
      common/gtk-doc.mak: don't fail on building XML, FC4 slave shows a bunch of doc missing bits that I don't get
      
      Original commit message from CVS:
      
      * common/gtk-doc.mak:
      don't fail on building XML, FC4 slave shows a bunch of doc
      missing bits that I don't get
      * gst/gstpad.c:
      * gst/gstpipeline.c:
      * gst/gststructure.c:
      some doc updates
      446ddc91
    • Tim-Philipp Müller's avatar
      Add blurb about how the bus goes into flushing mode and drops all messages... · 2c202f91
      Tim-Philipp Müller authored
      Add blurb about how the bus goes into flushing mode and drops all messages when its bin goes from READY into NULL state.
      
      Original commit message from CVS:
      * docs/design/part-gstbin.txt:
      * docs/design/part-gstbus.txt:
      * gst/gstbus.c:
      Add blurb about how the bus goes into flushing mode and
      drops all messages when its bin goes from READY into NULL
      state.
      2c202f91
    • Thomas Vander Stichele's avatar
      add a method to get a GstClockTime out of a structure · 3694e3b4
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * docs/gst/gstreamer-sections.txt:
      * gst/gststructure.c: (gst_structure_get_clock_time):
      * gst/gststructure.h:
      add a method to get a GstClockTime out of a structure
      3694e3b4
    • Tim-Philipp Müller's avatar
      check/gst/gstbin.c: Added test to check state change order in bins (can still... · 705936d1
      Tim-Philipp Müller authored
      check/gst/gstbin.c: Added test to check state change order in bins (can still be made to fail here under heavy disk l...
      
      Original commit message from CVS:
      * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
      (test_children_state_change_order_semi_sink), (gst_bin_suite):
      Added test to check state change order in bins (can still be made
      to fail here under heavy disk load; bails out with 'Push on pad
      fakesink:sink0, but it was not activated in push mode').
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
      Fix state change order when there is only a semi sink (#316856)
      * gst/gstbus.c: (gst_bus_class_init):
      Use _class_peek_parent(), not _class_ref(); fix docs to say
      'default main context' instead of 'mainloop' where that is
      what's meant.
      * gst/gstelement.c: (gst_element_commit_state),
      (gst_element_set_state):
      Fix typos in debug messages
      705936d1
    • Thomas Vander Stichele's avatar
      various doc updates · 3f519e30
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * docs/README:
      * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
      * gst/gstpluginfeature.c:
      * gst/gstutils.c:
      various doc updates
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      change an assert into an error until it gets fixed properly
      3f519e30
    • Stefan Kost's avatar
      inlined 3 more biiiig doc files and added some missing docs on the fly · 5afb6e68
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstelement.sgml:
      * docs/gst/tmpl/gstinfo.sgml:
      * docs/gst/tmpl/gstobject.sgml:
      * gst/gstelement.c:
      * gst/gstelement.h:
      * gst/gstinfo.c:
      * gst/gstinfo.h:
      * gst/gstobject.c: (gst_object_class_init):
      * gst/gstobject.h:
      inlined 3 more biiiig doc files and added some missing docs on the fly
      5afb6e68
    • Thomas Vander Stichele's avatar
      put back source in registry. add checks for find_plugin. · 6570aadc
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/.cvsignore:
      * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
      * gst/gstregistryxml.c: (load_plugin),
      (gst_registry_xml_save_plugin):
      put back source in registry.  add checks for find_plugin.
      * testsuite/states/bin.c: (assert_state), (empty_bin),
      (test_adding_one_element), (main):
      * testsuite/states/locked.c: (main):
      some compile/run fixes
      6570aadc
  6. 22 Sep, 2005 8 commits
    • Thomas Vander Stichele's avatar
      fix leak in the test itself · 62d1f4c8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix leak in the test itself
      62d1f4c8
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Prepare for more accurate position reporting and query handling. · 43c8433a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_send_event), (gst_base_sink_peer_query),
      (gst_base_sink_query):
      Prepare for more accurate position reporting and query
      handling.
      
      * gst/gstelement.c: (gst_element_send_event),
      (gst_element_set_state):
      Add some comment.
      43c8433a
    • Wim Taymans's avatar
      gst/gstquery.*: More documentation. · 1901cd04
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
      (gst_query_parse_segment):
      * gst/gstquery.h:
      More documentation.
      Add segment query for future use.
      1901cd04
    • Wim Taymans's avatar
      gst/gstbin.c: Some more debug info. · 4793bc20
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_add_func):
      Some more debug info.
      
      * gst/gstelement.c: (gst_element_send_event):
      Simplify send_event
      
      * gst/gstelement.h:
      Don't know how flags got broken.
      
      * gst/gstquery.h:
      Added new query.
      4793bc20
    • Tim-Philipp Müller's avatar
      check/gst/gstvalue.c: Add simplistic test suite for GST_TYPE_DATE... · 1709fe62
      Tim-Philipp Müller authored
      check/gst/gstvalue.c: Add simplistic test suite for GST_TYPE_DATE serialisation and deserialisation.
      
      Original commit message from CVS:
      * check/gst/gstvalue.c: (test_date), (gst_value_suite):
      Add simplistic test suite for GST_TYPE_DATE serialisation and
      deserialisation.
      1709fe62
    • Tim-Philipp Müller's avatar
      Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual bunch of... · 7390d68e
      Tim-Philipp Müller authored
      Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual bunch of utility functions along with a hack that che...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gststructure.c: (gst_structure_set_valist),
      (gst_structure_get_date):
      * gst/gststructure.h:
      * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
      (gst_date_copy), (gst_value_compare_date),
      (gst_value_serialize_date), (gst_value_deserialize_date),
      (gst_value_transform_date_string),
      (gst_value_transform_string_date), (_gst_value_initialize):
      * gst/gstvalue.h:
      Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
      bunch of utility functions along with a hack that checks that
      developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
      is required. Part of the grand scheme in #170777.
      7390d68e
    • Andy Wingo Wingo's avatar
      gst/gstconfig.h.in: Psych out gtk-doc. · 59479d47
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-22  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstconfig.h.in: Psych out gtk-doc.
      
      * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
      
      * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
      
      * tools/gst-inspect.c (print_element_list): Plug some
      inconsequential leaks.
      
      * gst/gstregistry.c (gst_registry_get_default): Doc.
      
      * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
      * gst/gstelementfactory.c (gst_element_factory_create):
      * gst/gstindexfactory.c (gst_index_factory_create): Update for
      refcount changes.
      
      * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
      (gst_plugin_feature_load): Doc, don't eat refs.
      
      * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
      (gst_plugin_list_free): Doc.
      (gst_plugin_load_file): Doc updates.
      59479d47
    • Andy Wingo Wingo's avatar
      gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get accessors returning... · 54a2e066
      Andy Wingo Wingo authored
      gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get accessors returning refcounted objects, return a ref.
      
      Original commit message from CVS:
      2005-09-22  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
      accessors returning refcounted objects, return a ref.
      
      * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
      accessor for caps. IDEMPOTENCE. Oh yes.
      54a2e066
  7. 21 Sep, 2005 6 commits
    • Tim-Philipp Müller's avatar
      gst/gstinfo.c: Add mutex to serialise access to the hash table with the... · b907cd98
      Tim-Philipp Müller authored
      gst/gstinfo.c: Add mutex to serialise access to the hash table with the function pointer => function name string mapp...
      
      Original commit message from CVS:
      Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
      * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
      (_gst_debug_register_funcptr):
      Add mutex to serialise access to the hash table with
      the function pointer => function name string mapping;
      make that hash table static scope (#316809).
      * gst/registries/.cvsignore:
      Remove left-over file.
      b907cd98
    • Tim-Philipp Müller's avatar
      docs/pwg/appendix-porting.xml: And something about newsegment events and... · 39407102
      Tim-Philipp Müller authored
      docs/pwg/appendix-porting.xml: And something about newsegment events and caps-on-buffers to the porting guide (feel f...
      
      Original commit message from CVS:
      * docs/pwg/appendix-porting.xml:
      And something about newsegment events and caps-on-buffers to
      the porting guide (feel free to improve).
      39407102
    • Andy Wingo Wingo's avatar
      Test that removing probes from within the probe functions works. · 7be2b34b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      (test_buffer_probe_once): Test that removing probes from within
      the probe functions works.
      7be2b34b
    • Andy Wingo Wingo's avatar
      check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for data and event... · dbeb99cc
      Andy Wingo Wingo authored
      check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for data and event probes on the same pad.
      
      Original commit message from CVS:
      2005-09-21  Andy Wingo  <wingo@pobox.com>
      
      * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
      data and event probes on the same pad.
      dbeb99cc
    • Tim-Philipp Müller's avatar
      gst/: Don't put functional code in g_return_if_fail() or... · 9894c901
      Tim-Philipp Müller authored
      gst/: Don't put functional code in g_return_if_fail() or g_return_val_if_fail() statements, otherwise things will bre...
      
      Original commit message from CVS:
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
      * gst/gstutils.c: (gst_util_set_value_from_string),
      (gst_util_set_object_arg):
      Don't put functional code in g_return_if_fail() or
      g_return_val_if_fail() statements, otherwise things will
      break when G_DISABLE_CHECKS is defined during compilation.
      9894c901
    • Stefan Kost's avatar
      inlied another one and added some obvious docs · d13c1a7b
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstvalue.sgml:
      * gst/gstvalue.c:
      * gst/gstvalue.h:
      inlied another one and added  some obvious docs
      d13c1a7b