{audio,video}info: Add GST_TYPE_{AUDIO,VIDEO}_INFO macros
This commit is contained in:
parent
95fa0c58a2
commit
b495dfa5e6
@ -84,6 +84,7 @@ struct _GstAudioInfo {
|
|||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define GST_TYPE_AUDIO_INFO (gst_audio_info_get_type ())
|
||||||
GType gst_audio_info_get_type (void);
|
GType gst_audio_info_get_type (void);
|
||||||
|
|
||||||
#define GST_AUDIO_INFO_IS_VALID(i) ((i)->finfo != NULL && (i)->rate > 0 && (i)->channels > 0 && (i)->bpf > 0)
|
#define GST_AUDIO_INFO_IS_VALID(i) ((i)->finfo != NULL && (i)->rate > 0 && (i)->channels > 0 && (i)->bpf > 0)
|
||||||
|
@ -287,6 +287,7 @@ struct _GstVideoInfo {
|
|||||||
} ABI;
|
} ABI;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define GST_TYPE_VIDEO_INFO (gst_video_info_get_type ())
|
||||||
GType gst_video_info_get_type (void);
|
GType gst_video_info_get_type (void);
|
||||||
|
|
||||||
/* general info */
|
/* general info */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user