1. 18 Nov, 2008 1 commit
  2. 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
  3. 13 Nov, 2008 3 commits
  4. 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
  5. 11 Nov, 2008 1 commit
  6. 10 Nov, 2008 1 commit
  7. 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
  8. 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
  9. 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
  10. 03 Nov, 2008 2 commits
  11. 31 Oct, 2008 3 commits
  12. 30 Oct, 2008 2 commits
  13. 29 Oct, 2008 1 commit
  14. 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
  15. 24 Oct, 2008 1 commit
  16. 23 Oct, 2008 4 commits
    • Sebastian Dröge's avatar
      plugins/elements/: Use gst_buffer_try_new_and_alloc() and handle errors... · 5357a24d
      Sebastian Dröge authored
      plugins/elements/: Use gst_buffer_try_new_and_alloc() and handle errors instead of using gst_buffer_new_and_alloc() w...
      
      Original commit message from CVS:
      * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
      * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
      Use gst_buffer_try_new_and_alloc() and handle errors instead of
      using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
      be allocated.
      5357a24d
    • Wim Taymans's avatar
      gst/gstsegment.c: Set the last_stop to a more meaningful position when... · d2e5ffde
      Wim Taymans authored
      gst/gstsegment.c: Set the last_stop to a more meaningful position when configuring the segment. ie. the start/stop of...
      
      Original commit message from CVS:
      * gst/gstsegment.c: (gst_segment_set_newsegment_full):
      Set the last_stop to a more meaningful position when configuring the
      segment. ie. the start/stop of the segment or clipped against the
      updated segment boundaries.
      * tests/check/gst/gstsegment.c: (GST_START_TEST):
      Add some unit tests for the last_stop.
      d2e5ffde
    • Sebastian Dröge's avatar
      libs/gst/base/gstbytereader.c: Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE)... · d3cb47b9
      Sebastian Dröge authored
      libs/gst/base/gstbytereader.c: Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own copies of them.
      
      Original commit message from CVS:
      * libs/gst/base/gstbytereader.c:
      Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
      copies of them.
      d3cb47b9
    • Sebastian Dröge's avatar
      API: Move float endianness conversion macros from libgstfloatcast to core as... · 5644be89
      Sebastian Dröge authored
      API: Move float endianness conversion macros from libgstfloatcast to core as it's useful in general, even in core. Fi...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstutils.h:
      API: Move float endianness conversion macros from libgstfloatcast
      to core as it's useful in general, even in core. Fixes bug #555196.
      This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
      GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
      GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
      Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
      GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
      GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
      GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
      5644be89