summaryrefslogtreecommitdiff
path: root/omx/gstomx.h
diff options
context:
space:
mode:
authorjitendra <jvarshney20@gmail.com>2013-05-06 19:03:59 +0530
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-06 16:20:20 +0200
commit715b44ea66be964a216f409bf8a7f11a1a3128b8 (patch)
tree9f5a5ec78a3f09017d69987b55cd3dc3faa02eb5 /omx/gstomx.h
parent2d1138f45cb482fcf0e2aba5ec40bd4c1cdb5853 (diff)
downloadgst-omx-715b44ea66be964a216f409bf8a7f11a1a3128b8.tar.gz
omx: Add pads based on element type
This allows to later add sources and sink that only have a srcpad or sinkpad. https://bugzilla.gnome.org/show_bug.cgi?id=699754
Diffstat (limited to 'omx/gstomx.h')
-rw-r--r--omx/gstomx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/omx/gstomx.h b/omx/gstomx.h
index 3afcbdb..8af81b8 100644
--- a/omx/gstomx.h
+++ b/omx/gstomx.h
@@ -156,6 +156,12 @@ typedef enum {
GST_OMX_MESSAGE_BUFFER_DONE,
} GstOMXMessageType;
+typedef enum {
+ GST_OMX_COMPONENT_TYPE_SINK,
+ GST_OMX_COMPONENT_TYPE_SOURCE,
+ GST_OMX_COMPONENT_TYPE_FILTER
+} GstOmxComponentType;
+
struct _GstOMXMessage {
GstOMXMessageType type;
@@ -272,6 +278,8 @@ struct _GstOMXClassData {
guint32 in_port_index, out_port_index;
guint64 hacks;
+
+ GstOmxComponentType type;
};
GKeyFile * gst_omx_get_configuration (void);