1. 21 Mar, 2005 2 commits
  2. 10 Mar, 2005 2 commits
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Fix preroll lockup. · 6c611baa
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_change_state):
      Fix preroll lockup.
      6c611baa
    • Wim Taymans's avatar
      Doc updates, · bd9cd130
      Wim Taymans authored
      Original commit message from CVS:
      * REQUIREMENTS:
      * docs/design/part-MT-refcounting.txt:
      * docs/design/part-clocks.txt:
      * docs/design/part-conventions.txt:
      * docs/design/part-gstobject.txt:
      * docs/design/part-relations.txt:
      * docs/design/part-standards.txt:
      * libs/gst/control/dparam.c: (gst_dparam_attach):
      * libs/gst/control/dparam.h:
      * libs/gst/control/dparammanager.c:
      (gst_dpman_add_required_dparam_callback),
      (gst_dpman_add_required_dparam_direct),
      (gst_dpman_add_required_dparam_array), (gst_dpman_attach_dparam),
      (gst_dpman_get_dparam), (gst_dpman_get_dparam_type),
      (gst_dpman_get_manager), (gst_dpman_bypass_dparam),
      (gst_dpman_preprocess_asynchronous),
      (gst_dpman_process_asynchronous), (gst_dpman_process_noop):
      * libs/gst/control/dparammanager.h:
      * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
      (main):
      * testsuite/threads/signals.c: (run_thread), (main):
      * testsuite/threads/thread.c: (main):
      * tools/gst-launch.c: (fault_handler_sighandler),
      (fault_handler_sigaction), (fault_spin):
      Doc updates,
      Head backporting.
      Fix some testcases.
      bd9cd130
  3. 09 Mar, 2005 3 commits
    • Wim Taymans's avatar
      Fix pad_get_direction wrt ghostpads. · fdcf9acd
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_get_direction):
      * gst/gstpad.h:
      * testsuite/bins/interface.c: (main):
      * testsuite/refcounting/bin.c: (add_remove_test1),
      (add_remove_test2), (main):
      * testsuite/refcounting/element.c: (main):
      * testsuite/refcounting/element_pad.c: (main):
      * testsuite/refcounting/pad.c: (main):
      Fix pad_get_direction wrt ghostpads.
      Fix some more testsuites.
      fdcf9acd
    • Wim Taymans's avatar
      Clean up gstelement.h · 5d498183
      Wim Taymans authored
      Original commit message from CVS:
      Clean up gstelement.h
      GstBin cleanups, fix bug where iterator was freed.
      GstElement cleanups.
      Backport gstinfo from HEAD.
      Fix GstIterator comparison bug.
      Fix clock tests.
      5d498183
    • Wim Taymans's avatar
      gst/: Backport HEAD changes, mostly docs. · b43d8f10
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gst_private.h:
      * gst/gstbin.c: (gst_bin_get_by_name_recurse_up):
      * gst/gstbuffer.h:
      * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
      (gst_clock_id_compare_func), (gst_clock_id_wait),
      (gst_clock_id_wait_async), (gst_clock_init),
      (gst_clock_adjust_unlocked), (gst_clock_get_time):
      * gst/gstclock.h:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_get_random_pad), (gst_element_get_state_func),
      (gst_element_lost_state):
      * gst/gstelement.h:
      * gst/gstelementfactory.c: (gst_element_register):
      * gst/gstiterator.c:
      * gst/gstobject.c: (gst_object_set_parent):
      * gst/gstobject.h:
      * gst/gstpad.c: (gst_pad_push), (gst_pad_pull_range),
      (gst_pad_query):
      * gst/gstpad.h:
      * gst/gstplugin.h:
      * gst/gstprobe.h:
      * gst/parse/parse.l:
      * gst/registries/gstxmlregistry.c: (gst_xml_registry_load):
      Backport HEAD changes, mostly docs.
      Fix possible deadlock in _get_random_pad.
      b43d8f10
  4. 08 Mar, 2005 1 commit
  5. 07 Mar, 2005 1 commit
    • Andy Wingo Wingo's avatar
      check/gst/gstobject.c (test_fake_object_name): The object *does* have a name after g_object_new. · eb6c9dd8
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-07  Andy Wingo  <wingo@pobox.com>
      
      * check/gst/gstobject.c (test_fake_object_name): The object *does*
      have a name after g_object_new.
      
      * gst/base/gstbasesink.c: Change "arguments" to "properties" in
      the code. Die GtkObject die!
      (GstBaseSink::preroll-queue-len): New object property, the number
      of buffers to queue in preroll. By default, does not queue any
      buffers. Set to a higher number if you have a one-threaded
      demuxer.
      (gst_basesink_preroll_queue_push)
      (gst_basesink_preroll_queue_empty)
      (gst_basesink_preroll_queue_flush): Implement a queue of buffers
      for preroll. All must be called with PREROLL_LOCK.
      (gst_basesink_finish_preroll): Instead of always blocking, push
      the buffer onto the queue. preroll_queue_push will block if the
      queue is full.
      (gst_basesink_event): Make sure the preroll queue is emptied on
      eos and flushed on flush.
      (gst_basesink_handle_buffer): Does the work of chain_unlocked, but
      without going into finish_preroll.
      (gst_basesink_change_state): Handle setting up the queue and
      flushing it in READY<->PAUSED transitions.
      eb6c9dd8
  6. 03 Mar, 2005 3 commits
    • Wim Taymans's avatar
      Preparing for merge to HEAD. · 6a480f3c
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-MT-refcounting.txt:
      * gst/elements/gstidentity.c: (gst_identity_event):
      * gst/gstobject.c: (gst_object_get_type), (gst_object_class_init),
      (gst_object_init), (gst_object_ref), (gst_object_unref),
      (gst_object_sink), (gst_object_dispose),
      (gst_object_dispatch_properties_changed),
      (gst_object_set_name_default), (gst_object_set_name),
      (gst_object_set_name_prefix), (gst_object_set_parent),
      (gst_object_unparent), (gst_object_check_uniqueness):
      * gst/gstobject.h:
      Preparing for merge to HEAD.
      Backported some HEAD changes to the set_name_default
      method.
      Updated refcounting docs.
      6a480f3c
    • Andy Wingo Wingo's avatar
      gst/gstiterator.c (gst_iterator_find_custom) · bffbacfa
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-03  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstiterator.c (gst_iterator_find_custom)
      (gst_iterator_foreach, gst_iterator_fold): Never free the
      iterator.
      
      * gst/elements/gsttee.c (gst_tee_handle_buffer):
      * gst/gstutils.c (gst_pad_proxy_setcaps, gst_pad_proxy_getcaps):
      Always free the iterator.
      
      * check/gst/gstbus.c (pull_messages): Use public
      gst_message_get_structure().
      bffbacfa
    • Andy Wingo Wingo's avatar
      tools/gst-launch.c: Update to use the new message-parsing API. · 9a14160b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-03  Andy Wingo  <wingo@pobox.com>
      
      * tools/gst-launch.c: Update to use the new message-parsing API.
      
      * tools/gst-md5sum.c: Update to new spiffy poll API. Not that
      md5sum is ported though!
      
      * gst/gstmessage.c:
      * gst/gstmessage.h (struct _GstMessage): Changed so the message
      data is just a GstStructure, not a union.
      (gst_message_get_structure): New function, gets the structure
      backing the message. Owned by the message.
      (gst_message_parse_tag, gst_message_parse_state_changed)
      (gst_message_parse_error, gst_message_parse_warning): New
      functions, parse the message into their components. Return values
      are copies, and so must be freed by the caller.
      9a14160b
  7. 01 Mar, 2005 3 commits
    • Andy Wingo Wingo's avatar
      tests/complexity.c: Adjust to lack of gst_bin_iterate, boolean link return values. · 70d2a801
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-01  Andy Wingo  <wingo@pobox.com>
      
      * tests/complexity.c: Adjust to lack of gst_bin_iterate, boolean
      link return values.
      
      * gst/elements/gsttee.c, gst/elements/gsttee.h: I am the master of
      do-nothing plugins! Fear the dev-zero!
      
      * gst/elements/gstelements.c
      * gst/elements/Makefile.am: Add tee back to gstelements.
      
      * gst/gstutils.h
      * gst/gstutils.c (gst_pad_proxy_getcaps, gst_pad_proxy_setcaps):
      Resurrect from the dead. Use gst_iterator_fold to be threadsafe.
      
      * gst/gstiterator.h (GstIteratorFoldFunction): Return a bool.
      
      * gst/gstiterator.c (gst_iterator_fold): Only continue folding as
      long as the fold function returns TRUE. Add a bunch o docs.
      (gst_iterator_foreach): Add docs about when the iterator will be
      freed.
      (gst_iterator_find_custom): Make more efficient because of the
      bool-return-value thing.
      
      * check/gst/gstiterator.c (add_fold_func): Adapt to new
      fold-funcs-returning-bool policy.
      
      * gst/gstutils.h:
      * gst/gstutils.c (gst_element_link, gst_element_link_many)
      (gst_element_link_filtered, gst_element_link_pads)
      (gst_element_link_pads_filtered): It seems Wim changed the return
      type to booleans internally. Assume he knows what he's doing and
      change the prototypes as well.
      70d2a801
    • Andy Wingo Wingo's avatar
      tests/: Merge in complexity tests from HEAD. · c32ed239
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-01  Andy Wingo  <wingo@pobox.com>
      
      * tests/Makefile.am, tests/complexity.c:
      * tests/complexity.gnuplot, tests/bench-complexity.scm: Merge in
      complexity tests from HEAD.
      c32ed239
    • Andy Wingo Wingo's avatar
      gst/gstpipeline.c: Fix element details. · b56662cf
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-01  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpipeline.c: Fix element details.
      (gst_pipeline_set_property, gst_pipeline_get_property): Lock
      around the whole get/set properties.
      
      * gst/gstpad.c (gst_real_pad_set_property): Add a FIXME, the
      ::active property doesn't make sense any more.
      (gst_pad_set_active): Check to see if the pad has the right
      functions to be activated in this mode.
      (gst_pad_event_default): Handle EOS specially, pausing the task on
      the pad if necessary.
      
      * gst/gstbin.c: Adapt callers of gst_iterator_foreach and
      gst_iterator_filter to new argument order.
      
      * gst/gstiterator.c (gst_iterator_find_custom)
      (gst_iterator_foreach): Implement on top of gst_iterator_fold
      instead of using the filter_next internals. A bit cleaner this
      way.
      
      * gst/gstiterator.h:
      (gst_iterator_filter, gst_iterator_find_custom): Switch the
      argument order so user_data is last.
      (gst_iterator_foreach): Return the GstIteratorResult so the caller
      knows if all elements were called, or if an error or resync
      happened.
      (gst_iterator_fold): New procedure.
      
      * check/Makefile.am (TESTS):
      * check/gst/gstiterator.c: New test suite for GstIterator. Checks
      that iterating through a list hits all members in order, that
      resync works correctly, and that fold works.
      
      * gst/base/gstbasesink.c (gst_basesink_event): Fix Waymans bug.
      b56662cf
  8. 24 Feb, 2005 3 commits
    • Wim Taymans's avatar
      gst/base/: Added small README for base classes. · 82a12763
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/README:
      * gst/base/gstbasesink.c: (gst_basesink_get_template),
      (gst_basesink_base_init), (gst_basesink_pad_getcaps),
      (gst_basesink_pad_setcaps), (gst_basesink_pad_buffer_alloc),
      (gst_basesink_init), (gst_base_sink_get_template),
      (gst_base_sink_get_caps), (gst_base_sink_set_caps),
      (gst_base_sink_buffer_alloc), (gst_basesink_finish_preroll),
      (gst_basesink_event), (gst_basesink_get_times),
      (gst_basesink_do_sync), (gst_basesink_change_state):
      Added small README for base classes.
      Make default getcaps function in the base class return a
      copy of the padtemplate caps if nothing else.
      82a12763
    • Wim Taymans's avatar
      gst/: Convert timeout value in _get_state() to absolute time as required by the _cond_wait(). · 47eb83ff
      Wim Taymans authored
      Original commit message from CVS:
      * gst/elements/gstfakesrc.c: (gst_fakesrc_get_range_unlocked):
      * gst/elements/gstidentity.c: (gst_identity_handle_buffer):
      * gst/gstelement.c: (gst_element_get_state_func),
      (gst_element_lost_state):
      * gst/gstelement.h:
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (is_eos), (pipeline_bus_handler),
      (gst_pipeline_change_state):
      * gst/gstpipeline.h:
      Convert timeout value in _get_state() to absolute time as
      required by the _cond_wait().
      Add _lost_state() to GstElement when elements in PAUSED loose
      the preroll after a flush.
      Add properties to GstPipeline, one to adjust clock times and
      another to configure a timeout for a possibly blocking operation.
      Removed some old methods.
      47eb83ff
    • Andy Wingo Wingo's avatar
      tests/bench-mass_elements.scm, tests/mass_elements.gnuplot: Merged from HEAD. · cea03c1e
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-02-24  Andy Wingo  <wingo@pobox.com>
      
      * tests/bench-mass_elements.scm, tests/mass_elements.gnuplot:
      Merged from HEAD.
      cea03c1e
  9. 23 Feb, 2005 7 commits
    • Wim Taymans's avatar
      gst/: Only call the item function in the iterator if there is an item. · 918a7578
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_get_template),
      (gst_basesink_base_init), (gst_basesink_class_init),
      (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
      (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
      (gst_base_sink_get_template), (gst_base_sink_get_caps),
      (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
      (gst_basesink_finish_preroll), (gst_basesink_event),
      (gst_basesink_get_times), (gst_basesink_do_sync),
      (gst_basesink_change_state):
      * gst/base/gstbasesink.h:
      * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
      (gst_list_iterator_next), (gst_list_iterator_free),
      (gst_iterator_new_list), (gst_iterator_pop), (gst_iterator_next),
      (gst_iterator_push):
      Only call the item function in the iterator if there is an item.
      Add capsnego stuff and buffer_alloc to the basesink class.
      Cleanups in the preroll code.
      918a7578
    • Andy Wingo Wingo's avatar
      Benjamin's mass_elements works now, but for other reasons. It's a lot faster than 0.8 :-) · 0f9e1490
      Andy Wingo Wingo authored
      Original commit message from CVS:
      Benjamin's mass_elements works now, but for other reasons. It's a lot faster than 0.8 :-)
      
      2005-02-23  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gstidentity.c (gst_identity_event): Pause the sink
      task, if any, during EOS. Don't need to take the stream lock, we
      already have it.
      0f9e1490
    • Andy Wingo Wingo's avatar
      add missing file · 5e8e74f3
      Andy Wingo Wingo authored
      Original commit message from CVS:
      add missing file
      5e8e74f3
    • Andy Wingo Wingo's avatar
      gst/gstmessage.h gst/gstmessage.c (_gst_message_free) · 0d557a7b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-02-23  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstmessage.h
      * gst/gstmessage.c (_gst_message_free)
      (gst_message_new_application): New message type, APPLICATION,
      explicitly for use by applications.
      
      * gst/gstbus.c (gst_bus_post): Only write a byte to the wakeup
      socket if the queue is coming from an empty state. Fixes a bug
      where posting a message could block, waiting for someone to read
      out bytes from the socket.
      (bus_watch_callback): Renamed from bus_callback, let gst_bus_pop
      handle the socket read.
      (bus_watch_destroy): Renamed from bus_destroy.
      
      * check/Makefile.am: Re-enable the gst-register test so we can
      deal with elements here. Add the gstbus tests.
      
      * check/gst/gstbus.c: New check, spawns off a bunch of threads all
      posting messages to a bus, then reads to see if they are in the
      right order.
      
      * check/pipelines/simple_launch_lines.c: Add some tests, and make
      sure to pop the message off the bus after the poll.
      
      * gst/gstbus.c (gst_bus_pop): Read off the control byte if the
      queue becomes empty.
      0d557a7b
    • Wim Taymans's avatar
      Add clock and sync handling to the base sink class. · b152bc1c
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-states.txt:
      * gst/base/gstbasesink.c: (gst_basesink_get_template),
      (gst_basesink_base_init), (gst_basesink_class_init),
      (gst_basesink_init), (gst_base_sink_get_template),
      (gst_base_sink_get_caps), (gst_base_sink_set_caps),
      (gst_base_sink_alloc_buffer), (gst_basesink_finish_preroll),
      (gst_basesink_event), (gst_basesink_get_times),
      (gst_basesink_do_sync), (gst_basesink_chain_unlocked),
      (gst_basesink_activate), (gst_basesink_change_state):
      * gst/base/gstbasesink.h:
      * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
      (gst_fakesink_get_times), (gst_fakesink_event),
      (gst_fakesink_preroll), (gst_fakesink_render):
      Add clock and sync handling to the base sink class.
      Make fakesink extend the base sink class.
      Fix some typos.
      b152bc1c
    • Andy Wingo Wingo's avatar
      check/Makefile.am (TESTS): Add pipelines/simple_launch_lines. · 5b676004
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-02-23  Andy Wingo  <wingo@pobox.com>
      
      * check/Makefile.am (TESTS): Add pipelines/simple_launch_lines.
      
      * check/pipelines/simple_launch_lines.c: New test suite for simple
      gst-launch lines. Just a beginning right now.
      5b676004
    • Wim Taymans's avatar
      Add sink base class to abstract locking and preroll. · ba3534f3
      Wim Taymans authored
      Original commit message from CVS:
      * configure.ac:
      * docs/design/part-states.txt:
      * gst/Makefile.am:
      * gst/base/Makefile.am:
      * gst/base/gstbasesink.c: (gst_basesink_get_template),
      (gst_basesink_base_init), (gst_basesink_class_init),
      (gst_basesink_init), (gst_basesink_set_pad_functions),
      (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
      (gst_basesink_set_property), (gst_basesink_get_property),
      (gst_base_sink_get_template), (gst_base_sink_get_caps),
      (gst_base_sink_set_caps), (gst_base_sink_alloc_buffer),
      (gst_basesink_finish_preroll), (gst_basesink_event),
      (gst_basesink_chain_unlocked), (gst_basesink_chain),
      (gst_basesink_loop), (gst_basesink_activate),
      (gst_basesink_change_state):
      * gst/base/gstbasesink.h:
      * gst/elements/Makefile.am:
      * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
      (gst_fakesink_class_init), (gst_fakesink_init),
      (gst_fakesink_set_property), (gst_fakesink_get_property),
      (gst_fakesink_event), (gst_fakesink_preroll),
      (gst_fakesink_render), (gst_fakesink_change_state):
      * gst/elements/gstfakesink.h:
      * gst/gstelement.c: (gst_element_get_random_pad):
      * gst/gstevent.h:
      * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
      (gst_list_iterator_next), (gst_list_iterator_free),
      (gst_iterator_new_list), (gst_iterator_pop), (gst_iterator_next),
      (gst_iterator_push), (filter_next):
      * gst/gstmessage.h:
      * gst/gsttrashstack.h:
      Add sink base class to abstract locking and preroll.
      Make fakesink use the base class.
      Some doc fixes.
      Fix missing breaks.
      ba3534f3
  10. 22 Feb, 2005 7 commits
    • Andy Wingo Wingo's avatar
      gst/elements/gstidentity.h · 7ba6b8b6
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-02-22  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gstidentity.h
      * gst/elements/gstidentity.c (gst_identity_handle_buffer): New
      proc, factored out of the old chain func.
      (gst_identity_chain): Use handle_buffer. Lock the stream.
      (gst_identity_getrange): Lock the stream. Still doesn't do any
      reporting tho.
      (gst_identity_event): Handle flush events in the loop-based and
      decoupled cases.
      (identity_queue_flush, identity_queue_pop, identity_queue_push):
      New procs, implement a 1-data buffer pen between threads in
      decoupled operation.
      (gst_identity_class_init, gst_identity_get_property)
      (gst_identity_set_property): Use PROP_FOO instead of ARG_FOO. It's
      not null if we get it, but I might remove five year old code. Add
      has-src-loop, has-sink-loop, has-chain, has-getrange properties,
      remove loop-based.
      (gst_identity_finalize): Free mutex and cond.
      (gst_identity_init): Alloc mutex and cond.
      (gst_identity_sink_loop, gst_identity_src_loop): New procs.
      (gst_identity_set_dataflow_funcs): New proc.
      7ba6b8b6
    • Thomas Vander Stichele's avatar
      let's see if this builds · d8e1a84a
      Thomas Vander Stichele authored
      Original commit message from CVS:
      let's see if this builds
      d8e1a84a
    • Thomas Vander Stichele's avatar
      let's see if this builds · 0943d19b
      Thomas Vander Stichele authored
      Original commit message from CVS:
      let's see if this builds
      0943d19b
    • Thomas Vander Stichele's avatar
      testing bot · fed8f6d7
      Thomas Vander Stichele authored
      Original commit message from CVS:
      testing bot
      fed8f6d7
    • Thomas Vander Stichele's avatar
      README · 74b36aeb
      Thomas Vander Stichele authored
      Original commit message from CVS:
      README
      74b36aeb
    • Thomas Vander Stichele's avatar
      README · 42ce618b
      Thomas Vander Stichele authored
      Original commit message from CVS:
      README
      42ce618b
    • Thomas Vander Stichele's avatar
      README · b49d01c9
      Thomas Vander Stichele authored
      Original commit message from CVS:
      README
      b49d01c9
  11. 21 Feb, 2005 8 commits
    • Thomas Vander Stichele's avatar
      we really need to update the readme · 9dc2274e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      we really need to update the readme
      9dc2274e
    • Wim Taymans's avatar
      gst/elements/gstfakesink.c: Fix properties. · 3c40ee95
      Wim Taymans authored
      Original commit message from CVS:
      * gst/elements/gstfakesink.c: (gst_fakesink_get_property),
      (gst_fakesink_finish_preroll), (gst_fakesink_event),
      (gst_fakesink_change_state):
      Fix properties.
      3c40ee95
    • Thomas Vander Stichele's avatar
      we get paid per whitespace · 9ee25280
      Thomas Vander Stichele authored
      Original commit message from CVS:
      we get paid per whitespace
      9ee25280
    • Wim Taymans's avatar
      Add finalize method to RealPad. · ed1664fb
      Wim Taymans authored
      Original commit message from CVS:
      Add finalize method to RealPad.
      Add new lock to correctly do the preroll, should probably not
      be put here.
      Make fakesink do preroll correctly. Emit a message when the
      preroll sample is queued.
      Add more info in gst-launch regarding state changes.
      ed1664fb
    • Andy Wingo Wingo's avatar
      gst/elements/: (gst_fakesink_loop, gst_fakesrc_loop, gst_fakesink_chain) · 6664bebb
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-02-21  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gstfakesink.c:
      * gst/elements/gstfakesrc.c:
      (gst_fakesink_loop, gst_fakesrc_loop, gst_fakesink_chain)
      (gst_fakesrc_get_range): Assert the pad has been activated in the
      proper mode. This will fail right now for fakesrc ! identity !
      fakesink.
      (gst_fakesrc_activate, gst_fakesink_activate): Record the pad
      activation mode.
      
      * gst/elements/gstfakesrc.h: Add a pad_mode instance variable.
      6664bebb
    • Thomas Vander Stichele's avatar
      some idiot added a newline here · 8479cbc3
      Thomas Vander Stichele authored
      Original commit message from CVS:
      some idiot added a newline here
      8479cbc3
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_real_pad_dispose): Free the stream lock (it wasn't being freed before). · aafa4f75
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-02-21  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_real_pad_dispose): Free the stream lock (it
      wasn't being freed before).
      (gst_real_pad_init): Allocate and initialize the stream lock.
      
      * gst/gstpad.h (GstRealPad): Change the stream lock to be
      recursive, so that if an event comes while a loop-based sink is
      pulling, the stream lock can be had by both the sink's loop
      function and the sink's event function.
      (GST_STREAM_GET_LOCK, GST_STREAM_LOCK, GST_STREAM_TRYLOCK)
      (GST_STREAM_UNLOCK): Updated accordingly.
      aafa4f75
    • Thomas Vander Stichele's avatar
      oh oh · ae2cc6d3
      Thomas Vander Stichele authored
      Original commit message from CVS:
      oh oh
      ae2cc6d3