1. 08 Feb, 2012 1 commit
  2. 19 Jan, 2012 1 commit
  3. 06 Dec, 2011 1 commit
    • Wim Taymans's avatar
      basesrc: add async start option · ebc25e89
      Wim Taymans authored
      Add a method to enable async start behaviour. The subclass can then complete the
      start operation from any other thread by caling gst_base_src_start_complete().
      The base class can wait for the start to complete with
      gst_base_src_start_wait().
      ebc25e89
  4. 28 Sep, 2011 1 commit
  5. 26 Aug, 2011 1 commit
    • Wim Taymans's avatar
      base: rename allocation vmethods · d924c30f
      Wim Taymans authored
      Name the allocation vmethod on srcpad decide_allocation because source pads will
      have to decide what allocation parameters will be used.
      Name the allocation vmethod on sinkpads propose_allocation because they will
      need to configure the allocation query with a proposed values for upstream.
      d924c30f
  6. 04 Aug, 2011 2 commits
  7. 26 Jul, 2011 1 commit
  8. 13 Jun, 2011 1 commit
  9. 10 Jun, 2011 1 commit
    • Wim Taymans's avatar
      basesrc: add fill vmethod to basesrc · c35e0de6
      Wim Taymans authored
      Add a new fill virtual method to basesrc. The purpose of this method is to fill
      a provided buffer with data.
      Add a default implementation of the create method that allocates a buffer and
      calls the fill method on it. This would allow the base class to implement
      bufferpool and allocator negotiation on behalf of the subclasses.
      Fix the blocksize property.
      Make filesrc use the new fill method.
      c35e0de6
  10. 08 Jun, 2011 1 commit
    • Mark Nauwelaerts's avatar
      basesrc: add dynamic size handling · f8168cd7
      Mark Nauwelaerts authored
      This allows subclass to indicate that size reported by src may not be static
      and should as such be updated regularly, rather than only when really
      needed.
      
      Particular examples are filesrc or fdsrc reading from a file that is still
      growing (e.g. being downloaded).
      
      Fixes #652037.
      f8168cd7
  11. 05 Jun, 2011 1 commit
  12. 24 May, 2011 1 commit
  13. 17 May, 2011 1 commit
    • Sebastian Dröge's avatar
      Revert "query: allow _make_writable on query handlers" · 3d2127f8
      Sebastian Dröge authored
      This reverts commit cf4fbc00.
      
      This change did not improve the situation for bindings because
      queries are usually created, then directly passed to a function
      and not stored elsewhere, and the writability problem with
      miniobjects usually happens with buffers or caps instead.
      3d2127f8
  14. 16 May, 2011 1 commit
  15. 10 May, 2011 1 commit
  16. 24 Mar, 2011 1 commit
    • Stefan Kost's avatar
      docs: cleanup and xref fixes · 02eda0e3
      Stefan Kost authored
      Deal with the hints from gtk-doc and fix the xrefs. Apply a work-around for ()
      precedence over @. Move "MT Safe" text to doc body in many places. Trim eol
      whitespaces.
      02eda0e3
  17. 22 Feb, 2011 1 commit
  18. 16 Oct, 2010 1 commit
  19. 05 May, 2010 1 commit
  20. 12 Feb, 2010 1 commit
    • Sebastian Dröge's avatar
      basesrc: Make locking of the segment a bit more strict and update documentation · fae50205
      Sebastian Dröge authored
      Updating the segment values must only be done while holding the
      STREAM_LOCK and OBJECT_LOCK. This means, reading can be done as
      long as one of them is held, not both, which removes some lock-unlock
      blocks from performance critical code paths.
      
      Also document, that gst_base_src_set_format() *must* be called in
      states <= READY and add an assertion for this. Changing the format
      later will completely mess up the segment information.
      fae50205
  21. 21 Nov, 2009 1 commit
  22. 01 Sep, 2009 1 commit
  23. 10 Oct, 2008 1 commit
    • Wim Taymans's avatar
      docs/design/part-negotiation.txt: Small doc update. · b3403511
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-negotiation.txt:
      Small doc update.
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
      (gst_base_sink_init), (gst_base_sink_set_blocksize),
      (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
      (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
      (gst_base_sink_loop), (gst_base_sink_pad_activate),
      (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
      (gst_base_sink_change_state):
      * libs/gst/base/gstbasesink.h:
      Add blocksize property and methods to control the amount of data
      to pull.
      Negotiate first before activating upstream in pull mode so that they can
      negotiate themselves.
      When we operate in pull mode, we only accept the caps that we
      negotiated.
      Make the sink go ASYNC to PAUSED, like all other sinks.
      API: GstBaseSink::gst_base_sink_set_blocksize()
      API: GstBaseSink::gst_base_sink_get_blocksize()
      API: GstBaseSink::blocksize
      * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
      (gst_base_src_set_live), (gst_base_src_is_live),
      (gst_base_src_set_format), (gst_base_src_query_latency),
      (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
      (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
      (gst_base_src_set_property), (gst_base_src_get_property):
      * libs/gst/base/gstbasesrc.h:
      Add typechecking in public API functions.
      Add methods to control the blocksize in subclasses.
      API: GstBaseSrc::gst_base_src_set_blocksize()
      API: GstBaseSrc::gst_base_src_get_blocksize()
      b3403511
  24. 24 Jul, 2008 2 commits
  25. 25 Apr, 2008 1 commit
  26. 24 Mar, 2008 1 commit
    • Mark Nauwelaerts's avatar
      Small documentation fixes. Fixes #523978. · 78509670
      Mark Nauwelaerts authored
      Original commit message from CVS:
      Patch by: Mark Nauwelaerts <manauw at skynet be>
      * gst/gstclock.h:
      * libs/gst/base/gstbasesrc.h:
      * libs/gst/base/gstbasetransform.c:
      * libs/gst/check/gstcheck.c:
      Small documentation fixes. Fixes #523978.
      78509670
  27. 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
  28. 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
  29. 13 Apr, 2007 2 commits
    • Jan Schmidt's avatar
      docs/libs/gstreamer-libs-sections.txt: Remove bogus addition for API I didn't end up keeping. · f1ebb5ca
      Jan Schmidt authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      Remove bogus addition for API I didn't end up keeping.
      * libs/gst/base/gstbasesrc.h:
      Mention Since: 0.10.13 in the documentation.
      Add the API keyword to the previous ChangeLog entry.
      f1ebb5ca
    • 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
  30. 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
  31. 15 Feb, 2007 1 commit
  32. 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
  33. 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
  34. 29 Jul, 2006 1 commit
  35. 08 Apr, 2006 1 commit
    • Stefan Kost's avatar
      Fix broken GObject macros · 7e2286d7
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstindex.h:
      * gst/gstxml.h:
      * libs/gst/base/gstadapter.h:
      * libs/gst/base/gstbasesink.h:
      * libs/gst/base/gstbasesrc.h:
      * libs/gst/base/gstbasetransform.h:
      * libs/gst/base/gstcollectpads.h:
      * libs/gst/base/gstpushsrc.h:
      Fix broken GObject macros
      7e2286d7
  36. 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
  37. 06 Mar, 2006 1 commit
    • Tim-Philipp Müller's avatar
      libs/gst/base/gstbasesrc.*: Add ::check_get_range() vfunc to GstBaseSrc... · b5161fda
      Tim-Philipp Müller authored
      libs/gst/base/gstbasesrc.*: Add ::check_get_range() vfunc to GstBaseSrc (#332611), provide default implementation, an...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_init), (gst_base_src_pad_check_get_range),
      (gst_base_src_default_check_get_range):
      * libs/gst/base/gstbasesrc.h:
      Add ::check_get_range() vfunc to GstBaseSrc (#332611),
      provide default implementation, and rename
      gst_base_src_check_get_range() to
      gst_base_src_pad_check_get_range() for clarity.
      b5161fda