1. 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
  2. 23 Sep, 2005 9 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
      fix docs · f74399ea
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix docs
      f74399ea
    • 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
  3. 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
  4. 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
  5. 20 Sep, 2005 9 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