diff mbox

[01/20] media.h: add MEDIA_PAD_FL_MUXED flag

Message ID 20170811095703.6170-2-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State New, archived
Headers show

Commit Message

Niklas Söderlund Aug. 11, 2017, 9:56 a.m. UTC
Add flag to indicate that a pad can mux more then one stream. The user
can use the pad operation get_frame_desc to query the pad about how the
pad is muxed.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 include/uapi/linux/media.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index 4865f1e713398b63..49d692e1182b59a1 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -263,6 +263,7 @@  struct media_entity_desc {
 #define MEDIA_PAD_FL_SINK		(1 << 0)
 #define MEDIA_PAD_FL_SOURCE		(1 << 1)
 #define MEDIA_PAD_FL_MUST_CONNECT	(1 << 2)
+#define MEDIA_PAD_FL_MUXED		(1 << 3)
 
 struct media_pad_desc {
 	__u32 entity;		/* entity ID */