1. 17 Jun, 2005 4 commits
  2. 16 Jun, 2005 1 commit
    • David Schleef's avatar
      gst/elements/gstcapsfilter.c: Allow NULL as possible value for filter_caps... · 6dbed89c
      David Schleef authored
      gst/elements/gstcapsfilter.c: Allow NULL as possible value for filter_caps property, indicating GST_CAPS_ANY.
      
      Original commit message from CVS:
      * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
      (gst_capsfilter_set_property): Allow NULL as possible value
      for filter_caps property, indicating GST_CAPS_ANY.
      6dbed89c
  3. 09 Jun, 2005 6 commits
  4. 08 Jun, 2005 9 commits
    • Andy Wingo Wingo's avatar
      gst/gstutils.c: RPAD fixes all around. · 4b908e33
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-06-08  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstutils.c: RPAD fixes all around.
      (gst_element_link_pads): Refcounting fixes.
      
      * tools/gst-inspect.c:
      * tools/gst-xmlinspect.c:
      * parse/grammar.y:
      * gst/base/gsttypefindhelper.c:
      * gst/base/gstbasesink.c:
      * gst/gstqueue.c: RPAD fixes.
      
      * gst/gstghostpad.h:
      * gst/gstghostpad.c: New ghost pad implementation as full proxy
      pads. The tricky thing is they provide both source and sink
      interfaces, since they proxy the internal pad for the external
      pad, and vice versa. Implement with lower-level ProxyPad objects,
      with the interior proxy pad as a child of the exterior ghost pad.
      Should write a doc on this.
      
      * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
      (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
      gst_object API.
      
      * gst/gstpad.c: Big changes. No more stub base GstPad, now all
      pads are real pads. No ghost pads in this file. Not documenting
      the myriad s/RPAD/PAD/ and REALIZE fixes.
      (gst_pad_class_init): Add properties for "direction" and
      "template". Both are construct-only, so they can't change during
      the life of the pad. Fixes properly deriving from GstPad.
      (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
      derived objects, just set properties when creating the objects via
      g_object_new.
      (gst_pad_get_parent): Implement as a function, return NULL if the
      parent is not an element.
      (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
      (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
      
      * gst/gstobject.c (gst_object_class_init): Make name a construct
      property. Don't set it in the object init.
      
      * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
      with UNKNOWN direction.
      (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
      with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
      (gst_element_remove_pad): Remove ghost-pad special cases.
      (gst_element_pads_activate): Remove rpad cruft.
      
      * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
      catch the pad's-parent-not-an-element case.
      
      * gst/gst.h: Include gstghostpad.h.
      
      * gst/gst.c (init_post): No more real, ghost pads.
      
      * gst/Makefile.am: Add gstghostpad.[ch].
      
      * check/Makefile.am:
      * check/gst/gstbin.c:
      * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
      into a bin creates ghost pads, and that the refcounts are right.
      Partly moved from gstbin.c.
      4b908e33
    • Thomas Vander Stichele's avatar
      check/: ignore more · 034ae213
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * check/gst-libs/.cvsignore:
      * check/gst/.cvsignore:
      * check/pipelines/.cvsignore:
      ignore more
      * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
      (START_TEST), (cleanup_suite), (main):
      add some tests related to cleanup after running pipelines
      034ae213
    • Thomas Vander Stichele's avatar
      add a GstBuffer unit test · 4ec7c9ad
      Thomas Vander Stichele authored
      Original commit message from CVS:
      add a GstBuffer unit test
      4ec7c9ad
    • Thomas Vander Stichele's avatar
      previous commit accidentally also added refcount defines for gstminiobject, logging that now · 9764987d
      Thomas Vander Stichele authored
      Original commit message from CVS:
      previous commit accidentally also added refcount defines for gstminiobject, logging that now
      9764987d
    • Thomas Vander Stichele's avatar
      add a 'plugins' dir to the PLUGIN_PATH in the uninstalled script to drop... · d282f082
      Thomas Vander Stichele authored
      add a 'plugins' dir to the PLUGIN_PATH in the uninstalled script to drop random other plugin-having projects in
      
      Original commit message from CVS:
      add a 'plugins' dir to the PLUGIN_PATH in the uninstalled script to drop random other plugin-having projects in
      d282f082
    • Thomas Vander Stichele's avatar
      we did a prerelease · 8ed1f8f8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      we did a prerelease
      8ed1f8f8
    • Thomas Vander Stichele's avatar
      OBJECT acts on obj not caps · c87c44b0
      Thomas Vander Stichele authored
      Original commit message from CVS:
      OBJECT acts on obj not caps
      c87c44b0
    • Thomas Vander Stichele's avatar
      add a debug line · 41a8de90
      Thomas Vander Stichele authored
      Original commit message from CVS:
      add a debug line
      41a8de90
    • Thomas Vander Stichele's avatar
      white space fixes · 1ffd2bc0
      Thomas Vander Stichele authored
      Original commit message from CVS:
      white space fixes
      1ffd2bc0
  5. 03 Jun, 2005 1 commit
  6. 02 Jun, 2005 5 commits
    • Jan Schmidt's avatar
      gst/elements/gstcapsfilter.c: Free existing caps if the capsfilter changes.... · c9f30f98
      Jan Schmidt authored
      gst/elements/gstcapsfilter.c: Free existing caps if the capsfilter changes. Add a FIXME about setting those caps on t...
      
      Original commit message from CVS:
      * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
      Free existing caps if the capsfilter changes. Add a FIXME about
      setting those caps on the pads.
      
      * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
      Before adding a ghost pad to a parent bin, check that there isn't
      already one for the element on the bin. Prevents infinite recursion
      when using decodebin in parse pipelines. Andy says he'll rewrite the
      way this works anyway, so ignore the hack.
      c9f30f98
    • Andy Wingo Wingo's avatar
      gst/elements/gsttypefindelement.c (do_pull_typefind): Query the file size,... · 26a1c2c6
      Andy Wingo Wingo authored
      gst/elements/gsttypefindelement.c (do_pull_typefind): Query the file size, pass it on to the type find helper.
      
      Original commit message from CVS:
      2005-06-02  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
      file size, pass it on to the type find helper.
      
      * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
      segment_start and segment_end properly according to the seek
      method. Segment_end is still a bit flaky because offset can be
      negative for CUR and END cases, but it takes -1 as an "unset"
      value.
      26a1c2c6
    • Wim Taymans's avatar
      gst/: Bufferalloc: return GstFlowReturn to more accuratly report why allocation failed. · d3edbe17
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
      (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
      (gst_basesink_activate):
      * gst/base/gstbasesink.h:
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
      (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
      (gst_pad_query), (gst_pad_start_task):
      * gst/gstpad.h:
      * gst/gstqueue.c: (gst_queue_bufferalloc),
      (gst_queue_handle_sink_event), (gst_queue_chain):
      Bufferalloc: return GstFlowReturn to more accuratly report
      why allocation failed.
      d3edbe17
    • Wim Taymans's avatar
      gst/gstpipeline.c: Take snapshot of state without blocking. · 5c026ec0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpipeline.c: (gst_pipeline_send_event):
      Take snapshot of state without blocking.
      5c026ec0
    • Wim Taymans's avatar
      docs/design/: Small doc updates · c41ec35e
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      * docs/design/part-caps.txt:
      * docs/design/part-clocks.txt:
      * docs/design/part-negotiation.txt:
      * docs/design/part-preroll.txt:
      Small doc updates
      c41ec35e
  7. 30 May, 2005 9 commits
    • Wim Taymans's avatar
      gst/elements/gstidentity.c: Protect last_message property as it is accessed from multiple threads. · fcc76e3d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/elements/gstidentity.c: (gst_identity_event),
      (gst_identity_transform), (gst_identity_get_property):
      Protect last_message property as it is accessed from
      multiple threads.
      fcc76e3d
    • Wim Taymans's avatar
      gst/gstelement.c: Slicker pad activation code. · 8d0a4e1d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_init),
      (gst_element_pads_activate), (gst_element_change_state):
      Slicker pad activation code.
      8d0a4e1d
    • Wim Taymans's avatar
      gst/: Move elementfactory methods to separate .h file. · e1b5b748
      Wim Taymans authored
      Original commit message from CVS:
      * gst/Makefile.am:
      * gst/gstelement.h:
      * gst/gstelementfactory.h:
      * gst/gsttypes.h:
      Move elementfactory methods to separate .h file.
      e1b5b748
    • Wim Taymans's avatar
      Small typo fixes, doc updates. · 99d49f2c
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-overview.txt:
      * gst/gstsystemclock.h:
      Small typo fixes, doc updates.
      99d49f2c
    • Wim Taymans's avatar
      gst/gst.c: Remove cpu-opt flag. · 248dce3e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gst.c: (gst_init_get_popt_table), (init_post),
      (init_popt_callback):
      Remove cpu-opt flag.
      248dce3e
    • Wim Taymans's avatar
      gst/gstbuffer.*: Avoid typechecking in places where not needed. · a86feaf0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_subbuffer_finalize),
      (gst_buffer_create_sub), (gst_buffer_is_span_fast):
      * gst/gstbuffer.h:
      Avoid typechecking in places where not needed.
      Added accessor for malloc_data.
      a86feaf0
    • Wim Taymans's avatar
      gst/gstpad.c: Propagate errors from _set_caps() in configure_src/sink... · 0e1ad862
      Wim Taymans authored
      gst/gstpad.c: Propagate errors from _set_caps() in configure_src/sink functions instead of returning TRUE.
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
      (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
      (gst_pad_configure_sink), (gst_pad_configure_src),
      (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
      (gst_pad_start_task):
      Propagate errors from _set_caps() in configure_src/sink
      functions instead of returning TRUE.
      FLUSH events can travel up and downstream
      0e1ad862
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Handle EOS in preroll. · be66bb03
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
      (gst_basesink_activate):
      Handle EOS in preroll.
      be66bb03
    • Wim Taymans's avatar
      gst/gstqueue.c: Remove old pieces of code · 148057fa
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
      (gst_queue_loop), (gst_queue_handle_src_event):
      Remove old pieces of code
      Flushing the queue in an upstream event is a very bad idea.
      148057fa
  8. 29 May, 2005 1 commit
  9. 27 May, 2005 2 commits
    • Andy Wingo Wingo's avatar
      remove conflict doobers · 9e584e03
      Andy Wingo Wingo authored
      Original commit message from CVS:
      remove conflict doobers
      9e584e03
    • Andy Wingo Wingo's avatar
      gst/gstminiobject.c (gst_value_mini_object_collect): Use... · 1457b69c
      Andy Wingo Wingo authored
      gst/gstminiobject.c (gst_value_mini_object_collect): Use gst_value_set_mini_object so as to add a ref on the object (...
      
      Original commit message from CVS:
      2005-05-26  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstminiobject.c (gst_value_mini_object_collect): Use
      gst_value_set_mini_object so as to add a ref on the object (which
      will be removed when the value is unset).
      
      * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
      arg type in ::handoff.
      
      * gst/gstelement.c (gst_element_change_state): Also deactivate
      pads in READY->NULL, just in case the element didn't make it to
      PAUSED. Wingo tested, Wim approved.
      1457b69c
  10. 26 May, 2005 2 commits
    • Wim Taymans's avatar
      gst/gstpad.c: A flushing pad cannot be used to alloc_buffer from. · 61167c90
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
      (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
      (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
      A flushing pad cannot be used to alloc_buffer from.
      61167c90
    • Wim Taymans's avatar
      gst/gstbus.*: Implement a real GSource and use g_main_context_wakeup() to... · ea2dd005
      Wim Taymans authored
      gst/gstbus.*: Implement a real GSource and use g_main_context_wakeup() to signal new messages instead of the socketpair.
      
      Original commit message from CVS:
      * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
      (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
      (gst_bus_source_dispatch), (gst_bus_source_finalize),
      (gst_bus_create_watch), (gst_bus_add_watch_full):
      * gst/gstbus.h:
      Implement a real GSource and use g_main_context_wakeup() to
      signal new messages instead of the socketpair.
      ea2dd005