1. 27 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Some docs updates · 66d7070e
      Wim Taymans authored
      Original commit message from CVS:
      * CHANGES-0.9:
      * docs/design/part-TODO.txt:
      * docs/design/part-events.txt:
      Some docs updates
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_do_sync),
      (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_event_handler),
      (gst_base_src_loop):
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
      (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
      (gst_base_transform_event), (gst_base_transform_handle_buffer),
      (gst_base_transform_set_passthrough),
      (gst_base_transform_is_passthrough):
      * gst/elements/gstfakesink.c: (gst_fake_sink_event):
      * gst/elements/gstfilesink.c: (gst_file_sink_event):
      Event updates.
      
      * gst/gstbuffer.h:
      Use faster casts.
      
      * gst/gstelement.c: (gst_element_seek):
      * gst/gstelement.h:
      Update gst_element_seek.
      
      * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
      (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
      (gst_event_new_flush_start), (gst_event_new_flush_stop),
      (gst_event_new_eos), (gst_event_new_newsegment),
      (gst_event_parse_newsegment), (gst_event_new_tag),
      (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
      (gst_event_parse_qos), (gst_event_new_seek),
      (gst_event_parse_seek), (gst_event_new_navigation):
      * gst/gstevent.h:
      Make GstEvent use GstStructure. Add parsing code, make sure the
      API is sufficiently generic.
      Mark possible directions of events and serialization.
      
      * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
      (_gst_message_copy), (gst_message_new_segment_start),
      (gst_message_new_segment_done), (gst_message_new_custom),
      (gst_message_parse_segment_start),
      (gst_message_parse_segment_done):
      Small cleanups.
      
      * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
      (gst_pad_set_caps), (gst_pad_send_event):
      Update for new events.
      Catch events sent in wrong directions.
      
      * gst/gstqueue.c: (gst_queue_link_src),
      (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
      (gst_queue_handle_src_query):
      Event updates.
      
      * gst/gsttag.c:
      * gst/gsttag.h:
      Remove event code from this file.
      
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
      (gst_dp_event_from_packet):
      Event updates.
      66d7070e
  2. 21 Jul, 2005 1 commit
    • Wim Taymans's avatar
      docs/design/part-seeking.txt: Some small additions. · 030ff93e
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-seeking.txt:
      Some small additions.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_get_times), (gst_base_sink_do_sync),
      (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
      * gst/base/gstbasesink.h:
      discont values are gint64, handle the math correctly.
      
      * gst/base/gstbasesrc.c: (gst_base_src_loop):
      Make the basesrc report error if the source pad is not linked.
      
      * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
      (gst_queue_loop), (gst_queue_handle_src_query),
      (gst_queue_src_activate_push):
      Make queue collect data even if the srcpad is not linked.
      Start pushing out data as soon as it is linked.
      
      * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
      * gst/gstutils.h:
      Added gst_flow_get_name() to ease error reporting.
      030ff93e
  3. 20 Jul, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesrc.*: Add a gboolean to decide when to push out a discont. · f73fb55d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_init),
      (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
      * gst/base/gstbasesrc.h:
      Add a gboolean to decide when to push out a discont.
      
      * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
      (gst_queue_loop), (gst_queue_handle_src_query),
      (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
      (gst_queue_set_property), (gst_queue_get_property):
      Some cleanups.
      
      * tests/threadstate/threadstate1.c: (main):
      Make a thread test compile and run... very silly..
      f73fb55d
  4. 19 Jul, 2005 2 commits
  5. 18 Jul, 2005 2 commits
  6. 16 Jul, 2005 2 commits
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Store and use discont values when syncing buffers as... · d5be929b
      Wim Taymans authored
      gst/base/gstbasesink.*: Store and use discont values when syncing buffers as described in design docs.
      
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_get_times),
      (gst_base_sink_do_sync), (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      Store and use discont values when syncing buffers as described
      in design docs.
      
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
      (gst_base_src_activate_push):
      Push discont event when starting.
      
      * gst/elements/gstidentity.c: (gst_identity_transform):
      Small cleanups.
      
      * gst/gstbin.c: (gst_bin_change_state):
      Small cleanups in base_time  distribution.
      
      * gst/gstelement.c: (gst_element_set_base_time),
      (gst_element_get_base_time), (gst_element_change_state):
      * gst/gstelement.h:
      Added methods for the base_time of the element.
      Some MT fixes.
      
      * gst/gstpipeline.c: (gst_pipeline_send_event),
      (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
      (gst_pipeline_get_last_stream_time):
      * gst/gstpipeline.h:
      MT fixes.
      Handle seeking as described in design doc, remove stream_time
      hack.
      Cleanups clock and stream_time selection code. Added accessors
      for the stream_time.
      d5be929b
    • Tim-Philipp Müller's avatar
      gst/base/gstbasesrc.c: Don't unref the caps we passed to... · d34751b8
      Tim-Philipp Müller authored
      gst/base/gstbasesrc.c: Don't unref the caps we passed to gst_caps_make_writable() after passing them. gst_caps_make_w...
      
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
      Don't unref the caps we passed to gst_caps_make_writable() after
      passing them. gst_caps_make_writable() will do that for us.
      d34751b8
  7. 15 Jul, 2005 1 commit
    • Andy Wingo Wingo's avatar
      tools/gst-typefind.c: Update, add copyright block. · ad1970ea
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-07-15  Andy Wingo  <wingo@pobox.com>
      
      * tools/gst-typefind.c: Update, add copyright block.
      
      * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
      Normalize and truncate caps before fixation.
      
      * gst/gstcaps.h:
      * gst/gstcaps.c (gst_caps_truncate): New function, destructively
      discards all but the first structure from its argument.
      ad1970ea
  8. 14 Jul, 2005 1 commit
  9. 13 Jul, 2005 1 commit
  10. 11 Jul, 2005 1 commit
  11. 09 Jul, 2005 1 commit
  12. 07 Jul, 2005 1 commit
  13. 06 Jul, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/: Make basesrc negotiate. · 03aa950f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/README:
      * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
      (gst_base_sink_handle_object), (gst_base_sink_loop),
      (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      * gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_init), (gst_base_src_setcaps),
      (gst_base_src_getcaps), (gst_base_src_loop),
      (gst_base_src_default_negotiate), (gst_base_src_negotiate),
      (gst_base_src_start), (gst_base_src_change_state):
      * gst/base/gstbasesrc.h:
      Make basesrc negotiate.
      Handle the case where preroll fails in basesink.
      Update README.
      03aa950f
  14. 05 Jul, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/: s/BASESRC/BASE_SRC/g. · 0675bff0
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-07-05  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gstfilesrc.c:
      * gst/elements/gstfakesrc.c:
      * gst/base/gstpushsrc.c:
      * gst/base/gstbasesrc.h:
      * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
      0675bff0
  15. 28 Jun, 2005 2 commits
  16. 27 Jun, 2005 2 commits
    • Andy Wingo Wingo's avatar
      gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. · f2cf753b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-06-27  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
      remaining buffer.
      
      * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
      returns a sorted copy of the trace list.
      (gst_alloc_trace_print_live): New API, only prints traces with
      live objects. Sort the list.
      (gst_alloc_trace_print_all): Sort the list.
      (gst_alloc_trace_print): Align columns.
      
      * gst/elements/gstttypefindelement.c:
      * gst/elements/gsttee.c:
      * gst/base/gstbasesrc.c:
      * gst/base/gstbasesink.c:
      * gst/base/gstbasetransform.c:
      * gst/gstqueue.c: Adapt for pad activation changes.
      
      * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
      sched.
      (gst_pipeline_dispose): Drop ref on sched.
      
      * gst/gstpad.c (gst_pad_init): Set the default activate func.
      (gst_pad_activate_default): Push mode by default.
      (pre_activate_switch, post_activate_switch): New stubs, things to
      do before and after switching activation modes on pads.
      (gst_pad_set_active): Take a boolean and not a mode, dispatch to
      the pad's activate function to choose which mode to activate.
      Shortcut on deactivation and call the right function directly.
      (gst_pad_activate_pull): New API, (de)activates a pad in pull
      mode.
      (gst_pad_activate_push): New API, same for push mode.
      (gst_pad_set_activate_function)
      (gst_pad_set_activatepull_function)
      (gst_pad_set_activatepush_function): Setters for new API.
      
      * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
      Trace all miniobjects.
      (gst_mini_object_make_writable): Unref the arg if we copy, like
      gst_caps_make_writable.
      
      * gst/gstmessage.c (_gst_message_initialize): No trace init.
      
      * gst/gstghostpad.c (gst_proxy_pad_do_activate)
      (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
      Adapt for new pad API.
      
      * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
      
      * gst/gstelement.h:
      * gst/gstelement.c (gst_element_iterate_src_pads)
      (gst_element_iterate_sink_pads): New API functions.
      
      * gst/gstelement.c (iterator_fold_with_resync): New utility,
      should fold into gstiterator.c in some form.
      (gst_element_pads_activate): Simplified via use of fold and
      delegation of decisions to gstpad->activate.
      
      * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
      help in debugging.
      
      * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
      class once in init, like gstmessage. Didn't run into this issue
      but it seems correct. Don't initialize a trace, gstminiobject does
      that.
      
      * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
      test, runs fakesrc ! fakesink, stopping on ::handoff via a message
      to the bus.
      (assert_live_count): New util function, uses alloc traces to check
      cleanup.
      
      * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
      To be modified when unlink drops the internal pad.
      f2cf753b
    • Thomas Vander Stichele's avatar
      adding basetransform and iterator docs · 0b44c713
      Thomas Vander Stichele authored
      Original commit message from CVS:
      adding basetransform and iterator docs
      0b44c713
  17. 23 Jun, 2005 2 commits
  18. 02 Jun, 2005 1 commit
    • 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
  19. 25 May, 2005 2 commits
    • Ronald S. Bultje's avatar
      gst/base/gstbasesrc.c: Don't go in pull mode for non-seekable sources. · f0ed4168
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_basesrc_activate):
      Don't go in pull mode for non-seekable sources.
      * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
      (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
      (free_entry), (stop_typefinding),
      (gst_type_find_element_handle_event), (find_peek),
      (gst_type_find_element_chain), (do_pull_typefind),
      (gst_type_find_element_change_state):
      Allow typefinding (w/o seeking) in push-mode, simplified version
      of what was in 0.8.
      * gst/gstutils.c: (gst_buffer_join):
      * gst/gstutils.h:
      gst_buffer_join() from 0.8.
      f0ed4168
    • Wim Taymans's avatar
      gst/: Implement gst_pad_pause/start/stop_task(), take STREAM lock in task function. · add280cd
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
      * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
      (gst_basesink_finish_preroll), (gst_basesink_chain),
      (gst_basesink_loop), (gst_basesink_activate),
      (gst_basesink_change_state):
      * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
      (gst_basesrc_get_range), (gst_basesrc_loop),
      (gst_basesrc_activate):
      * gst/elements/gsttee.c: (gst_tee_sink_activate):
      * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
      (gst_real_pad_init), (gst_real_pad_set_property),
      (gst_real_pad_get_property), (gst_pad_set_active),
      (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
      (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
      (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
      (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
      (gst_pad_event_default_dispatch), (gst_pad_event_default),
      (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
      (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
      (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
      (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
      (gst_pad_stop_task):
      * gst/gstpad.h:
      * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
      (gst_queue_loop), (gst_queue_src_activate):
      * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
      (gst_task_get_state):
      * gst/gsttask.h:
      * gst/schedulers/threadscheduler.c:
      (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
      Implement gst_pad_pause/start/stop_task(), take STREAM lock
      in task function.
      Remove ACTIVE pad flag, use FLUSHING everywhere
      Added _pad_chain(), _pad_get_range() to call chain/getrange
      functions.
      Add locks around IS_FLUSHING when reading.
      Take STREAM lock in chain(), get_range() functions so plugins
      don't need to take it anymore.
      add280cd
  20. 17 May, 2005 1 commit
    • Tim-Philipp Müller's avatar
      gst/base/gstbasesrc.c: Remove implicit cast from gboolean to... · 7fa9d7eb
      Tim-Philipp Müller authored
      gst/base/gstbasesrc.c: Remove implicit cast from gboolean to GstElementStateReturn; make sure we still return failure...
      
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
      Remove implicit cast from gboolean to GstElementStateReturn;
      make sure we still return failure in paused => ready case if
      the parent class fails to change state and our own stop
      vfunc succeeds.
      7fa9d7eb
  21. 12 May, 2005 3 commits
    • Wim Taymans's avatar
      gst/: Identify sinks by their flag to avoid overly complicated checks (fow now). · 1c4ea621
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_init),
      (gst_basesink_activate):
      * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
      (gst_basesrc_is_seekable):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (bin_element_is_sink), (gst_bin_change_state):
      * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
      * gst/gstelement.h:
      Identify sinks by their flag to avoid overly complicated
      checks (fow now).
      Do state changes even for elements not reachable from the
      sinks.
      BaseSink is a sink now :)
      Some more debugging info in the basesrc.
      1c4ea621
    • Tim-Philipp Müller's avatar
      gst/base/gstbasesrc.c: Discont event offset format should be GST_FORMAT_BYTES, not GST_FORMAT_TIME. · 7eb36ed1
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
      Discont event offset format should be GST_FORMAT_BYTES,
      not GST_FORMAT_TIME.
      7eb36ed1
    • Wim Taymans's avatar
      gst/base/: Added is_seekable to BaseSrc · 88d66833
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/Makefile.am:
      * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
      (gst_basesrc_start):
      * gst/base/gstbasesrc.h:
      * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
      (gst_pushsrc_base_init), (gst_pushsrc_class_init),
      (gst_pushsrc_init), (gst_pushsrc_create):
      * gst/base/gstpushsrc.h:
      Added is_seekable to BaseSrc
      Added simple PushSrc.
      88d66833
  22. 09 May, 2005 1 commit
    • Wim Taymans's avatar
      Remove old query functions. Ported old code. · 8df6cd72
      Wim Taymans authored
      Original commit message from CVS:
      Remove old query functions. Ported old code.
      Added position/convert helper functions to gstutils.
      Reordered gstpad.c code, grouping relevant things.
      Remove gst_message_new(), always need to speficy a specific
      message.
      8df6cd72
  23. 06 May, 2005 2 commits
    • Andy Wingo Wingo's avatar
      gst/gstquery.h · 8970bda4
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-06  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstquery.h
      * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
      GstData, init a memchunk.
      (standard_definitions): Add a few query types, deprecate a few.
      (gst_query_get_type): New proc.
      (_gst_query_copy, _gst_query_free, gst_query_new): GstData
      implementation.
      (gst_query_new_application, gst_query_get_structure): New public
      procs.
      
      * docs/design/draft-query.txt: Removed LINKS from the query types,
      because all the rest can be dispatched to other pads -- seemed
      ugly to have a query that couldn't be dispatched. internal_links
      is fine as a pad method.
      
      * gst/gstpad.h: Add query2 as a pad method, add the new functions
      in gstpad.c, but maintain binary compatibility for the moment.
      Will fix before 0.9 is out.
      
      * gst/gstqueryutils.c:
      * gst/gstqueryutils.h: New files, implement 3 methods for each
      query type: parse_query, parse_response, and set. Probably need an
      allocator as well.
      
      * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
      
      * gst/elements/gstfilesink.c (gst_filesink_query2):
      * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
      query_types, and formats methods.
      
      * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
      (gst_pad_set_query2_function): New functions.
      (gst_real_pad_init): Set query2_default as the default query2
      function. Basically just dispatches to internally linked pads.
      
      Needs review!
      
      * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
      without using the atomic operations. Only one thread can possibly
      be accessing the data at this point. Changed so as to avoid
      gst_atomic operations.
      8970bda4
    • Wim Taymans's avatar
      Some more documentation. · c11c932f
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-element-sink.txt:
      * docs/design/part-element-source.txt:
      * gst/base/gstbasesink.c: (gst_basesink_class_init),
      (gst_basesink_event), (gst_basesink_activate):
      * gst/base/gstbasesink.h:
      * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
      (gst_basesrc_activate):
      * gst/base/gstbasesrc.h:
      * gst/gstelement.c: (gst_element_pads_activate):
      Some more documentation.
      Fixed scheduling decision in _pads_activate().
      c11c932f
  24. 05 May, 2005 2 commits
    • Andy Wingo Wingo's avatar
      revert cruft · 57183c39
      Andy Wingo Wingo authored
      Original commit message from CVS:
      revert cruft
      57183c39
    • Wim Taymans's avatar
      gst/: Added object to help in making collect pad based elements. · 113250d2
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/Makefile.am:
      * gst/base/gstbasesink.h:
      * gst/base/gstbasesrc.c: (gst_basesrc_init),
      (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
      * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
      (gst_collectpads_class_init), (gst_collectpads_init),
      (gst_collectpads_finalize), (gst_collectpads_new),
      (gst_collectpads_set_function), (gst_collectpads_add_pad),
      (find_pad), (gst_collectpads_remove_pad),
      (gst_collectpads_is_active), (gst_collectpads_collect),
      (gst_collectpads_collect_range), (gst_collectpads_start),
      (gst_collectpads_stop), (gst_collectpads_peek),
      (gst_collectpads_pop), (gst_collectpads_available),
      (gst_collectpads_read), (gst_collectpads_flush),
      (gst_collectpads_chain):
      * gst/base/gstcollectpads.h:
      * gst/elements/Makefile.am:
      * gst/elements/gstelements.c:
      * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
      (gst_fakesink_get_times), (gst_fakesink_event),
      (gst_fakesink_preroll), (gst_fakesink_render):
      * gst/elements/gstfilesink.c: (gst_filesink_class_init),
      (gst_filesink_init), (gst_filesink_set_location),
      (gst_filesink_open_file), (gst_filesink_close_file),
      (gst_filesink_pad_query), (gst_filesink_event),
      (gst_filesink_render), (gst_filesink_change_state):
      * gst/elements/gstfilesink.h:
      Added object to help in making collect pad based elements.
      Ported filesink.
      Make event function in sink baseclass return gboolean.
      113250d2
  25. 04 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      GCC 4 fixen. · b4d7be20
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-04  Andy Wingo <wingo@pobox.com>
      
      * check/Makefile.am:
      * docs/gst/tmpl/gstatomic.sgml:
      * docs/gst/tmpl/gstplugin.sgml:
      * gst/base/gstbasesink.c: (gst_basesink_activate):
      * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
      (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
      (gst_basesrc_query), (gst_basesrc_set_property),
      (gst_basesrc_get_property), (gst_basesrc_check_get_range),
      (gst_basesrc_activate):
      * gst/base/gstbasesrc.h:
      * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
      (gst_base_transform_src_activate):
      * gst/elements/gstelements.c:
      * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
      (gst_fakesrc_set_property), (gst_fakesrc_get_property):
      * gst/elements/gsttee.c: (gst_tee_sink_activate):
      * gst/elements/gsttypefindelement.c: (find_element_get_length),
      (gst_type_find_element_checkgetrange),
      (gst_type_find_element_activate):
      * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
      * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
      (gst_caps_load_thyself):
      * gst/gstelement.c: (gst_element_pads_activate),
      (gst_element_save_thyself), (gst_element_restore_thyself):
      * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
      (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
      * gst/gstpad.h:
      * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
      (gst_xml_parse_file), (gst_xml_parse_memory),
      (gst_xml_get_element), (gst_xml_make_element):
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (_file_index_id_save_xml), (gst_file_index_commit):
      * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
      (read_enum), (load_pad_template), (load_feature), (load_plugin),
      (load_paths):
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
      (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
      * tools/gst-complete.c: (main):
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_element_properties_info):
      * tools/gst-launch.c: (xmllaunch_parse_cmdline):
      * tools/gst-xmlinspect.c: (print_element_properties):
      GCC 4 fixen.
      b4d7be20
  26. 02 May, 2005 1 commit
    • Wim Taymans's avatar
      Added draft for new query API. · 0757f3df
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/draft-push-pull.txt:
      * docs/design/draft-query.txt:
      * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
      (gst_basesrc_start):
      Added draft for new query API.
      Added draft for better selecting scheduling methods.
      Make basesrc ignore length if the subclass does not support
      it.
      0757f3df
  27. 18 Apr, 2005 1 commit
  28. 12 Apr, 2005 1 commit
    • Wim Taymans's avatar
      Added typefind helper. · 499659f6
      Wim Taymans authored
      Original commit message from CVS:
      Added typefind helper.
      Small preroll fix in the base sink.
      Disable typefind code in basesrc.
      Crude port of typefindelement.
      Fakesrc cleanups.
      499659f6
  29. 06 Apr, 2005 1 commit
    • Wim Taymans's avatar
      gst/: More work on the generic source base class, implement seeking, query. · aa00eb87
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/README:
      * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
      (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
      (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
      (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
      (gst_basesrc_check_get_range), (gst_basesrc_loop),
      (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
      (gst_basesrc_stop), (gst_basesrc_activate),
      (gst_basesrc_change_state), (basesrc_find_peek),
      (basesrc_find_suggest), (gst_basesrc_type_find):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
      (gst_filesrc_class_init), (gst_filesrc_init),
      (gst_filesrc_finalize), (gst_filesrc_set_location),
      (gst_filesrc_set_property), (gst_filesrc_get_property),
      (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
      (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
      (gst_filesrc_create_read), (gst_filesrc_create),
      (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
      * gst/elements/gstfilesrc.h:
      * gst/gstelement.c: (gst_element_get_state_func),
      (gst_element_lost_state), (gst_element_pads_activate):
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
      (gst_pad_pull_range):
      * gst/gstpad.h:
      More work on the generic source base class, implement seeking,
      query.
      Make filesrc extend the base source class.
      Added gst_pad_set_checkgetrange_function to GstPad.
      aa00eb87