1. 29 Jan, 2004 1 commit
    • David Schleef's avatar
      configure.ac: Add detection for HAVE_PRINTF_EXTENSION and · 6a096813
      David Schleef authored
      Original commit message from CVS:
      * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
      GST_PRINTF_EXTENSION_FORMAT_DEFINE.
      * docs/random/ds/0.9-suggested-changes: Notes from Company.
      * gst/gstcaps.c: (gst_caps_to_string): Add comment.
      * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
      * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
      (gst_debug_log_default), (_gst_info_printf_extension),
      (_gst_info_printf_extension_arginfo):  Add printf extension.
      * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
      * gst/gststructure.c: (gst_structure_to_string),
      (_gst_structure_parse_value): Use gst_value_deserialize() and
      remove old code.
      * gst/gstvalue.c: (gst_value_deserialize_fourcc),
      (gst_value_deserialize_boolean), (gst_strtoi),
      (gst_value_deserialize_int), (gst_value_deserialize_double),
      (gst_value_deserialize_string), (gst_value_deserialize): Implement
      a bunch of deserialize functions and gst_value_deserialize.
      * gst/gstvalue.h: er, _de_serialize, not unserialize
      * testsuite/caps/string-conversions.c: (main): We don't currently
      handle (float) in caps, so convert these to (double).
      * testsuite/debug/Makefile.am: Add new test for the printf extension
      * testsuite/debug/printf_extension.c: (main): same
      6a096813
  2. 15 Jan, 2004 1 commit
    • David Schleef's avatar
      gst/gstcaps.c: Add lots of documentation. · 2ae2ed52
      David Schleef authored
      Original commit message from CVS:
      * gst/gstcaps.c:
      Add lots of documentation.
      * gst/gstcaps.h:
      Deprecate a few functions.
      * gst/gstpad.c:
      Removed use of deprecated functions.
      2ae2ed52
  3. 06 Jan, 2004 1 commit
  4. 05 Jan, 2004 1 commit
  5. 04 Jan, 2004 1 commit
    • David Schleef's avatar
      gst/elements/gsttee.c: Remove usage of gst_pad_proxy_fixate. · 2f85a255
      David Schleef authored
      Original commit message from CVS:
      * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
      Remove usage of gst_pad_proxy_fixate.
      * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
      (gst_caps_split_one), (gst_caps_replace):
      Add poisoning code.
      * gst/gstmarshal.list:
      Add pointer__pointer for fixate signal
      * gst/gstpad.c: (gst_real_pad_class_init),
      (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
      (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
      (gst_pad_set_explicit_caps), (gst_pad_template_new):
      Add poisoning code. Add fixate signal on RealPad. Change
      set_explicit_caps() to take const GstCaps, like try_set_caps().
      * gst/gstpad.h:
      * testsuite/caps/Makefile.am:
      * testsuite/caps/app_fixate.c: Add a test for the fixate signal
      2f85a255
  6. 02 Jan, 2004 2 commits
    • David Schleef's avatar
      gst/gstcaps.c: Add new function. · a77e6e35
      David Schleef authored
      Original commit message from CVS:
      * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
      (gst_caps_is_equal_fixed): Add new function.
      * gst/gstcaps.h: ditto.
      * gst/gstpad.c: (gst_real_pad_class_init),
      (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
      (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
      check new caps against existing caps -- if they're the same, return
      OK without renegotiating.  caps-nego-failed signal fixed so that
      the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
      to save an extra caps copy.  Don't complete negotiation if a pad
      link function returns DELAYED.
      a77e6e35
    • David Schleef's avatar
      remove bogus FIXME · 1af3878c
      David Schleef authored
      Original commit message from CVS:
      remove bogus FIXME
      1af3878c
  7. 01 Jan, 2004 1 commit
  8. 30 Dec, 2003 1 commit
    • David Schleef's avatar
      gst/gstcaps.*: Add simplify function · cd1d72de
      David Schleef authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
      (gst_caps_structure_simplify), (gst_caps_simplify):
      * gst/gstcaps.h:
      Add simplify function
      * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
      (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
      * gst/gstpad.h:
      Copy over srcnotify, sinknotify when calling old pad_link
      functions.  Add new is_negotiated() function.
      * gst/gststructure.c: (gst_structure_copy):
      Fix an incredibly stupid bug that should have been noticed
      weeks ago.  _copy() returned the argument, not the new copy.
      cd1d72de
  9. 27 Dec, 2003 1 commit
    • Benjamin Otte's avatar
      gst/gstcaps.c: add sanity checks · 9df87865
      Benjamin Otte authored
      Original commit message from CVS:
      2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * gst/gstcaps.c: (gst_caps_append):
      add sanity checks
      * gst/gstcaps.h: (gst_caps_debug):
      remove, it doesn't exist anymore.
      * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
      (gst_element_threadsafe_properties_post_run):
      make debugging messages not clutter up THREAD debug category
      (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
      (gst_element_change_state):
      update to new caps API
      * gst/gstinterface.c: (gst_implements_interface_cast):
      don't put vital code in g_return_if_fail
      * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
      (gst_pad_link_filtered):
      add pst_pad_try_link and use it.
      (gst_pad_perform_negotiate), (gst_pad_renegotiate):
      implement correctly, deprecate first one.
      (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
      add and implement.
      (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
      implement.
      (gst_pad_get_negotiated_caps):
      add and implement. Make GST_PAD_CAPS call this function.
      (gst_pad_get_caps):
      remove unneeded check..
      (gst_pad_recover_caps_error):
      disable, always return FALSE.
      (gst_real_pad_dispose):
      don't free caps and appfilter anymore, they're unused.
      * gst/gstpad.h:
      Reflect changes mentioned above.
      * gst/gstsystemclock.c: (gst_system_clock_wait):
      Make 'clock is way behind' a debugging message.
      * gst/gstthread.c: (gst_thread_change_state):
      Fix debugging message
      9df87865
  10. 24 Dec, 2003 1 commit
  11. 22 Dec, 2003 2 commits
  12. 11 Nov, 2003 1 commit