1. 19 Feb, 2009 1 commit
    • Wim Taymans's avatar
      Add method to install callbacks on appsink · e5d85515
      Wim Taymans authored
      Based on pacth by Martin Samuelsson <martin dot samuelsson at axis dot com>
      Fixes #571299.
      
      Add gst_app_sink_set_callbacks() to install a set of callbacks. This is a more
      performant alternative to connecting to the signals.
      
      Add a unit test for appsink.
      
      Clean up some of the appsink docs.
      
      API: GstAppSink::gst_app_sink_set_callbacks()
      e5d85515
  2. 06 Jan, 2009 2 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/app/: Make debug categories static. Use _element_class_set_details_simple(). · ada70bb1
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c:
      * gst-libs/gst/app/gstappsink.h:
      * gst-libs/gst/app/gstappsrc.c:
      * gst-libs/gst/app/gstappsrc.h:
      Make debug categories static. Use _element_class_set_details_simple().
      ada70bb1
    • Tim-Philipp Müller's avatar
      gst-libs/gst/app/: Move private data into a private instance struct. Add... · d2b82026
      Tim-Philipp Müller authored
      gst-libs/gst/app/: Move private data into a private instance struct. Add padding to instance and class structures exp...
      
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c: (_GstAppSinkPrivate),
      (gst_app_sink_class_init), (gst_app_sink_init),
      (gst_app_sink_dispose), (gst_app_sink_finalize),
      (gst_app_sink_unlock_start), (gst_app_sink_unlock_stop),
      (gst_app_sink_flush_unlocked), (gst_app_sink_start),
      (gst_app_sink_stop), (gst_app_sink_event), (gst_app_sink_preroll),
      (gst_app_sink_render), (gst_app_sink_getcaps),
      (gst_app_sink_set_caps), (gst_app_sink_get_caps),
      (gst_app_sink_is_eos), (gst_app_sink_set_emit_signals),
      (gst_app_sink_get_emit_signals), (gst_app_sink_set_max_buffers),
      (gst_app_sink_get_max_buffers), (gst_app_sink_set_drop),
      (gst_app_sink_get_drop), (gst_app_sink_pull_preroll),
      (gst_app_sink_pull_buffer)::
      * gst-libs/gst/app/gstappsink.h: (GstAppSinkPrivate), (_GstAppSink)::
      * gst-libs/gst/app/gstappsrc.c: (_GstAppSrcPrivate),
      (gst_app_src_class_init), (gst_app_src_init),
      (gst_app_src_flush_queued), (gst_app_src_dispose),
      (gst_app_src_finalize), (gst_app_src_set_property),
      (gst_app_src_get_property), (gst_app_src_unlock),
      (gst_app_src_unlock_stop), (gst_app_src_start), (gst_app_src_stop),
      (gst_app_src_is_seekable), (gst_app_src_check_get_range),
      (gst_app_src_query), (gst_app_src_do_seek), (gst_app_src_create),
      (gst_app_src_set_caps), (gst_app_src_get_caps),
      (gst_app_src_set_size), (gst_app_src_get_size),
      (gst_app_src_set_stream_type), (gst_app_src_get_stream_type),
      (gst_app_src_set_max_bytes), (gst_app_src_get_max_bytes),
      (gst_app_src_set_latencies), (gst_app_src_set_latency),
      (gst_app_src_get_latency), (gst_app_src_push_buffer_full),
      (gst_app_src_push_buffer_action), (gst_app_src_end_of_stream)::
      * gst-libs/gst/app/gstappsrc.h: (GstAppSrcPrivate)::
      Move private data into a private instance struct. Add padding to
      instance and class structures exposed in public headers. Add
      Since markers to the gtk-doc blurbs (#566750).
      d2b82026
  3. 05 May, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsink.*: Start some docs. · 1275eda1
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init),
      (gst_app_sink_init), (gst_app_sink_set_property),
      (gst_app_sink_get_property), (gst_app_sink_unlock_start),
      (gst_app_sink_unlock_stop), (gst_app_sink_flush_unlocked),
      (gst_app_sink_start), (gst_app_sink_stop), (gst_app_sink_event),
      (gst_app_sink_preroll), (gst_app_sink_render),
      (gst_app_sink_set_caps), (gst_app_sink_set_drop),
      (gst_app_sink_get_drop):
      * gst-libs/gst/app/gstappsink.h:
      Start some docs.
      Add property to drop buffers when the queue is filled
      Fix unlocking and flushing when the queues are filled.
      1275eda1
  4. 25 Apr, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsink.*: Add more docs. · 0c5d01b5
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init),
      (gst_app_sink_init), (gst_app_sink_set_property),
      (gst_app_sink_get_property), (gst_app_sink_event),
      (gst_app_sink_preroll), (gst_app_sink_render),
      (gst_app_sink_set_emit_signals), (gst_app_sink_get_emit_signals),
      (gst_app_sink_set_max_buffers), (gst_app_sink_get_max_buffers),
      (gst_app_sink_pull_buffer):
      * gst-libs/gst/app/gstappsink.h:
      Add more docs.
      Add signals for when preroll and render buffers are available.
      Add property to control signal emission.
      Add property to control the max queue size.
      0c5d01b5
  5. 20 Sep, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access... · 0bba976b
      Wim Taymans authored
      gst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the element even without linking to the ...
      
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c: (gst_app_marshal_OBJECT__VOID),
      (gst_app_sink_class_init), (gst_app_sink_init),
      (gst_app_sink_dispose), (gst_app_sink_finalize),
      (gst_app_sink_set_property), (gst_app_sink_get_property),
      (gst_app_sink_flush_unlocked), (gst_app_sink_start),
      (gst_app_sink_event), (gst_app_sink_getcaps),
      (gst_app_sink_set_caps), (gst_app_sink_get_caps),
      (gst_app_sink_is_eos), (gst_app_sink_pull_preroll),
      (gst_app_sink_pull_buffer):
      * gst-libs/gst/app/gstappsink.h:
      Add properties, signals and actions to access the element even without
      linking to the library.
      Fix some method names and signatures.
      0bba976b
  6. 14 Aug, 2007 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsink.*: Make love to appsink. · dd72f88a
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsink.c: (gst_app_sink_base_init),
      (gst_app_sink_class_init), (gst_app_sink_dispose),
      (gst_app_sink_flush_unlocked), (gst_app_sink_start),
      (gst_app_sink_stop), (gst_app_sink_event), (gst_app_sink_preroll),
      (gst_app_sink_render), (gst_app_sink_get_caps),
      (gst_app_sink_set_caps), (gst_app_sink_end_of_stream),
      (gst_app_sink_pull_preroll), (gst_app_sink_pull_buffer):
      * gst-libs/gst/app/gstappsink.h:
      Make love to appsink.
      Make it support pulling of the preroll buffer.
      Add docs and debug statements.
      Fix some races wrt to EOS handling and stopping.
      Implement getcaps.
      Implement FLUSHING.
      API: gst_app_sink_pull_preroll()
      dd72f88a
  7. 11 Mar, 2007 1 commit
    • David Schleef's avatar
      Add appsrc/appsink example. · 6cf863e3
      David Schleef authored
      Original commit message from CVS:
      * configure.ac:
      * examples/Makefile.am:
      * examples/app/Makefile.am:
      * examples/app/appsrc_ex.c:
      Add appsrc/appsink example.
      * gst-libs/gst/app/Makefile.am:
      * gst-libs/gst/app/gstapp.c:
      * gst-libs/gst/app/gstappsink.c:
      * gst-libs/gst/app/gstappsink.h:
      * gst/app/gstapp.c:
      Add appsink.
      6cf863e3