1. 13 Oct, 2005 5 commits
    • Tim-Philipp Müller's avatar
      gst/base/gstcollectpads.c: Fix presumable copy'n'pasto. · 26eb6ab2
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/base/gstcollectpads.c: (gst_collectpads_event):
      Fix presumable copy'n'pasto.
      26eb6ab2
    • Andy Wingo Wingo's avatar
      libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps): Fix Timmeke Waymans bug. · 8d0b8f24
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-13  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
      Fix Timmeke Waymans bug.
      (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
      string of the proper length to gst_caps_from_string. There's a
      potential for, before this fix, that this could cause someone
      connecting over the network to cause a segfault if the payload is
      not NUL-terminated.
      8d0b8f24
    • Stefan Kost's avatar
      fixed typos · d2cd55ab
      Stefan Kost authored
      Original commit message from CVS:
      * docs/design/draft-push-pull.txt:
      * docs/design/part-overview.txt:
      * docs/random/TODO-pre-0.9:
      * docs/random/old/ChangeLog.gstreamer:
      * gst/base/gstpushsrc.c:
      * gst/gstclock.c:
      fixed typos
      d2cd55ab
    • Thomas Vander Stichele's avatar
      gst/base/: fix up debugging · d4ea9fbe
      Thomas Vander Stichele authored
      Original commit message from CVS:
      2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      * gst/base/gstbasesrc.c: (gst_base_src_get_range):
      fix up debugging
      * tools/gst-launch.c: (event_loop):
      print out clock nicely
      d4ea9fbe
    • Julien Moutte Moutte's avatar
      gst/base/gstcollectpads.*: Handle newsegment and store informations in CollectData. · 04f521f1
      Julien Moutte Moutte authored
      Original commit message from CVS:
      2005-10-13  Julien MOUTTE  <julien@moutte.net>
      
      * gst/base/gstcollectpads.c: (gst_collectpads_event),
      (gst_collectpads_chain):
      * gst/base/gstcollectpads.h: Handle newsegment and store
      informations
      in CollectData.
      04f521f1
  2. 12 Oct, 2005 4 commits
    • Thomas Vander Stichele's avatar
      gst/base/: fix more guint64<->gdouble conversions · 04a38508
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      * gst/base/gstbasesrc.c: (gst_base_src_query):
      fix more guint64<->gdouble conversions
      04a38508
    • Stefan Kost's avatar
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition · a98aef82
      Stefan Kost authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesink.c: (gst_base_sink_init):
      * gst/base/gstbasesrc.c: (gst_base_src_init),
      (gst_base_src_get_range), (gst_base_src_check_get_range),
      (gst_base_src_start), (gst_base_src_stop):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstbuffer.h:
      * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_is_locked_state),
      (gst_element_set_locked_state), (gst_element_commit_state),
      (gst_element_set_state):
      * gst/gstelement.h:
      * gst/gstindex.c: (gst_index_init):
      * gst/gstindex.h:
      * gst/gstminiobject.h:
      * gst/gstobject.c: (gst_object_init), (gst_object_sink),
      (gst_object_set_parent):
      * gst/gstobject.h:
      * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
      (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
      * gst/gstpad.h:
      * gst/gstpadtemplate.h:
      * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
      (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
      * gst/gstpipeline.h:
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (gst_file_index_commit):
      * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
      * testsuite/pad/link.c: (gst_test_src_init),
      (gst_test_filter_init), (gst_test_sink_init):
      * testsuite/states/locked.c: (main):
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS
      moved bitshift from macro to enum definition
      a98aef82
    • Wim Taymans's avatar
      gst/: Some more debugging info. · 427aa600
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
      * gst/elements/gstfilesink.c: (gst_file_sink_event),
      (gst_file_sink_render):
      Some more debugging info.
      427aa600
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: No need to prerol after receiving EOS. · 0fd18045
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      No need to prerol after receiving EOS.
      
      * gst/elements/gstfakesink.c: (gst_fake_sink_event):
      * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
      * gst/elements/gstidentity.c: (gst_identity_event):
      Print events more verbosely.
      0fd18045
  3. 11 Oct, 2005 6 commits
    • Wim Taymans's avatar
      forgot this one · 7a2e55a7
      Wim Taymans authored
      Original commit message from CVS:
      forgot this one
      7a2e55a7
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Correctly parse newsegment info. · 9decf461
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_do_sync), (gst_base_sink_query),
      (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      Correctly parse newsegment info.
      9decf461
    • Wim Taymans's avatar
      Added extra flag to newsegment for future API freeze. · c97e237a
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstevent.c: (GST_START_TEST):
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
      * gst/base/gstbasetransform.c: (gst_base_transform_event):
      * gst/elements/gstfilesink.c: (gst_file_sink_event):
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      * gst/gstevent.h:
      Added extra flag to newsegment for future API freeze.
      Updated check and base elements.
      c97e237a
    • Julien Moutte Moutte's avatar
      gst/base/gstcollectpads.*: Handle EOS correctly. · 5706cb69
      Julien Moutte Moutte authored
      Original commit message from CVS:
      2005-10-11  Julien MOUTTE  <julien@moutte.net>
      
      * gst/base/gstcollectpads.c: (gst_collectpads_init),
      (gst_collectpads_add_pad), (gst_collectpads_pop),
      (gst_collectpads_event), (gst_collectpads_chain):
      * gst/base/gstcollectpads.h: Handle EOS correctly.
      5706cb69
    • Thomas Vander Stichele's avatar
      configure.ac: if we don't have glib, fail before testing 2.8 · 3b9e6b3e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * configure.ac:
      if we don't have glib, fail before testing 2.8
      * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
      fix a leak, should fix plugins-base testsuite
      3b9e6b3e
    • Edward Hervey's avatar
      libs/gst/controller/gstcontroller.*: Added GList* version of... · 8986d3f3
      Edward Hervey authored
      libs/gst/controller/gstcontroller.*: Added GList* version of _remove_properties() in order to be able to wrap it in b...
      
      Original commit message from CVS:
      * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
      * libs/gst/controller/gstcontroller.h:
      Added GList* version of _remove_properties() in order to be able to wrap
      it in bindings.
      8986d3f3
  4. 10 Oct, 2005 4 commits
    • Thomas Vander Stichele's avatar
      fix more valgrind warnings before turning up the heat · 7eeb3ca8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix more valgrind warnings before turning up the heat
      7eeb3ca8
    • Thomas Vander Stichele's avatar
      gst/base/gstbasesrc.c: use conversions · e2af9ca6
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/base/gstbasesrc.c: (gst_base_src_query):
      use conversions
      * gst/gstutils.c: (gst_guint64_to_gdouble),
      (gst_gdouble_to_guint64), (gst_util_uint64_scale):
      * gst/gstutils.h:
      externalize, basesrc uses it
      obviously the implementation needs testing
      e2af9ca6
    • Wim Taymans's avatar
      check/: Check fixes, use API as stated in design docs, remove hacks. · 2153c459
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/generic/states.c: (GST_START_TEST):
      * check/gst/gstbin.c: (GST_START_TEST):
      * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
      * check/states/sinks.c: (GST_START_TEST):
      * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
      (main):
      Check fixes, use API as stated in design docs, remove hacks.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      Catch stopping our task while we're shutting down.
      
      * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_get_state_func),
      (gst_bin_recalc_state), (gst_bin_change_state_func),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_init),
      (gst_element_get_state_func), (gst_element_abort_state),
      (gst_element_commit_state), (gst_element_lost_state),
      (gst_element_set_state), (gst_element_change_state),
      (gst_element_change_state_func):
      * gst/gstelement.h:
      New state change algorithm (see #318116)
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (do_pipeline_seek),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
      * gst/gstpipeline.h:
      Remove crude state change hacks.
      
      * gst/gstutils.h:
      Remove crude hacks.
      
      * tools/gst-launch.c: (main):
      Fixes for state change. Needs some more work to fully use the
      new stuff.
      2153c459
    • Tim-Philipp Müller's avatar
      gst/base/gsttypefindhelper.c: Check whether we have the requested data already... · b846fed9
      Tim-Philipp Müller authored
      gst/base/gsttypefindhelper.c: Check whether we have the requested data already in our list of cached buffers before p...
      
      Original commit message from CVS:
      * gst/base/gsttypefindhelper.c: (helper_find_peek),
      (gst_type_find_helper):
      Check whether we have the requested data already in our list of
      cached buffers before pulling a new buffer; also make the buffer
      list a GSList. Speeds up typefinding by ca. 5-10% altogether.
      b846fed9
  5. 09 Oct, 2005 1 commit
    • Tim-Philipp Müller's avatar
      gst/base/gsttypefindhelper.c: Fix evil typefind crasher: getrange() might... · 2b41c044
      Tim-Philipp Müller authored
      gst/base/gsttypefindhelper.c: Fix evil typefind crasher: getrange() might return a short buffer at the end of a file,...
      
      Original commit message from CVS:
      * gst/base/gsttypefindhelper.c: (helper_find_peek):
      Fix evil typefind crasher: getrange() might return a short
      buffer at the end of a file, but gst_type_find_peek() must
      either return the full data as requested or NULL, but
      never a short buffer.
      2b41c044
  6. 08 Oct, 2005 4 commits
    • Wim Taymans's avatar
      libs/gst/dataprotocol/: It's about time we bump the version number. · 075142af
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/dataprotocol/dataprotocol.c:
      (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
      (gst_dp_packet_from_event):
      * libs/gst/dataprotocol/dataprotocol.h:
      * libs/gst/dataprotocol/dp-private.h:
      It's about time we bump the version number.
      Since event types don't fit in the guint8 anymore describing
      the payload type, make payload type 16 bits wide.
      075142af
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Better log message. · 06bc343e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_handle_buffer):
      Better log message.
      
      * gst/gstbus.h:
      * gst/gstelement.h:
      More docs.
      
      * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
      (gst_queue_set_property), (gst_queue_get_property):
      * gst/gstqueue.h:
      Remove old unused properties.
      06bc343e
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Prepare for doing QOS. · 5d5dbe9b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
      Prepare for doing QOS.
      5d5dbe9b
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Repost EOS message while going to PLAYING if still EOS. · d80f874f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
      (gst_base_sink_handle_object), (gst_base_sink_event),
      (gst_base_sink_wait), (gst_base_sink_handle_event),
      (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      Repost EOS message while going to PLAYING if still EOS.
      Make sure that when receiving a FLUSH_START we don't attempt
      to sync on the clock anymore.
      d80f874f
  7. 07 Oct, 2005 2 commits
    • Wim Taymans's avatar
      gst/base/gstbasesrc.*: Make the newsegment event customizable by subclasses. · 5a742154
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_init), (gst_base_src_default_newsegment),
      (gst_base_src_newsegment), (gst_base_src_do_seek),
      (gst_base_src_loop), (gst_base_src_start):
      * gst/base/gstbasesrc.h:
      Make the newsegment event customizable by subclasses.
      5a742154
    • Andy Wingo Wingo's avatar
      check/elements/fakesrc.c (test_no_preroll): New check, checks that setting a... · ab96505b
      Andy Wingo Wingo authored
      check/elements/fakesrc.c (test_no_preroll): New check, checks that setting a live fakesrc to PAUSED returns NO_PREROL...
      
      Original commit message from CVS:
      2005-10-07  Andy Wingo  <wingo@pobox.com>
      
      * check/elements/fakesrc.c (test_no_preroll): New check, checks
      that setting a live fakesrc to PAUSED returns NO_PREROLL both
      times.
      
      * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
      NO_PREROLL from gst_element_change_state to fall through.
      ab96505b
  8. 02 Oct, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int. · 38100682
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-02  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
      It is volatile, after all.
      
      * docs/design/part-gstghostpad.txt: Flesh out activation with
      ghost pads.
      
      * gst/base/gstbasesrc.c (gst_base_src_init): Use
      GST_DEBUG_FUNCPTR.
      38100682
  9. 30 Sep, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Only error is an error. · 2d3e9f64
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_change_state):
      Only error is an error.
      
      * gst/gstbin.c: (gst_bin_change_state):
      Better debugging.
      
      * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
      Also call pad_block in pad alloc.
      
      * gst/gstutils.c: (gst_flow_get_name):
      Better debugging.
      2d3e9f64
  10. 29 Sep, 2005 2 commits
  11. 28 Sep, 2005 3 commits
    • Stefan Kost's avatar
      gst/gstinfo.c: don't do dummy g_strdup()s · e37803d6
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstinfo.c: (gst_debug_log_default):
      don't do dummy g_strdup()s
      * libs/gst/controller/gstcontroller.c:
      (on_object_controlled_property_changed),
      (gst_controlled_property_new), (gst_controller_new_valist),
      (gst_controller_new_list),
      (gst_controller_remove_properties_valist), (gst_controller_set),
      (gst_controller_get), (gst_controller_sync_values),
      (gst_controller_get_value_array), (_gst_controller_class_init),
      (gst_controller_get_type):
      * libs/gst/controller/gstcontroller.h:
      * libs/gst/controller/gstinterpolation.c:
      (gst_controlled_property_find_timed_value_node):
      convert // to /**/ comments
      e37803d6
    • Stefan Kost's avatar
      added another constructor for language bindings · d6b67a4d
      Stefan Kost authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
      (gst_controller_new_list):
      * libs/gst/controller/gstcontroller.h:
      added another constructor for language bindings
      d6b67a4d
    • Andy Wingo Wingo's avatar
      gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in lieu of real docs... · 5111420f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-28  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
      lieu of real docs...
      
      * gst/elements/gstfdsrc.c: Cleaned up a bit.
      5111420f
  12. 27 Sep, 2005 3 commits
    • Stefan Kost's avatar
      added two new functions to the docs documents all undocumented GstXXXFlags... · 6de84a3d
      Stefan Kost authored
      added two new functions to the docs documents all undocumented GstXXXFlags completed some incomplete docs
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesrc.h:
      * gst/gstelement.h:
      * gst/gstevent.h:
      * gst/gstobject.h:
      * gst/gstpad.h:
      * gst/gstpipeline.c:
      * gst/gstpipeline.h:
      * gst/gstutils.h:
      * gst/gstxml.h:
      added two new functions to the docs
      documents all undocumented GstXXXFlags
      completed some incomplete docs
      6de84a3d
    • Thomas Vander Stichele's avatar
      gst/: remove now useless and leaky resurrection code in dispose · daadaad8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstbin.c: (gst_bin_dispose):
      * gst/gstelement.c: (gst_element_dispose):
      remove now useless and leaky resurrection code in dispose
      * gst/base/gstbasesrc.c: (gst_base_src_init):
      * gst/gstelementfactory.c: (gst_element_factory_create):
      * gst/gstobject.c: (gst_object_set_parent):
      add some debugging
      daadaad8
    • Andy Wingo Wingo's avatar
      libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return values. · 7f2ea50a
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-27  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
      values.
      7f2ea50a
  13. 26 Sep, 2005 2 commits
    • Andy Wingo Wingo's avatar
      Remove memchunk benchmark stuff, this is taken over by GLib bug 118439. · 2f46ef71
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-26  Andy Wingo  <wingo@pobox.com>
      
      * configure.ac:
      * tests/Makefile.am:
      * tests/memchunk: Remove memchunk benchmark stuff, this is taken
      over by GLib bug 118439.
      
      * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
      routines to a function.
      
      * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
      
      * libs/gst/controller/gsthelper.c:
      * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
      (gst_object_sync_values): Renamed from sink_values. Ugh.
      
      * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
      
      * libs/gst/controller/gstcontroller.c (__gst_controller_key):
      Renamed from controller_key, as it is exported.
      
      * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
      2f46ef71
    • Wim Taymans's avatar
      gst/base/gstbasesrc.c: Some more debugging info. · dade0506
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_get_range),
      (gst_base_src_is_seekable), (gst_base_src_change_state):
      Some more debugging info.
      dade0506
  14. 25 Sep, 2005 1 commit
    • Stefan Kost's avatar
      added more docs · 2a7a17ce
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasetransform.h:
      * gst/gstindex.h:
      added more docs
      2a7a17ce
  15. 23 Sep, 2005 1 commit
    • 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