{audio,video}info: Add GST_TYPE_{AUDIO,VIDEO}_INFO macros
authorSebastian Dröge <sebastian@centricular.com>
Mon, 6 Jul 2015 09:53:15 +0000 (12:53 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 6 Jul 2015 09:53:15 +0000 (12:53 +0300)
gst-libs/gst/audio/audio-info.h
gst-libs/gst/video/video-info.h

index 384ff83..7e271af 100644 (file)
@@ -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)
 
index 18a1d45..102328f 100644 (file)
@@ -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 */