1. 22 Sep, 2005 1 commit
    • 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
  2. 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
  3. 20 Sep, 2005 22 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
    • 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
    • David Schleef's avatar
      docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits · 3ffc7d09
      David Schleef authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
      * docs/libs/gstreamer-libs-sections.txt:
      * docs/libs/tmpl/gstgetbits.sgml:
      * docs/libs/tmpl/gstputbits.sgml:
      3ffc7d09
    • 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
  4. 19 Sep, 2005 6 commits