1. 19 Sep, 2007 1 commit
  2. 17 Sep, 2007 1 commit
    • Jan Schmidt's avatar
      Fix minor compilation warnings shown with Forte. · 04757dd2
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_continue_func):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
      * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
      * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
      Fix minor compilation warnings shown with Forte.
      04757dd2
  3. 13 Sep, 2007 2 commits
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Push OOB events downstream when we get them in... · 3336e121
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: Push OOB events downstream when we get them in send_event. This allows the application to...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
      Push OOB events downstream when we get them in send_event. This allows
      the application to insert events in the pipeline.
      Add some more comments.
      3336e121
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Update docs. · 2a94dbb6
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
      (gst_base_src_do_sync), (gst_base_src_change_state):
      Update docs.
      Clean up the timestamping and syncing code for pseudo live sources.
      2a94dbb6
  4. 11 Sep, 2007 1 commit
    • Wim Taymans's avatar
      docs/design/part-live-source.txt: Add docs on how live sources should timestamp. · 3b67d015
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-live-source.txt:
      Add docs on how live sources should timestamp.
      * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
      Add some more debug info.
      For subclasses that are live and like to sync, add aditional startup
      latency to sync time and timestamps so that we timstamp according to the
      design doc.
      3b67d015
  5. 10 Sep, 2007 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.*: Add property to make the basesrc timestamp buffers... · 5d57d96a
      Wim Taymans authored
      libs/gst/base/gstbasesrc.*: Add property to make the basesrc timestamp buffers based on the current running time.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_init), (gst_base_src_set_do_timestamp),
      (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
      (gst_base_src_get_property), (gst_base_src_do_sync):
      * libs/gst/base/gstbasesrc.h:
      Add property to make the basesrc timestamp buffers based on the current
      running time.
      API: GstBaseSrc::do-timestamp
      API: gst_base_src_set_do_timestamp()
      API: gst_base_src_get_do_timestamp()
      5d57d96a
  6. 28 Aug, 2007 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Improve debugging. · 2db0fa57
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
      Improve debugging.
      * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
      (gst_base_src_default_query), (gst_base_src_wait),
      (gst_base_src_do_sync), (gst_base_src_change_state):
      Rearrange some code so that we can add support for measuring the
      startup latency.
      2db0fa57
  7. 15 Jun, 2007 1 commit
    • Wim Taymans's avatar
      Improve debugging. · 3d4e515e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
      (gst_base_src_default_query), (gst_base_src_get_range),
      (gst_base_src_start):
      * tests/check/pipelines/parse-launch.c: (setup_pipeline):
      Improve debugging.
      3d4e515e
  8. 03 May, 2007 1 commit
    • Wim Taymans's avatar
      API: gst_base_src_query_latency(). Added method so that subclasses can easily... · 60f3a9de
      Wim Taymans authored
      API: gst_base_src_query_latency(). Added method so that subclasses can easily get the latency values of the base sour...
      
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
      (gst_base_src_default_query), (gst_base_src_get_range):
      * libs/gst/base/gstbasesrc.h:
      API: gst_base_src_query_latency(). Added method so that subclasses can
      easily get the latency values of the base source class.
      60f3a9de
  9. 13 Apr, 2007 1 commit
    • Jan Schmidt's avatar
      Allow basesrc derived classes to execute seeks in other formats by providing a... · 51caed97
      Jan Schmidt authored
      Allow basesrc derived classes to execute seeks in other formats by providing a prepare_seek_segment vmethod. Sub-clas...
      
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_default_prepare_seek_segment),
      (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
      * libs/gst/base/gstbasesrc.h:
      Allow basesrc derived classes to execute seeks in other formats
      by providing a prepare_seek_segment vmethod. Sub-classes can choose
      to prepare the GstSegment in any format that their perform_seek method
      will be able to understand. The default implementation provides the
      old behaviour of attempting to convert the seek offsets to the
      configured native format.
      51caed97
  10. 25 Mar, 2007 1 commit
  11. 22 Mar, 2007 1 commit
  12. 21 Mar, 2007 1 commit
  13. 19 Mar, 2007 1 commit
    • Jan Schmidt's avatar
      libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an... · c248d1db
      Jan Schmidt authored
      libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an opportunity for sub-classes to correctly cl...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
      (gst_base_sink_change_state):
      * libs/gst/base/gstbasesink.h:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
      (gst_base_src_default_event), (gst_base_src_unlock_stop),
      (gst_base_src_deactivate):
      * libs/gst/base/gstbasesrc.h:
      Add ::unlock_stop to basesrc and basesink. This allows an opportunity
      for sub-classes to correctly clear any state they set trying to
      unlock, such as clearing out unlock commands from a command fd.
      * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
      (gst_fd_sink_render), (gst_fd_sink_unlock),
      (gst_fd_sink_unlock_stop):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
      (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
      (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
      Implement unlock_stop in fdsrc and fdsink.
      Implement seeking in fdsrc when a seekable fd is passed, as in
      gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
      c248d1db
  14. 01 Mar, 2007 1 commit
  15. 15 Feb, 2007 1 commit
  16. 12 Jan, 2007 1 commit
    • Andy Wingo Wingo's avatar
      libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):... · a1737687
      Andy Wingo Wingo authored
      libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate): (gst_base_transform_init, gst_base_transform_sink_activa...
      
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
      (gst_base_transform_init, gst_base_transform_sink_activate_push)
      (gst_base_transform_src_activate_pull):
      Track the activation mode.
      (gst_base_transform_setcaps): In pull mode, when activating the
      src pad, after activating the sink pad, activate the sink pad's
      peer, as discussed in part-negotiation.txt.
      
      * libs/gst/base/gstbasesrc.h:
      * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
      vmethod, as in basesink.
      
      * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
      
      * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
      mode, first proxy the setcaps to the peer pad.
      (gst_base_sink_pad_fixate): Add a fixate function that calls the
      new fixate vmethod.
      (gst_base_sink_default_activate_pull): Rename from
      gst_base_sink_activate_pull.
      (gst_base_sink_negotiate_pull): New function, performs negotiation
      in pull mode before calling ::activate_pull().
      (gst_base_sink_pad_activate_pull): Actually call the activate_pull
      vmethod instead of the default implementation. I have no idea how
      this worked before. Negotiate before calling activate_pull.
      a1737687
  17. 05 Jan, 2007 1 commit
  18. 13 Nov, 2006 1 commit
    • Jonathan Matthew's avatar
      libs/gst/base/gstbasesrc.c: Store new length in segment duration so we don't... · ce2e82da
      Jonathan Matthew authored
      libs/gst/base/gstbasesrc.c: Store new length in segment duration so we don't keep on calling the potentially expensiz...
      
      Original commit message from CVS:
      Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
      * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
      Store new length in segment duration so we don't keep on calling the
      potentially expensize get_size() call. Fixes #370865.
      ce2e82da
  19. 23 Oct, 2006 1 commit
  20. 27 Sep, 2006 1 commit
    • Wim Taymans's avatar
      docs/random/moving-plugins: Make it clear that the "compiled-in descriptions"... · a0e5a4a9
      Wim Taymans authored
      docs/random/moving-plugins: Make it clear that the "compiled-in descriptions" really mean the element details.
      
      Original commit message from CVS:
      * docs/random/moving-plugins:
      Make it clear that the "compiled-in descriptions" really mean
      the element details.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
      (gst_base_sink_wait_preroll):
      Update docs.
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
      (gst_base_src_get_range), (gst_base_src_activate_push):
      * libs/gst/base/gstbasesrc.h:
      Added function to block while waiting for PLAYING, this function
      is used by live sources that block on the clock.
      API: gst_base_src_wait_playing()
      a0e5a4a9
  21. 23 Sep, 2006 1 commit
    • Antoine Tremblay's avatar
      libs/gst/base/gstbasesrc.c: Match _start/_stop calls in the activate... · 3a0f9058
      Antoine Tremblay authored
      libs/gst/base/gstbasesrc.c: Match _start/_stop calls in the activate functions. Remove redundant _stop call from the ...
      
      Original commit message from CVS:
      Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
      * libs/gst/base/gstbasesrc.c:
      (gst_base_src_default_check_get_range), (gst_base_src_start),
      (gst_base_src_activate_push), (gst_base_src_activate_pull),
      (gst_base_src_change_state):
      Match _start/_stop calls in the activate functions. Remove redundant
      _stop call from the state change function. Fixes #356910.
      Turn failure DEBUG into ERROR.
      3a0f9058
  22. 18 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/gstelement.c: Use _DEBUG_OBJECT some more. · 53bf2d57
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_post_message),
      (gst_element_dispose):
      Use _DEBUG_OBJECT some more.
      * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
      Avoid typechecks.
      * tools/gst-launch.c: (main):
      If the toplevel element is not a GstPipeline, it must be put in a
      pipeline so that a bus and clock is selected.
      53bf2d57
  23. 17 Sep, 2006 1 commit
  24. 28 Aug, 2006 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Small comment update. · 4016e6c5
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
      Small comment update.
      * plugins/elements/gstidentity.c: (gst_identity_class_init),
      (gst_identity_transform_ip):
      Drop-probability is broken, mention this in the code with a
      FIXME and also in the property description.
      Make silent also be silent about the drop messages.
      4016e6c5
  25. 14 Aug, 2006 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: If the parent state change function failed, don't... · f85c2fd8
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: If the parent state change function failed, don't assume we can safely stop the source, t...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
      If the parent state change function failed, don't assume we can safely
      stop the source, this will be done when the pads are deactivated.
      f85c2fd8
  26. 14 Jul, 2006 1 commit
  27. 13 Jul, 2006 1 commit
  28. 06 Jul, 2006 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default... · ac216fcf
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: Update docs. blocksize == 0 now means the default blocksize when working in push based mode.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_wait), (gst_base_src_update_length),
      (gst_base_src_get_range), (gst_base_src_default_check_get_range),
      (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
      (gst_base_src_loop), (gst_base_src_start),
      (gst_base_src_activate_pull):
      Update docs.
      blocksize == 0 now means the default blocksize when working in push
      based mode.
      Remove some pointless asserts in _wait function.
      Fix offset/length calculations and EOS handling. We can now pull 0
      bytes as well, which is allowed.
      use _check_get_range() to decide if we can operate in _pull based
      mode.
      Fix refcounting leak when check_get_range function was not
      implemented.
      API GstBaseSrc::blocksize range can be 0 too now (default)
      * tests/check/elements/filesrc.c: (GST_START_TEST),
      (filesrc_suite):
      Added check to test _get_range() behaviour.
      ac216fcf
  29. 22 Jun, 2006 1 commit
    • Wim Taymans's avatar
      gst/gstcaps.c: Fix crasher when passed NULL. Doc clarification. · ccb2e93a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_replace):
      Fix crasher when passed NULL. Doc clarification.
      Optimize for the trivial case.
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Small cleanups.
      * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
      Small documentation cleanup.
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_buffer_alloc):
      Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
      is what we need and it avoids a whole lot of redundant
      refcount operations.
      ccb2e93a
  30. 12 Jun, 2006 1 commit
    • Wim Taymans's avatar
      Add G_UNLIKELY in type registration. · 7e972ee6
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gsterror.c: (gst_g_error_get_type):
      * gst/gstpadtemplate.c: (gst_pad_template_get_type),
      (gst_static_pad_template_get_type):
      * gst/gsttaglist.c: (gst_tag_list_get_type):
      * gst/gsttagsetter.c: (gst_tag_setter_get_type):
      * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
      * gst/gsturi.c: (gst_uri_handler_get_type):
      * gst/gstvalue.c: (gst_date_get_type):
      * gst/gstxml.c: (gst_xml_get_type):
      * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
      (gst_base_sink_preroll_object), (gst_base_sink_get_position):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
      Add G_UNLIKELY in type registration.
      7e972ee6
  31. 30 May, 2006 1 commit
    • Lutz Mueller's avatar
      libs/gst/base/gstbasesrc.c: Publish supported query types. · eb3f062c
      Lutz Mueller authored
      Original commit message from CVS:
      Patch by: Lutz Mueller <lutz at topfrose dot de>
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_get_query_types), (gst_base_src_update_length):
      Publish supported query types.
      Update last_stop field in get_range mode so the position
      query works. Fixes #342321.
      eb3f062c
  32. 11 May, 2006 1 commit
    • Stefan Kost's avatar
      G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core · dc3d1df8
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstclock.c: (gst_clock_class_init):
      * gst/gstindex.c: (gst_index_class_init):
      * gst/gstobject.c: (gst_object_class_init):
      * gst/gstpad.c: (gst_pad_class_init):
      * gst/gstpipeline.c: (gst_pipeline_class_init):
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_class_init):
      * libs/gst/net/gstnetclientclock.c:
      (gst_net_client_clock_class_init):
      * libs/gst/net/gstnettimeprovider.c:
      (gst_net_time_provider_class_init):
      * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
      * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
      * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
      * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
      * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
      * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
      * plugins/elements/gstidentity.c: (gst_identity_class_init):
      * plugins/elements/gsttee.c: (gst_tee_class_init):
      * tests/old/examples/plugins/example.c: (gst_example_class_init):
      * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
      G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
      dc3d1df8
  33. 08 May, 2006 3 commits
  34. 04 May, 2006 1 commit
    • James Andrewartha's avatar
      Make sure gstprivate.h and/or config.h are always included first, otherwise... · 5deab8d3
      James Andrewartha authored
      Make sure gstprivate.h and/or config.h are always included first, otherwise some of our defines (like _FILE_OFFSET_BI...
      
      Original commit message from CVS:
      Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
      * gst/gst.c:
      * gst/gstbus.c:
      * gst/gstclock.c:
      * gst/gstevent.c:
      * gst/gstformat.c:
      * gst/gstmessage.c:
      * gst/gstparse.c:
      * gst/gstquery.c:
      * gst/gstutils.c:
      * gst/parse/Makefile.am:
      * libs/gst/base/gstadapter.c:
      * libs/gst/base/gstbasesrc.c:
      * libs/gst/base/gstpushsrc.c:
      * libs/gst/base/gsttypefindhelper.c:
      * plugins/elements/gstfakesrc.c:
      * plugins/elements/gstidentity.c:
      Make sure gstprivate.h and/or config.h are
      always included first, otherwise some of our
      defines (like _FILE_OFFSET_BITS) might be
      redefined in the system headers. Fixes build
      on opensolaris (#340016).
      5deab8d3
  35. 28 Apr, 2006 1 commit
  36. 08 Apr, 2006 1 commit
    • Stefan Kost's avatar
      Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent) · 77a56957
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_subbuffer_class_init):
      * gst/gstclock.c: (gst_clock_class_init):
      * gst/gstelement.c: (gst_element_class_init):
      * gst/gstindex.c: (gst_index_class_init):
      * gst/gstindexfactory.c: (gst_index_factory_class_init):
      * gst/gstobject.c: (gst_object_class_init),
      (gst_signal_object_class_init):
      * gst/gstpad.c: (gst_pad_class_init):
      * gst/gstpadtemplate.c: (gst_pad_template_class_init):
      * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
      * gst/gstregistry.c: (gst_registry_class_init):
      * gst/gstsystemclock.c: (gst_system_clock_class_init):
      * gst/gsttask.c: (gst_task_class_init):
      * gst/gstxml.c: (gst_xml_class_init):
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_loop):
      * libs/gst/controller/gstcontroller.c:
      (_gst_controller_class_init):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
      * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
      * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
      * tests/old/examples/plugins/example.c: (gst_example_class_init):
      * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
      Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
      77a56957
  37. 04 Apr, 2006 1 commit
    • Jan Schmidt's avatar
      Documentation updates. Make BaseSink and BaseSrc docs contain the class... · fb8ad07b
      Jan Schmidt authored
      Documentation updates. Make BaseSink and BaseSrc docs contain the class structure so that people can actually see the...
      
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * gst/gsttaglist.c:
      * libs/gst/base/gstbasesink.c:
      * libs/gst/base/gstbasesink.h:
      * libs/gst/base/gstbasesrc.c:
      * libs/gst/base/gstbasesrc.h:
      Documentation updates. Make BaseSink and BaseSrc docs contain the
      class structure so that people can actually see the prototypes for
      virtual functions they're supposed to be overriding.
      fb8ad07b