summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/app/gstappsrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-06-06 16:50:51 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-06-06 16:50:51 +0000
commit1ec82dec7203d670fa7bd7de48cafc52228a4e9d (patch)
tree33b322e5a5e0653a4c11d24a01a273df68199bfb /gst-libs/gst/app/gstappsrc.h
parent23692b06a08510828905576f15c86ab7925e516a (diff)
downloadgst-plugins-bad-1ec82dec7203d670fa7bd7de48cafc52228a4e9d.tar.gz
gst-plugins-bad-1ec82dec7203d670fa7bd7de48cafc52228a4e9d.tar.bz2
gst-plugins-bad-1ec82dec7203d670fa7bd7de48cafc52228a4e9d.zip
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.
Diffstat (limited to 'gst-libs/gst/app/gstappsrc.h')
-rw-r--r--gst-libs/gst/app/gstappsrc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/app/gstappsrc.h b/gst-libs/gst/app/gstappsrc.h
index 1ce73b4c..f8173dc9 100644
--- a/gst-libs/gst/app/gstappsrc.h
+++ b/gst-libs/gst/app/gstappsrc.h
@@ -76,6 +76,7 @@ struct _GstAppSrc
gboolean started;
gboolean is_eos;
guint64 queued_bytes;
+ guint64 offset;
GstAppStreamType current_type;
};