1. 19 Nov, 2008 2 commits
    • Andrew Feren's avatar
      gst/gstobject.c: Unref the GEnumClass after usage again. Fixes bug #561501. · 604382bf
      Andrew Feren authored
      Original commit message from CVS:
      Patch by: Andrew Feren <acferen at yahoo dot com>
      * gst/gstobject.c: (gst_object_default_deep_notify):
      Unref the GEnumClass after usage again. Fixes bug #561501.
      604382bf
    • Wim Taymans's avatar
      gst/gstbin.*: Add do-latency signal with the old default fallback... · 9184d9ee
      Wim Taymans authored
      gst/gstbin.*: Add do-latency signal with the old default fallback implementation. This allows for custom latency calc...
      
      Original commit message from CVS:
      * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
      (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
      (gst_bin_change_state_func):
      * gst/gstbin.h:
      Add do-latency signal with the old default fallback implementation. This
      allows for custom latency calculations for when the default is not
      sufficient.
      API: GstBin::do-latency signal.
      9184d9ee
  2. 18 Nov, 2008 3 commits
  3. 17 Nov, 2008 5 commits
    • Sebastian Dröge's avatar
      libs/gst/controller/: Use gst_guint64_to_gdouble instead of... · 8e8a5cbf
      Sebastian Dröge authored
      libs/gst/controller/: Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble as it is mapped to a cast on ...
      
      Original commit message from CVS:
      * libs/gst/controller/gstinterpolation.c:
      * libs/gst/controller/gstlfocontrolsource.c:
      Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
      as it is mapped to a cast on non-win32 platforms.
      8e8a5cbf
    • Stefan Kost's avatar
      libs/gst/controller/: Keep last-value and only call set_property if value has... · 627c4098
      Stefan Kost authored
      libs/gst/controller/: Keep last-value and only call set_property if value has changed. This supresses all the g_objec...
      
      Original commit message from CVS:
      * libs/gst/controller/gstcontroller.c:
      * libs/gst/controller/gstcontrollerprivate.h:
      Keep last-value and only call set_property if value has changed. This
      supresses all the g_object_notifies we would trigger otherwise. It
      also allows the user to chage the value while there is no controller
      change.
      627c4098
    • Stefan Kost's avatar
      gst/gstvalue.c: Don't crash if either of the string GValues is empty. · d27aea03
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstvalue.c:
      Don't crash if either of the string GValues is empty.
      d27aea03
    • Andy Wingo Wingo's avatar
      tools/gst-inspect.c (print_all_uri_handlers): New function, prints a summary... · de6f88f0
      Andy Wingo Wingo authored
      tools/gst-inspect.c (print_all_uri_handlers): New function, prints a summary of what URI schemes are supported by wha...
      
      Original commit message from CVS:
      2008-11-17  Andy Wingo  <wingo@pobox.com>
      
      * tools/gst-inspect.c (print_all_uri_handlers): New function,
      prints a summary of what URI schemes are supported by what
      elements.
      (main): Plumb in support for --uri-handlers or -u, and fix the
      argc check for -a and -u.
      de6f88f0
    • Sebastian Dröge's avatar
      gst/gstutils.h: Add G_GNUC_PURE to gst_util_uint64_scale* and the... · e79e2061
      Sebastian Dröge authored
      gst/gstutils.h: Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64 conversion functions.
      
      Original commit message from CVS:
      * gst/gstutils.h:
      Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
      conversion functions.
      e79e2061
  4. 13 Nov, 2008 3 commits
  5. 12 Nov, 2008 3 commits
    • Wim Taymans's avatar
      tools/gst-inspect.c: Add --plugin option. Fixes #560301. · c1620298
      Wim Taymans authored
      Original commit message from CVS:
      * tools/gst-inspect.c: (main):
      Add --plugin option. Fixes #560301.
      c1620298
    • Wim Taymans's avatar
      docs/random/wtay/poll-timeout: Quick braindump for a possible (not totally verified) atomic case. · 162b2a6a
      Wim Taymans authored
      Original commit message from CVS:
      * docs/random/wtay/poll-timeout:
      Quick braindump for a possible (not totally verified) atomic case.
      162b2a6a
    • Sebastian Dröge's avatar
      gst/gstregistrybinary.*: Don't write and check a CRC for the binary registry... · 681e4d01
      Sebastian Dröge authored
      gst/gstregistrybinary.*: Don't write and check a CRC for the binary registry file. It's guaranteed that the registry ...
      
      Original commit message from CVS:
      * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
      (gst_registry_binary_initialize_magic),
      (gst_registry_binary_write_cache),
      (gst_registry_binary_check_magic):
      * gst/gstregistrybinary.h:
      Don't write and check a CRC for the binary registry file. It's
      guaranteed that the registry is completely written (it's first written
      to a temporary file and then moved) and if the registry was corrupted
      by some hardware failure we would have bigger problems.
      Bump binary registry version to 0.10.21.1 for this as it's an
      incompatible change and to ensure that the registry gets rebuild
      after the update.
      This saves some milliseconds for reading/writing the registry.
      Fixes bug #560399.
      681e4d01
  6. 11 Nov, 2008 1 commit
  7. 10 Nov, 2008 1 commit
  8. 06 Nov, 2008 3 commits
    • Wim Taymans's avatar
      gst/gstvalue.c: Reorganize some more, be more conservative with the... · 7f987200
      Wim Taymans authored
      gst/gstvalue.c: Reorganize some more, be more conservative with the GST_TYPE_ARRAY not being fixed and inline the tri...
      
      Original commit message from CVS:
      * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
      Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
      being fixed and inline the trivial check.
      7f987200
    • Wim Taymans's avatar
      gst/gstcaps.c: Callgrind micro optimisations. · 18aeb9a4
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
      (gst_caps_merge_structure), (gst_caps_get_structure),
      (gst_caps_copy_nth), (gst_caps_set_simple),
      (gst_caps_set_simple_valist), (gst_caps_is_fixed),
      (gst_caps_is_equal_fixed), (gst_caps_intersect),
      (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
      (gst_caps_to_string):
      Callgrind micro optimisations.
      Avoid array bounds checks and force inline of trivial function.
      * gst/gstobject.c: (gst_object_set_name_default):
      -1 is equivalent to letting glib to the strlen but then there is more
      room for optimisations and it's not our fault.
      * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
      no need to clear the array, we're cool.
      * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
      The most common _is_fixed() check is done on fundamental glib base
      types so we check this first instead of doing a huge amount of
      useless GST_TYPE_ARRAY calls.
      18aeb9a4
    • Wim Taymans's avatar
      gst/gstevent.h: Add a SKIP seek flag for use with advanced trickmodes. · 812640dd
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.h:
      Add a SKIP seek flag for use with advanced trickmodes.
      API: GstSeekFlags::GST_SEEK_FLAG_SKIP
      812640dd
  9. 05 Nov, 2008 2 commits
    • Wim Taymans's avatar
      gst/gststructure.c: No need to memset, we can clear the value ourselves. · 209c5708
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
      No need to memset, we can clear the value ourselves.
      * gst/gstvalue.c: (gst_type_is_fixed),
      (gst_value_get_compare_func):
      Some optimisations from a few callgrind sessions:
      When checking if a type is fixed, check for trivial fundamental types
      first before checking types for which we need to get the type followed
      by the heavy duty type checks, this reduces the amount of
      g_type_fundamental() calls a lot.
      When getting the compare function, first check for our registered types.
      If that fails, do the heavy duty g_type_is_a() checks, reduces the
      amount of g_type_is_a() considerably.
      209c5708
    • Wim Taymans's avatar
      docs/design/part-TODO.txt: Mumble something about removing GstXML. · 773c1e4c
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      Mumble something about removing GstXML.
      773c1e4c
  10. 04 Nov, 2008 7 commits
    • Wim Taymans's avatar
      gst/gstbin.c: Get the seqnum before we dispose the message. · 16e6c3ef
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_handle_message_func):
      Get the seqnum before we dispose the message.
      16e6c3ef
    • Wim Taymans's avatar
      docs/design/part-TODO.txt: Refer to the framestepping document. · 5605bbc5
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      Refer to the framestepping document.
      5605bbc5
    • Wim Taymans's avatar
      Copy seqnums from events to messages so that they can all be related back to eachother. · 0a711700
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (bin_handle_async_start),
      (gst_bin_handle_message_func), (gst_bin_query):
      * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
      (gst_base_sink_event), (gst_base_sink_change_state):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
      (gst_base_src_loop), (gst_base_src_change_state):
      Copy seqnums from events to messages so that they can all be related
      back to eachother.
      0a711700
    • Wim Taymans's avatar
      tools/gst-launch.c: Print the message seqnums. · 57792e66
      Wim Taymans authored
      Original commit message from CVS:
      * tools/gst-launch.c: (event_loop):
      Print the message seqnums.
      57792e66
    • Andy Wingo Wingo's avatar
      gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity. · 1f1d6429
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2008-11-04  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
      
      Also add API: to previous changelog entry.
      1f1d6429
    • Andy Wingo Wingo's avatar
      Add sequence numbers to events and messages. See #559250. · 5f5fbbdd
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2008-11-04  Andy Wingo  <wingo@pobox.com>
      
      Add sequence numbers to events and messages. See #559250.
      
      * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
      New functions.
      
      * gst/gstevent.h:
      * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
      events with a new sequence number, and copy it when copying.
      (gst_event_get_seqnum, gst_event_set_seqnum): Accessors for an
      event's sequence number.
      
      * gst/gstmessage.h:
      * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
      (gst_event_get_seqnum, gst_event_set_seqnum): As with events, so
      with messages.
      
      * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
      5f5fbbdd
    • Wim Taymans's avatar
      docs/manual/: Some Application Development Manual fixes thanks to · c6cc3bbc
      Wim Taymans authored
      Original commit message from CVS:
      * docs/manual/advanced-position.xml:
      * docs/manual/basics-bins.xml:
      * docs/manual/basics-bus.xml:
      * docs/manual/basics-pads.xml:
      * docs/manual/intro-gstreamer.xml:
      * docs/manual/intro-preface.xml:
      Some Application Development Manual fixes thanks to
      Andrew Feren. Fixes #558459.
      c6cc3bbc
  11. 03 Nov, 2008 2 commits
  12. 31 Oct, 2008 3 commits
  13. 30 Oct, 2008 2 commits
  14. 29 Oct, 2008 1 commit
  15. 27 Oct, 2008 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasetransform.c: If we have a fixate function, call it even... · 8798ea2c
      Wim Taymans authored
      libs/gst/base/gstbasetransform.c: If we have a fixate function, call it even if we already have fixed caps because th...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_find_transform), (gst_base_transform_getrange):
      If we have a fixate function, call it even if we already have fixed caps
      because the subclass might add some caps. Makes audioconvert add a
      default channel layout.
      8798ea2c
  16. 24 Oct, 2008 1 commit