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 6 commits
    • 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
      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 7 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
    • 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
    • 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 15 commits
    • 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
    • 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
    • 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
    • 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
    • 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
    • Andy Wingo Wingo's avatar
      gst/gst.h: Re-add marshal to gst.h's include list -- if we really want it out,... · c5eccd76
      Andy Wingo Wingo authored
      gst/gst.h: Re-add marshal to gst.h's include list -- if we really want it out, you should fix plugins at the same time.
      
      Original commit message from CVS:
      2005-09-20  Andy Wingo  <wingo@pobox.com>
      
      * gst/gst.h: Re-add marshal to gst.h's include list -- if we
      really want it out, you should fix plugins at the same time.
      c5eccd76
    • Stefan Kost's avatar
      added missing symbols to api docs disable ref-count hack if we have glib >= 2.8 · a52725ea
      Stefan Kost authored
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstobject.c:
      added missing symbols to api docs
      disable ref-count hack if we have glib >= 2.8
      a52725ea
    • David Schleef's avatar
      docs/gst/Makefile.am: Ignore a few more internal headers · 6e96e1bf
      David Schleef authored
      Original commit message from CVS:
      * docs/gst/Makefile.am: Ignore a few more internal headers
      * docs/gst/gstreamer-docs.sgml: Remove old sections
      * docs/gst/gstreamer-sections.txt: Remove old sections
      * docs/gst/tmpl/gstobject.sgml: update
      * docs/gst/tmpl/gstplugin.sgml: update
      * docs/gst/tmpl/gstpluginfeature.sgml: update
      * docs/random/ds/0.9-suggested-changes: update.
      * gst/Makefile.am: remove memchunk and trashstack, since they're
      not used.
      * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
      * gst/gst.h: don't include some headers
      * gst/gstchildproxy.c: add gstmarshal.h
      * gst/gstclock.c: Don't use memchunks
      * gst/gstminiobject.c: Add some docs
      * gst/gstobject.c: remove DESTROYED flag, since it's redundant
      * gst/gstobject.h: same
      * gst/gstplugin.c: include gstmacros.h
      * gst/gstplugin.h: don't include gstmacros.h, since it's private
      * gst/gstquery.c: don't use memchunks
      * gst/gstregistry.c: rename gst_registry_deinit()
      * gst/gstregistry.h: same
      6e96e1bf
    • Jan Schmidt's avatar
      check/generic/states.c: Add a sleep to ensure elements have a chance to start... · b2e01db4
      Jan Schmidt authored
      check/generic/states.c: Add a sleep to ensure elements have a chance to start their pad tasks before shutdown. Reduce...
      
      Original commit message from CVS:
      * check/generic/states.c: (GST_START_TEST), (states_suite):
      Add a sleep to ensure elements have a chance to start their
      pad tasks before shutdown. Reduces racy test results.
      
      * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
      Time out the select every now and then to check for shutdown.
      b2e01db4
  5. 19 Sep, 2005 7 commits
    • Wim Taymans's avatar
      gst/gstpipeline.c: Automatically PAUSE and RESUME a pipeline when a flushing seek is performed. · 2bd29714
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
      Automatically PAUSE and RESUME a pipeline when a flushing seek
      is performed.
      Removed old files.
      2bd29714
    • Thomas Vander Stichele's avatar
      whitespace fix · 7e031e25
      Thomas Vander Stichele authored
      Original commit message from CVS:
      whitespace fix
      7e031e25
    • Andy Wingo Wingo's avatar
      gst/gstregistry.h: Spacing fixen. · 39c04c8b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-19  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstregistry.h: Spacing fixen.
      39c04c8b
    • Wim Taymans's avatar
      gst/base/gstbasesrc.c: Handle state change failure more correctly. · 74d03523
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_change_state):
      Handle state change failure more correctly.
      74d03523
    • Thomas Vander Stichele's avatar
      don't complain about my ARM .so files. Another reason why it does make sense... · af5d4565
      Thomas Vander Stichele authored
      don't complain about my ARM .so files.  Another reason why it does make sense to have plugins follow a standard file ...
      
      Original commit message from CVS:
      don't complain about my ARM .so files.  Another reason why it does make sense
      to have plugins follow a standard file name pattern like libgst(whatever).so
      af5d4565
    • Thomas Vander Stichele's avatar
      check/Makefile.am: re-enable tests now that leaks are plugged · 91cc8f96
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * check/Makefile.am:
      re-enable tests now that leaks are plugged
      * check/gst/gst.c:
      * check/gst/gstbin.c:
      * check/gst/gstpipeline.c:
      add some more tests while fixing leaks
      * common/check.mak:
      make sure binaries are uptodate when valgrinding/gdbing
      * gst/gst.c:
      * gst/gstelementfactory.c:
      remove a ref too many, and add a FIXME for when we get
      round to disposing of classes
      * gst/gstplugin.c:
      fix the refcounting when loading a plugin from a file and
      the code pretends that the pointer is the same even though
      of course it can change
      * gst/gstpluginfeature.c:
      unref plugins marked cached (a bit confusing as a name)
      as the docs state should be done
      various doc additions to explain refcounting
      * gst/gstregistry.c:
      * gst/gstregistryxml.c:
      debugging
      91cc8f96
    • Wim Taymans's avatar
      GstBusHandler -> GstBusFunc, return value has the same meaning as any other... · 1c1af875
      Wim Taymans authored
      GstBusHandler -> GstBusFunc, return value has the same meaning as any other GSource (FALSE == remove source).
      
      Original commit message from CVS:
      * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
      * check/gst/gstbus.c: (message_func_eos), (message_func_app),
      (send_messages), (GST_START_TEST), (gstbus_suite):
      * check/gst/gstpipeline.c: (GST_START_TEST):
      * check/pipelines/cleanup.c: (run_pipeline):
      * check/pipelines/simple_launch_lines.c: (run_pipeline),
      (GST_START_TEST):
      * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
      (gst_bus_source_check), (gst_bus_source_dispatch),
      (gst_bus_create_watch), (gst_bus_add_watch_full),
      (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
      * gst/gstbus.h:
      * tools/gst-launch.c: (event_loop):
      * tools/gst-md5sum.c: (event_loop):
      GstBusHandler -> GstBusFunc, return value has the same meaning as
      any other GSource (FALSE == remove source).
      _add_watch() and _add_watch_full() now take a MessageType mask to
      only handle specific types of messages.
      _poll() returns the GstMessage instead of the message type to avoid
      race conditions.
      _have_pending() takes a MessageType mask now too.
      Added testsuite for multiple bus watches.
      Fix testsuites and applications for new bus API.
      1c1af875
  6. 18 Sep, 2005 1 commit