summaryrefslogtreecommitdiffstats
path: root/gst/aacparse/gstbaseparse.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-14 14:08:04 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-14 14:10:03 +0200
commit8e1c21f309fbe68dc4c8e004bbca4b095db3a1b8 (patch)
treeb371569016a8979f52ca5b18db32ec0242200efa /gst/aacparse/gstbaseparse.h
parent493535dd8990d129685f925ef3bd8f92965741b4 (diff)
downloadgst-plugins-bad-8e1c21f309fbe68dc4c8e004bbca4b095db3a1b8.tar.gz
gst-plugins-bad-8e1c21f309fbe68dc4c8e004bbca4b095db3a1b8.tar.bz2
gst-plugins-bad-8e1c21f309fbe68dc4c8e004bbca4b095db3a1b8.zip
aacparse: Add function for the baseparse subclass to push buffers downstream
Also handle the case gracefully where the subclass decides to drop the first buffers and has no caps set yet. It's still required to have valid caps set when the first buffer should be passed downstream.
Diffstat (limited to 'gst/aacparse/gstbaseparse.h')
-rw-r--r--gst/aacparse/gstbaseparse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/aacparse/gstbaseparse.h b/gst/aacparse/gstbaseparse.h
index a2856cc7..9d53f07b 100644
--- a/gst/aacparse/gstbaseparse.h
+++ b/gst/aacparse/gstbaseparse.h
@@ -225,6 +225,9 @@ struct _GstBaseParseClass {
GType gst_base_parse_get_type (void);
+GstFlowReturn gst_base_parse_push_buffer (GstBaseParse *parse,
+ GstBuffer *buffer);
+
void gst_base_parse_set_duration (GstBaseParse *parse,
GstFormat fmt,
gint64 duration);