1. 23 Sep, 2005 4 commits
    • Thomas Vander Stichele's avatar
      don't break docs build · eb06116c
      Thomas Vander Stichele authored
      Original commit message from CVS:
      don't break docs build
      eb06116c
    • 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
  2. 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
  3. 21 Sep, 2005 11 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
    • Andy Wingo Wingo's avatar
      check/gst/gstutils.c: New file. · 5b77a671
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-21  Andy Wingo  <wingo@pobox.com>
      
      * check/gst/gstutils.c: New file.
      (test_buffer_probe_n_times): A simple buffer probe test. More to
      come, foolios.
      
      * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
      have-data::buffer, not have-data.
      (gst_pad_add_event_probe): Likewise for have-data::event.
      (gst_pad_add_data_probe): More docs. The part about 'resolving the
      peer' isn't quite right yet though.
      (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
      (gst_pad_remove_data_probe): Change to take the guint handler_id
      as their arg, not the function+data, which is more glib-like.
      
      * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
      the signal emission to indicate if the data is a buffer or an
      event.
      (gst_pad_get_type): Initialize buffer and event quarks.
      (gst_pad_class_init): have-data is now a detailed signal, yes it
      is.
      5b77a671
    • 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
    • Wim Taymans's avatar
      gst/elements/gstfdsrc.*: Properly implement fdsrc. Removed signal and timeout,... · 71491998
      Wim Taymans authored
      gst/elements/gstfdsrc.*: Properly implement fdsrc. Removed signal and timeout, better implemented somewhere else.
      
      Original commit message from CVS:
      * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
      (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
      (gst_fdsrc_unlock), (gst_fdsrc_set_property),
      (gst_fdsrc_get_property), (gst_fdsrc_create):
      * gst/elements/gstfdsrc.h:
      Properly implement fdsrc. Removed signal and timeout,
      better implemented somewhere else.
      71491998
    • Stefan Kost's avatar
      inlined more docs · 0371ed76
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstimplementsinterface.sgml:
      * gst/gstinterface.c:
      inlined more docs
      0371ed76
    • Stefan Kost's avatar
      docs/gst/: remove obsolete doc file · fd346dbf
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstenumtypes.sgml:
      remove obsolete doc file
      fd346dbf
    • David Schleef's avatar
      gst/gstelementfactory.c: Drink a little beer, fix a little leak. · 95c71e3b
      David Schleef authored
      Original commit message from CVS:
      * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
      little beer, fix a little leak.
      95c71e3b
  4. 20 Sep, 2005 17 commits
    • Stefan Kost's avatar
      remove files · 4b1cffa4
      Stefan Kost authored
      Original commit message from CVS:
      remove files
      4b1cffa4
    • Stefan Kost's avatar
      more docs inlined, splitted gstindex.{c,h} · 0838cd0b
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * gst/Makefile.am:
      * gst/gst.h:
      * gst/gstbin.c:
      * gst/gstelement.h:
      * gst/gstindex.c: (gst_index_class_init):
      * gst/gstindex.h:
      * gst/gstindexfactory.c: (gst_index_factory_get_type),
      (gst_index_factory_class_init), (gst_index_factory_init),
      (gst_index_factory_finalize), (gst_index_factory_new),
      (gst_index_factory_destroy), (gst_index_factory_find),
      (gst_index_factory_create), (gst_index_factory_make):
      * gst/gstindexfactory.h:
      * gst/gstpluginfeature.c:
      * gst/gstpluginfeature.h:
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
      more docs inlined, splitted gstindex.{c,h}
      0838cd0b
    • Thomas Vander Stichele's avatar
      fix a leak in controller · 77d2059f
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix a leak in controller
      77d2059f
    • Tim-Philipp Müller's avatar
      gst/elements/gstfilesink.c: Set sync to FALSE by default. · bd2986ed
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/elements/gstfilesink.c: (gst_file_sink_init):
      Set sync to FALSE by default.
      bd2986ed
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Make sync property settable from subclass. · 46d159af
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_init):
      Make sync property settable from subclass.
      
      * gst/elements/gstfakesink.c: (gst_fake_sink_init),
      (gst_fake_sink_change_state):
      Set sync to FALSE by default.
      46d159af
    • Wim Taymans's avatar
      The timeout handler should have lower priority than the source so we don't... · 4fd77c19
      Wim Taymans authored
      The timeout handler should have lower priority than the source so we don't timeout before popping a message with 0 ti...
      
      Original commit message from CVS:
      * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
      * tools/gst-launch.c: (main):
      The timeout handler should have lower priority than the source
      so we don't timeout before popping a message with 0 timeout.
      Dump error messages after failed state change.
      4fd77c19
    • Tim-Philipp Müller's avatar
      tools/gst-inspect.c: Fix two typos. · d30a4eb9
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tools/gst-inspect.c: (print_element_properties_info):
      Fix two typos.
      d30a4eb9
    • Thomas Vander Stichele's avatar
      remove the sync property from fakesink. · 440b1e41
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/gstevent.c:
      * gst/elements/gstfakesink.c:
      * gst/elements/gstfakesink.h:
      remove the sync property from fakesink.
      has the side effect of setting sync TRUE
      for fakesink, which is a change.  Anyone who knows how
      to fix this nicely in a GObject-y way, feel free.
      440b1e41
    • Stefan Kost's avatar
      docs/gst/gstreamer-docs.sgml: remove probe refsection · 2f4fc557
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      remove probe refsection
      2f4fc557
    • Stefan Kost's avatar
      check/Makefile.am: disable valgrinding the controller test again · 2b44e493
      Stefan Kost authored
      Original commit message from CVS:
      * check/Makefile.am:
      disable valgrinding the controller test again
      * docs/gst/gstreamer-sections.txt:
      update for api-changes
      2b44e493
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Added sync property to basesink to disable clock sync. · 3a3b15c8
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_set_property), (gst_base_sink_get_property),
      (gst_base_sink_do_sync):
      * gst/base/gstbasesink.h:
      Added sync property to basesink to disable clock sync.
      3a3b15c8
    • Andy Wingo Wingo's avatar
      gst/gstelementfactory.c (gst_element_factory_create): Avoid eating the caller's refcount. · b1247100
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-20  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelementfactory.c (gst_element_factory_create): Avoid
      eating the caller's refcount.
      
      * gst/gstobject.h (GST_OBJECT_REFCOUNT)
      (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
      refcount.
      
      * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
      * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
      of GLib 2.8 public, so we can know which refcount to check in
      tests.
      
      * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
      (gst_object_init): Only set the gst refcount if we're going ahead
      with the refcount hack.
      b1247100
    • Stefan Kost's avatar
      more leaks plumbed, added more debug-logging · 2ed824ba
      Stefan Kost authored
      Original commit message from CVS:
      * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
      more leaks plumbed, added more debug-logging
      * gst/gstmacros.h:
      whitespace fix
      2ed824ba
    • Thomas Vander Stichele's avatar
      remove include of removed header · 46dc9f7c
      Thomas Vander Stichele authored
      Original commit message from CVS:
      remove include of removed header
      46dc9f7c
    • Thomas Vander Stichele's avatar
      gst/gstclock.c: Commit from the Political Party For More Atomic CVS Commits,... · 5526c2db
      Thomas Vander Stichele authored
      gst/gstclock.c: Commit from the Political Party For More Atomic CVS Commits, so that people don't waste too much of t...
      
      Original commit message from CVS:
      * gst/gstclock.c: (_gst_clock_id_free):
      Commit from the Political Party For More Atomic CVS Commits,
      so that people don't waste too much of their day fishing
      out obvious leaks out of massive commits.
      Oh, and fix a pretty damn obvious leak in the memchunk
      removal code.
      5526c2db
    • Stefan Kost's avatar
      check/: plug mem-leak, re-add to valgrindable tests · f7e6a059
      Stefan Kost authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
      plug mem-leak, re-add to valgrindable tests
      f7e6a059
    • Thomas Vander Stichele's avatar
      unbreak the build for those who have chronic arthritis and typing "make check"... · 334be0e3
      Thomas Vander Stichele authored
      unbreak the build for those who have chronic arthritis and typing "make check" is just too taxing on the hands
      
      Original commit message from CVS:
      unbreak the build for those who have chronic arthritis
      and typing "make check" is just too taxing on the hands
      334be0e3