From b495dfa5e6249f231ffbc4b0fa3e6778081ecc83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 6 Jul 2015 12:53:15 +0300 Subject: [PATCH] {audio,video}info: Add GST_TYPE_{AUDIO,VIDEO}_INFO macros --- gst-libs/gst/audio/audio-info.h | 3 ++- gst-libs/gst/video/video-info.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/audio-info.h b/gst-libs/gst/audio/audio-info.h index 384ff83014..7e271afc13 100644 --- a/gst-libs/gst/audio/audio-info.h +++ b/gst-libs/gst/audio/audio-info.h @@ -84,7 +84,8 @@ struct _GstAudioInfo { gpointer _gst_reserved[GST_PADDING]; }; -GType gst_audio_info_get_type (void); +#define GST_TYPE_AUDIO_INFO (gst_audio_info_get_type ()) +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) diff --git a/gst-libs/gst/video/video-info.h b/gst-libs/gst/video/video-info.h index 18a1d45d8e..102328f45f 100644 --- a/gst-libs/gst/video/video-info.h +++ b/gst-libs/gst/video/video-info.h @@ -287,6 +287,7 @@ struct _GstVideoInfo { } ABI; }; +#define GST_TYPE_VIDEO_INFO (gst_video_info_get_type ()) GType gst_video_info_get_type (void); /* general info */