1. 29 Sep, 2005 1 commit
    • Wim Taymans's avatar
      check/gst/gstbin.c: Change for new bus API. · 4d6a0303
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      Change for new bus API.
      
      * check/gst/gstbus.c: (message_func_eos), (message_func_app),
      (send_messages), (GST_START_TEST), (gstbus_suite):
      Change for new bus signal API.
      
      * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
      (gst_bus_source_prepare), (gst_bus_source_check),
      (gst_bus_create_watch), (gst_bus_add_watch_full),
      (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
      (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
      * gst/gstbus.h:
      Remove support for multiple GSources operating on different
      message types as it is too complex and unneeded when using
      signals.
      Added support for receiving signals from the bus.
      4d6a0303
  2. 28 Sep, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstbus.*: Added async-message and sync-message signals to the bus. · bf443a46
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
      (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
      (gst_bus_sync_signal_handler):
      * gst/gstbus.h:
      Added async-message and sync-message signals to the bus.
      Added helper BusFunc to emit signals for all posted messages.
      
      * gst/gstmessage.c: (gst_message_type_get_name),
      (gst_message_type_to_quark), (gst_message_get_type):
      * gst/gstmessage.h:
      Register quarks for message names.
      bf443a46
  3. 19 Sep, 2005 1 commit
    • Wim Taymans's avatar
      GstBusHandler -> GstBusFunc, return value has the same meaning as any other... · 1c1af875
      Wim Taymans authored
      GstBusHandler -> GstBusFunc, return value has the same meaning as any other GSource (FALSE == remove source).
      
      Original commit message from CVS:
      * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
      * check/gst/gstbus.c: (message_func_eos), (message_func_app),
      (send_messages), (GST_START_TEST), (gstbus_suite):
      * check/gst/gstpipeline.c: (GST_START_TEST):
      * check/pipelines/cleanup.c: (run_pipeline):
      * check/pipelines/simple_launch_lines.c: (run_pipeline),
      (GST_START_TEST):
      * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
      (gst_bus_source_check), (gst_bus_source_dispatch),
      (gst_bus_create_watch), (gst_bus_add_watch_full),
      (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
      * gst/gstbus.h:
      * tools/gst-launch.c: (event_loop):
      * tools/gst-md5sum.c: (event_loop):
      GstBusHandler -> GstBusFunc, return value has the same meaning as
      any other GSource (FALSE == remove source).
      _add_watch() and _add_watch_full() now take a MessageType mask to
      only handle specific types of messages.
      _poll() returns the GstMessage instead of the message type to avoid
      race conditions.
      _have_pending() takes a MessageType mask now too.
      Added testsuite for multiple bus watches.
      Fix testsuites and applications for new bus API.
      1c1af875
  4. 11 Sep, 2005 1 commit
  5. 30 Aug, 2005 1 commit
    • Stefan Kost's avatar
      more docs and two more inlined · a4459334
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstformat.sgml:
      * docs/gst/tmpl/gstversion.sgml:
      * gst/gstbus.h:
      * gst/gstformat.c:
      * gst/gstformat.h:
      * gst/gstversion.h.in:
      more docs and two more inlined
      a4459334
  6. 25 Aug, 2005 1 commit
    • Stefan Kost's avatar
      gst/gstbin.h: removed ';' from the end of macro defs · a28d6343
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbin.h:
      removed ';' from the end of macro defs
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_set_state), (activate_pads),
      (gst_element_save_thyself):
      * gst/gstevent.c: (gst_event_new_newsegment):
      * gst/gstevent.h:
      * gst/gstiterator.c:
      * gst/gstiterator.h:
      * gst/gstpad.c:
      * gst/gstprobe.h:
      * gst/gstutils.c: (gst_pad_query_convert):
      * gst/gstutils.h:
      fixed parameter name mismatches between source, header and docs
      added some more docs, resolved the last batch of unused elements in
      docs (now someone needs to doc them)
      a28d6343
  7. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Removed plugable schedulers. · e1aeec6d
      Wim Taymans authored
      Original commit message from CVS:
      Removed plugable schedulers.
      Removed Scheduler/Manager from elements.
      Removed gsttypes.h, rearranged includes.
      Removed dependency pad<->element, element<>pipeline, and
      various others,  fix includes.
      implement gst_pad_get_parent() with gst_object_get_parent()
      Make GstTask sefcontained.
      Fix _get_state() on GstBin, it did not return ASYNC with a 0
      timeout.
      Fix endless loop in iterator_fold_with_resync.
      e1aeec6d
  8. 26 May, 2005 1 commit
    • 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
  9. 11 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with · e44beb9f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
      *all* the arguments.
      
      * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
      stream lock if it's a FLUSH_DONE; normal flushes don't get the
      lock (according to the docs -- if this is wrong change the docs).
      
      * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
      flush messages in the NULL state.
      
      * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
      message immediately and return.
      (gst_bus_set_flushing): New function. If a bus is flushing, it
      flushes out any queued messages and immediately unrefs new
      messages. This is so when an element goes to NULL, all of the
      unhandled messages coming from it can be freed, and their
      references to the element dropped. In other words: message source
      ref considered harmful :P
      
      * gst/gstbin.c (gst_bin_change_state): Unref peer element when
      we're finished with it.
      
      * gst/gstmessage.c (gst_message_new_state_changed):
      e44beb9f
  10. 21 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Next big merge. · c2f41a89
      Wim Taymans authored
      Original commit message from CVS:
      Next big merge.
      Added GstBus for mainloop integration.
      Added GstMessage for sending notifications on the bus.
      Added GstTask as an abstraction for pipeline entry points.
      Removed GstThread.
      Removed Schedulers.
      Simplified GstQueue for multithreaded core.
      Made _link threadsafe, removed old capsnego.
      Added STREAM_LOCK and PREROLL_LOCK in GstPad.
      Added pad blocking functions.
      Reworked scheduling functions in GstPad to prepare for
      scheduling updates soon.
      Moved events out of data stream.
      Simplified GstEvent types.
      Added return values to push/pull.
      Removed clocking from GstElement.
      Added prototypes for state change function for next merge.
      Removed iterate from bins and state change management.
      Fixed some elements, disabled others for now.
      Fixed -inspect and -launch.
      Added check for GstBus.
      c2f41a89