1. 11 Nov, 2011 1 commit
  2. 18 Jan, 2011 1 commit
  3. 16 Apr, 2009 1 commit
    • Wim Taymans's avatar
      app: add trivial cast macros · f83f57b6
      Wim Taymans authored
      Add trivial cast macros for appsrc and appsink. Mark them as being since 0.10.23
      and add the macros to the standard macros in the docs.
      
      Fixes #579130
      f83f57b6
  4. 26 Feb, 2009 1 commit
    • Wim Taymans's avatar
      app: add callbacks to appsrc, cleanups · c4036dd7
      Wim Taymans authored
      Add a uri handler to appsink.
      don't emit signals when we have installed callbacks on appsink.
      
      Add callbacks to appsrc to replace the signals.
      Add property to disable callbacks in appsrc, default to TRUE for backwards
      compatibility but disable when callbacks are installed.
      
      API: GstAppSrc::emit-signals
      API: GstAppSrc::gst_app_src_set_emit_signals()
      API: GstAppSrc::gst_app_src_get_emit_signals()
      API: GstAppSrc::gst_app_src_set_callbacks()
      c4036dd7
  5. 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
  6. 29 Dec, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and... · 0ab6c0fb
      Wim Taymans authored
      gst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve the min and max latencies.
      
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
      (gst_app_src_init), (gst_app_src_set_property),
      (gst_app_src_get_property), (gst_app_src_query),
      (gst_app_src_set_latencies), (gst_app_src_set_latency),
      (gst_app_src_get_latency), (gst_app_src_push_buffer_full):
      * gst-libs/gst/app/gstappsrc.h:
      Add properties and methods to configure and retrieve the min and max
      latencies.
      0ab6c0fb
  7. 07 Nov, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsrc.*: Add is-live property. · 67b54151
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
      (gst_app_src_init), (gst_app_src_set_property),
      (gst_app_src_get_property), (gst_app_src_push_buffer):
      * gst-libs/gst/app/gstappsrc.h:
      Add is-live property.
      Add some more docs.
      67b54151
  8. 12 Jun, 2008 1 commit
    • Wim Taymans's avatar
      examples/app/: Add beefed up example app from bug #413418. It now also uses... · c30d4797
      Wim Taymans authored
      examples/app/: Add beefed up example app from bug #413418. It now also uses appsink instead of fakesink for more ulti...
      
      Original commit message from CVS:
      * examples/app/.cvsignore:
      * examples/app/Makefile.am:
      * examples/app/appsink-src.c: (on_new_buffer_from_source),
      (on_source_message), (on_sink_message), (main):
      Add beefed up example app from bug #413418. It now also uses appsink
      instead of fakesink for more ultimate coolness.
      * gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
      (gst_app_src_init), (gst_app_src_set_property),
      (gst_app_src_get_property), (gst_app_src_unlock),
      (gst_app_src_unlock_stop), (gst_app_src_create),
      (gst_app_src_set_max_bytes), (gst_app_src_push_buffer),
      (gst_app_src_end_of_stream):
      * gst-libs/gst/app/gstappsrc.h:
      Add block property to allow push based implementation to block when we
      fill up the appsrc queues.
      Emit the enough-data signal while releasing our lock.
      c30d4797
  9. 06 Jun, 2008 1 commit
    • Wim Taymans's avatar
      examples/app/: Added 3 more example application for using appsrc in... · 593d4b1a
      Wim Taymans authored
      examples/app/: Added 3 more example application for using appsrc in random-access mode, pull-mode streaming and pull ...
      
      Original commit message from CVS:
      * examples/app/Makefile.am:
      * examples/app/appsrc-ra.c: (feed_data), (seek_data),
      (found_source), (bus_message), (main):
      * examples/app/appsrc-seekable.c: (feed_data), (seek_data),
      (found_source), (bus_message), (main):
      * examples/app/appsrc-stream2.c: (feed_data), (found_source),
      (bus_message), (main):
      Added 3 more example application for using appsrc in random-access mode,
      pull-mode streaming and pull mode seekable.
      * gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
      (gst_app_src_start), (gst_app_src_do_get_size),
      (gst_app_src_create):
      * gst-libs/gst/app/gstappsrc.h:
      Make stream-type property writable.
      Unset flushing when starting so that we reuse appsrc.
      Inform basesrc about the configured size.
      Emit seek-data signal when we are going to a different offset in
      random-access mode.
      593d4b1a
  10. 05 Jun, 2008 1 commit
    • Wim Taymans's avatar
      examples/app/: Added an example on how to use appsrc in playbin in streaming... · 20d64607
      Wim Taymans authored
      examples/app/: Added an example on how to use appsrc in playbin in streaming mode from an mmapped file.
      
      Original commit message from CVS:
      * examples/app/.cvsignore:
      * examples/app/Makefile.am:
      * examples/app/appsrc-stream.c: (read_data), (start_feed),
      (stop_feed), (found_source), (bus_message), (main):
      Added an example on how to use appsrc in playbin in streaming mode from
      an mmapped file.
      * examples/app/appsrc_ex.c: (main):
      Set pipeline to NULL to free queued buffers.
      * gst-libs/gst/app/gstapp-marshal.list:
      * gst-libs/gst/app/gstappsrc.c: (stream_type_get_type), (_do_init),
      (gst_app_src_class_init), (gst_app_src_init),
      (gst_app_src_flush_queued), (gst_app_src_dispose),
      (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_do_seek),
      (gst_app_src_create), (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_push_buffer),
      (gst_app_src_end_of_stream), (gst_app_src_uri_get_type),
      (gst_app_src_uri_get_protocols), (gst_app_src_uri_get_uri),
      (gst_app_src_uri_set_uri), (gst_app_src_uri_handler_init):
      * gst-libs/gst/app/gstappsrc.h:
      Measure max queue size in bytes instead.
      Add support for 3 modes of operation, streaming, seekable and
      random-access, making basesrc handle the scheduling modes for each.
      Add appsrc:// uri handler so that automatic plugging can be done from
      playbin2 or uridecodebin, for example.
      Added support for custom segment formats.
      Add support for push and pull based operations from the application.
      Expand the methods so that errors can be detected.
      Flush the queued buffers on seeks and when shutting down.
      Add signals to inform the app that a seek must happen.
      20d64607
  11. 07 May, 2008 1 commit
    • Wim Taymans's avatar
      gst-libs/gst/app/: Add marshal.list, make it compile and add to cvsignore. · 8c3b00be
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/app/.cvsignore:
      * gst-libs/gst/app/Makefile.am:
      * gst-libs/gst/app/gstapp-marshal.list:
      Add marshal.list, make it compile and add to cvsignore.
      * gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose),
      (gst_app_sink_stop):
      Small cleanups.
      * gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
      (gst_app_src_init), (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_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_seekable),
      (gst_app_src_get_seekable), (gst_app_src_set_max_buffers),
      (gst_app_src_get_max_buffers), (gst_app_src_push_buffer),
      (gst_app_src_end_of_stream):
      * gst-libs/gst/app/gstappsrc.h:
      Beat appsrc in shape, add signals and actions.
      Add some docs.
      Add properties for caps, size, seekability and max-buffers.
      Fix unlock/stop code.
      8c3b00be
  12. 03 Mar, 2007 2 commits
    • David Schleef's avatar
      gst-libs/gst/app/gstappsrc.*: Hacking to address issues in 413418. · e8afc8b2
      David Schleef authored
      Original commit message from CVS:
      * gst-libs/gst/app/gstappsrc.c:
      * gst-libs/gst/app/gstappsrc.h:
      Hacking to address issues in 413418.
      e8afc8b2
    • David Schleef's avatar
      Move the app library to gst-libs/gst/app (duh!) · 2164be52
      David Schleef authored
      Original commit message from CVS:
      * Makefile.am:
      * configure.ac:
      * ext/Makefile.am:
      * gst-libs/gst/Makefile.am:
      * gst-libs/gst/app/Makefile.am:
      * gst-libs/gst/app/gstapp.c:
      * gst-libs/gst/app/gstappsrc.c:
      * gst-libs/gst/app/gstappsrc.h:
      * gst/app/Makefile.am:
      * gst/app/gstapp.c:
      * gst/app/gstappsrc.c:
      * gst/app/gstappsrc.h:
      Move the app library to gst-libs/gst/app (duh!)
      2164be52
  13. 26 Feb, 2007 1 commit