1. 24 Aug, 2005 8 commits
    • Jan Schmidt's avatar
      docs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate... · 8aa248c9
      Jan Schmidt authored
      docs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate introduction of this spelling mistake.
      
      Original commit message from CVS:
      * docs/pwg/advanced-types.xml:
      Well done to Michael for catching my deliberate introduction
      of this spelling mistake.
      * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
      * gst/gstelement.h:
      Add GST_ELEMENT_UNPARENTING to prevent races so that we can
      unlink pads before removing the element from the bin.
      8aa248c9
    • Andy Wingo Wingo's avatar
      gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean the same thing as GST_DEBUG=*:4. · 76fffe8f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-08-24  Andy Wingo  <wingo@pobox.com>
      
      * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
      the same thing as GST_DEBUG=*:4.
      (parse_debug_level, parse_debug_category): New helper parsers.
      76fffe8f
    • Thomas Vander Stichele's avatar
      gst/base/gstbasetransform.c: use gboolean return values and pointers to size... · 6519d7bf
      Thomas Vander Stichele authored
      gst/base/gstbasetransform.c: use gboolean return values and pointers to size so we can use the full GST_BUFFER_SIZE r...
      
      Original commit message from CVS:
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (gst_base_transform_transform_size), (gst_base_transform_getcaps),
      (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
      (gst_base_transform_buffer_alloc),
      (gst_base_transform_handle_buffer):
      use gboolean return values and pointers to size so we can use the
      full GST_BUFFER_SIZE range (guint) for buffer sizes
      use GstPadDirection for transform_caps
      * gst/base/gstbasetransform.h:
      rename get_size to get_unit_size since that's what it is
      * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
      use GstPadDirection for transform_caps
      * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
      * gst/gstutils.h:
      cleanup and debugging
      6519d7bf
    • Stefan Kost's avatar
      Fixed long standing mem-leak · a7d4464a
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_set_state), (activate_pads),
      (gst_element_save_thyself):
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_element_properties_info):
      * tools/gst-xmlinspect.c: (print_element_properties):
      Fixed long standing mem-leak
      a7d4464a
    • Jan Schmidt's avatar
      Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so that... · 59a41141
      Jan Schmidt authored
      Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so that applications can sensibly post custom message...
      
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * gst/gstbin.c: (bin_bus_handler):
      * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
      (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
      (gst_message_new_warning), (gst_message_new_tag),
      (gst_message_new_state_changed), (gst_message_new_segment_start),
      (gst_message_new_segment_done), (gst_message_new_custom):
      * gst/gstmessage.h:
      * tools/gst-launch.c: (event_loop):
      * tools/gst-md5sum.c: (event_loop):
      Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
      that applications can sensibly post custom messages with references
      to their own objects.
      59a41141
    • Wim Taymans's avatar
      gst/base/gstbasetransform.*: Many fixes and new features added by Thomas. Can... · 15af2428
      Wim Taymans authored
      gst/base/gstbasetransform.*: Many fixes and new features added by Thomas. Can now also do transforms with variable si...
      
      Original commit message from CVS:
      * gst/base/gstbasetransform.c: (gst_base_transform_init),
      (gst_base_transform_transform_caps),
      (gst_base_transform_transform_size),
      (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
      (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
      (gst_base_transform_handle_buffer):
      * gst/base/gstbasetransform.h:
      Many fixes and new features added by Thomas. Can now also do
      transforms with variable sizes and a custom fixate_caps function.
      15af2428
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed already. · b2c0b3a1
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-08-24  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
      already.
      b2c0b3a1
    • Wim Taymans's avatar
      gst/gstbuffer.c: Some debugging. · 4101d268
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
      Some debugging.
      
      * gst/gstclock.h:
      Cast to ClockTime before formatting to time.
      
      * gst/gstutils.h:
      Cleanups.
      4101d268
  2. 23 Aug, 2005 5 commits
    • Stefan Kost's avatar
      gracefully handle helper method calls to objects that are not beeing... · da9c04e2
      Stefan Kost authored
      gracefully handle helper method calls to objects that are not beeing controlled, added test case for that
      
      Original commit message from CVS:
      * check/gst-libs/controller.c: (GST_START_TEST),
      (gst_controller_suite):
      * docs/gst/tmpl/gstcaps.sgml:
      * docs/gst/tmpl/gstghostpad.sgml:
      * docs/gst/tmpl/gstquery.sgml:
      * docs/gst/tmpl/gstutils.sgml:
      * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
      (gst_object_sink_values), (gst_object_get_value_arrays),
      (gst_object_get_value_array):
      gracefully handle helper method calls to objects that are not beeing
      controlled, added test case for that
      da9c04e2
    • Wim Taymans's avatar
      gst/gstevent.*: Some more debugging output and doc cleanups. · bc3dfd5d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
      (gst_event_new_newsegment), (gst_event_parse_newsegment),
      (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
      (gst_event_parse_qos), (gst_event_new_seek),
      (gst_event_parse_seek):
      * gst/gstevent.h:
      Some more debugging output and doc cleanups.
      
      * gst/gstqueue.c: (gst_queue_handle_sink_event):
      Fix possible deadlock.
      bc3dfd5d
    • Stefan Kost's avatar
      added about 100 symbols from gstreamer-unused.txt to the right sections fixed... · eef38df6
      Stefan Kost authored
      added about 100 symbols from gstreamer-unused.txt to the right sections fixed more broken comments added GstBus to docs
      
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/gstreamer.types:
      * docs/gst/tmpl/.cvsignore:
      * gst/gstbin.h:
      * gst/gstbus.c:
      * gst/gstelement.c:
      * gst/gstevent.h:
      added about 100 symbols from gstreamer-unused.txt to the right sections
      fixed more broken comments
      added GstBus to docs
      eef38df6
    • Stefan Kost's avatar
      inlined more doc comments, added missing comments and fixed comments fixed typos · 3e1c4a2c
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstbin.sgml:
      * docs/gst/tmpl/gstbuffer.sgml:
      * gst/base/gstbasesrc.c:
      * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
      * gst/gstbuffer.c:
      * gst/gstbuffer.h:
      * tools/gst-launch.1.in:
      inlined more doc comments, added missing comments and fixed comments
      fixed typos
      3e1c4a2c
    • Thomas Vander Stichele's avatar
      gst/gstbuffer.c: some debugging · 4b0a255e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
      some debugging
      * gst/gstcaps.h:
      whitespace fixes
      * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
      more debugging
      * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
      * gst/gststructure.h:
      add a fixate function for booleans; add a FIXME that these func
      names should probably be gst_structure_fixate_*
      4b0a255e
  3. 22 Aug, 2005 8 commits
    • Stefan Kost's avatar
      ported gstchildproxy over from 0.8 ported gst-inspect fixes and enhancements over from 0.8 · 650687b4
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * gst/Makefile.am:
      * gst/gstbin.c: (gst_bin_get_type),
      (gst_bin_child_proxy_get_child_by_index),
      (gst_bin_child_proxy_get_children_count),
      (gst_bin_child_proxy_init):
      * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
      (gst_child_proxy_get_child_by_index),
      (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
      (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
      (gst_child_proxy_get), (gst_child_proxy_set_property),
      (gst_child_proxy_set_valist), (gst_child_proxy_set),
      (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
      (gst_child_proxy_base_init), (gst_child_proxy_get_type):
      * gst/gstchildproxy.h:
      * gst/parse/grammar.y:
      * tools/gst-inspect.c: (print_interfaces),
      (print_element_properties_info), (print_element_info):
      ported gstchildproxy over from 0.8
      ported gst-inspect fixes and enhancements over from 0.8
      650687b4
    • Wim Taymans's avatar
      gst/base/gstbasetransform.c: Also call the transform function if we have ANY caps. · 5ffafdb3
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (gst_base_transform_handle_buffer):
      Also call the transform function if we have ANY caps.
      
      * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
      Fix debug info.
      5ffafdb3
    • Jan Schmidt's avatar
      gst/base/gstbasesrc.c: (gst_base_src_event_handler) · ee1f8309
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
      Don't pretend to handle seek events if the source is not seekable
      ee1f8309
    • Jan Schmidt's avatar
      gst/base/gstbasesink.c: Remove extra parameter to debug output · 05fa076d
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      Remove extra parameter to debug output
      
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_activate_push):
      Fix seek event handling.
      
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      * gst/gstqueue.c: (gst_queue_handle_sink_event),
      (gst_queue_src_activate_push):
      Don't start the src pad task on FLUSH_STOP if the pad
      isn't linked.
      Debug changes.
      05fa076d
    • Wim Taymans's avatar
      check/gst/gstcaps.c: Added check for gst_static_caps_get() refcounting. · 7b4a9e4c
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
      Added check for gst_static_caps_get() refcounting.
      7b4a9e4c
    • Wim Taymans's avatar
      gst/gstcaps.c: Make _static_caps_get() refcounting sane. · d31c5ea1
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
      Make _static_caps_get() refcounting sane.
      
      * gst/gstelement.c: (gst_element_set_state):
      Add g_return_val_if_fail() to protect against segfaults.
      d31c5ea1
    • Stefan Kost's avatar
      inlined remaining docs, added missing doc comments · 33e36f56
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/tmpl/gstevent.sgml:
      * gst/gstevent.c:
      * gst/gstevent.h:
      inlined remaining docs, added missing doc comments
      33e36f56
    • Thomas Vander Stichele's avatar
      check/gst/gstbin.c: since we don't know when preroll is done, use refcount range check for the sink · d961ea4c
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/gstbin.c: (GST_START_TEST):
      since we don't know when preroll is done, use refcount range
      check for the sink
      * gst/check/gstcheck.h:
      add macro for checking refcount range
      d961ea4c
  4. 21 Aug, 2005 4 commits
    • Thomas Vander Stichele's avatar
      check/Makefile.am: clean up environment for when registry gets built versus... · e5afa8a3
      Thomas Vander Stichele authored
      check/Makefile.am: clean up environment for when registry gets built versus when actual tests are run; valgrind seems...
      
      Original commit message from CVS:
      
      * check/Makefile.am:
      clean up environment for when registry gets built versus
      when actual tests are run; valgrind seems to not report
      leaks if GST_PLUGIN_PATH is set to some specific values
      * check/gst/gstbin.c: (GST_START_TEST):
      add more refcounting checks; maybe this exposes a
      preroll lock bug ?
      * common/check.mak:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      * gst/check/gstcheck.h:
      * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
      (gst_bin_change_state):
      * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
      add/fix debugging/whitespace
      e5afa8a3
    • Jan Schmidt's avatar
      check/gst/gstevent.c: Er, don't call gst_bin_watch_for_state_change you idiot. · 080b848f
      Jan Schmidt authored
      Original commit message from CVS:
      * check/gst/gstevent.c: (event_probe), (test_event),
      (GST_START_TEST):
      Er, don't call gst_bin_watch_for_state_change you idiot.
      080b848f
    • Jan Schmidt's avatar
      check/Makefile.am: Use CHECK_CFLAGS and CHECK_LIBS · 84b76a43
      Jan Schmidt authored
      Original commit message from CVS:
      * check/Makefile.am:
      Use CHECK_CFLAGS and CHECK_LIBS
      * check/gst/gstevent.c: (event_probe), (test_event),
      (GST_START_TEST):
      Don't leak events.
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_start), (gst_base_src_stop),
      (gst_base_src_activate_push), (gst_base_src_activate_pull),
      (gst_base_src_change_state):
      Sprinkle gst_base_src_stop liberally around error paths to fix
      problems reusing a source after failed state changes.
      * gst/base/gsttypefindhelper.c: (helper_find_peek),
      (helper_find_suggest), (gst_type_find_helper):
      Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
      * gst/gstevent.h:
      * docs/gst/tmpl/gstevent.sgml:
      Migrate part of the docs from the SGML file. Wait for ensonic to
      tell me how I did it wrong ;)
      * tools/gst-typefind.c: (main):
      Extra robustness to state changes between files.
      84b76a43
    • Thomas Vander Stichele's avatar
      check/Makefile.am: don't valgrind the controller test - it's leaking - Stefan, HELP · 744193f8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/Makefile.am:
      don't valgrind the controller test - it's leaking - Stefan, HELP
      * gst/check/gstcheck.c: (gst_check_message_error),
      (gst_check_chain_func), (gst_check_setup_element),
      (gst_check_teardown_element), (gst_check_setup_src_pad),
      (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
      (gst_check_teardown_sink_pad):
      * gst/check/gstcheck.h:
      add a bunch of methods to set up elements, and src and sink pads
      * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
      * check/elements/identity.c: (setup_identity), (cleanup_identity),
      (GST_START_TEST):
      use them
      * gst/gstmessage.c:
      * gst/gsttag.h:
      whitespace/doc fixes
      744193f8
  5. 20 Aug, 2005 5 commits
  6. 19 Aug, 2005 1 commit
  7. 18 Aug, 2005 6 commits
    • Jan Schmidt's avatar
      check/gst/gstevents.c: Should fix build on 64-bit arch's · ef66449d
      Jan Schmidt authored
      Original commit message from CVS:
      
      * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
      (test_event), (timediff), (gstevents_suite):
      Should fix build on 64-bit arch's
      ef66449d
    • Andy Wingo Wingo's avatar
      Make sure that when a pipeline goes to PLAYING, that data has actually hit the sink. · aa0fb69d
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-08-18  Andy Wingo  <wingo@pobox.com>
      
      Make sure that when a pipeline goes to PLAYING, that data has
      actually hit the sink.
      
      * check/states/sinks.c (test_sink): A sink that doesn't get any
      data shouldn't return SUCCESS for going to either PLAYING or
      PAUSED. Test also the return values on the way back down.
      
      * gst/gstelement.c (gst_element_set_state): When changing the
      state of an element currently changing state asynchronously, go to
      lost-state after commiting the pending state. Makes future calls
      to get_state continue to return ASYNC.
      
      * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
      ASYNC when going to PLAYING if we still don't have preroll, as can
      happen with live sources.
      aa0fb69d
    • Jan Schmidt's avatar
      docs/pwg/advanced-types.xml: Hack long paragraph into 2 chunks as a workaround... · 16e1f6e8
      Jan Schmidt authored
      docs/pwg/advanced-types.xml: Hack long paragraph into 2 chunks as a workaround for buggy jadetex version in sid and b...
      
      Original commit message from CVS:
      * docs/pwg/advanced-types.xml:
      Hack long paragraph into 2 chunks as a workaround for buggy
      jadetex version in sid and breezy that loops infinitely and
      eats all RAM.
      16e1f6e8
    • Jan Schmidt's avatar
      check/gst/gstevents.c: Provide more error margin in clock measurements to... · b344834e
      Jan Schmidt authored
      check/gst/gstevents.c: Provide more error margin in clock measurements to allow for g_get_current_time inaccuracies.
      
      Original commit message from CVS:
      * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
      (test_event), (timediff), (gstevents_suite):
      Provide more error margin in clock measurements to allow for
      g_get_current_time inaccuracies.
      b344834e
    • Jan Schmidt's avatar
      check/gst/gstevents.c: Fix error message output so I might be able to tell why... · f6514222
      Jan Schmidt authored
      check/gst/gstevents.c: Fix error message output so I might be able to tell why the test works here but fails on the b...
      
      Original commit message from CVS:
      * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
      (test_event), (timediff), (gstevents_suite):
      Fix error message output so I might be able to tell why the
      test works here but fails on the build farm.
      f6514222
    • Jan Schmidt's avatar
      check/: I wrote a test! · 8377afc0
      Jan Schmidt authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
      (test_event), (timediff), (gstevents_suite), (main):
      I wrote a test!
      
      * docs/design/part-seeking.txt:
      Spelling correction
      
      * docs/gst/tmpl/gstevent.sgml:
      Docs updates.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      Treat a buffer-without-newsegment the same as a receiving
      a newsegment not in time format, and disable syncing to the clock
      with a warning.
      
      * gst/gstbus.c: (gst_bus_set_sync_handler):
      Assert if anyone tries to replace the existing sync_handler for bus,
      as only the owner should be setting it.
      
      * gst/gstevent.h:
      Have a fixed set of custom event enums with events identified by
      their structure name (as in 0.8), rather than a free-for-all
      allowing collisions between enum values from different plugins.
      
      * gst/gstpad.c: (gst_pad_class_init):
      Docs change.
      
      * gst/gstqueue.c: (gst_queue_handle_sink_event):
      Handle out-of-band downstream events from the sending thread.
      8377afc0
  8. 17 Aug, 2005 2 commits
    • Andy Wingo Wingo's avatar
      gst/gstpipeline.c (gst_pipeline_change_state): Interpret play-timeout==0 to... · de7347bd
      Andy Wingo Wingo authored
      gst/gstpipeline.c (gst_pipeline_change_state): Interpret play-timeout==0 to mean no timeout at all. In that case, don...
      
      Original commit message from CVS:
      2005-08-17  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
      play-timeout==0 to mean no timeout at all. In that case, don't
      bother with a get_state or a warning, just return directly, even
      if it's ASYNC.
      de7347bd
    • Andy Wingo Wingo's avatar
      gst/base/gstbasetransform.c: Debug changes. · c5e2202f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-08-17  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gstbasetransform.c: Debug changes.
      
      * gst/gstutils.h:
      * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
      ensure bins post state change messages. A bit of a hack but I can't
      think of a way to avoid it.
      
      * check/gst/gstbin.c (test_watch_for_state_change): Added test.
      c5e2202f
  9. 16 Aug, 2005 1 commit