diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-11-17 00:13:14 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-11-17 00:21:37 +0000 |
commit | af3a273c08cb4c20a4175a5bcf2855f8b4a55ccf (patch) | |
tree | c50e5309336278a6b7c51d5a4fa33ad3d2fb777f /gst/gstcompat.h | |
parent | de58036de5dd6e868b4e61f909310ca5c9ae7ee3 (diff) | |
download | gstreamer-af3a273c08cb4c20a4175a5bcf2855f8b4a55ccf.tar.gz |
gstcompat.h: move more deprecated API into the deprecated section
https://bugzilla.gnome.org/show_bug.cgi?id=675598
Diffstat (limited to 'gst/gstcompat.h')
-rw-r--r-- | gst/gstcompat.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gst/gstcompat.h b/gst/gstcompat.h index 4ccfeb0c64..3f4a68297a 100644 --- a/gst/gstcompat.h +++ b/gst/gstcompat.h @@ -34,19 +34,6 @@ G_BEGIN_DECLS -/* added to ease the transition to 0.11 */ -#define gst_element_class_set_details_simple gst_element_class_set_metadata - -#define gst_element_factory_get_longname(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_LONGNAME) -#define gst_element_factory_get_klass(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_KLASS) -#define gst_element_factory_get_description(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_DESCRIPTION) -#define gst_element_factory_get_author(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_AUTHOR) -#define gst_element_factory_get_documentation_uri(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_DOC_URI) -#define gst_element_factory_get_icon_name(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_ICON_NAME) - -#define gst_pad_get_caps_reffed(p) gst_pad_get_caps(p) -#define gst_pad_peer_get_caps_reffed(p) gst_pad_peer_get_caps(p) - #define gst_buffer_new_and_alloc(s) gst_buffer_new_allocate(NULL, s, NULL) #define GST_BUFFER_TIMESTAMP GST_BUFFER_PTS @@ -74,6 +61,19 @@ gst_pad_set_caps (GstPad * pad, GstCaps * caps) #ifndef GST_DISABLE_DEPRECATED +/* added to ease the transition to 0.11 */ +#define gst_element_class_set_details_simple gst_element_class_set_metadata + +#define gst_element_factory_get_longname(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_LONGNAME) +#define gst_element_factory_get_klass(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_KLASS) +#define gst_element_factory_get_description(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_DESCRIPTION) +#define gst_element_factory_get_author(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_AUTHOR) +#define gst_element_factory_get_documentation_uri(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_DOC_URI) +#define gst_element_factory_get_icon_name(f) gst_element_factory_get_metadata(f, GST_ELEMENT_METADATA_ICON_NAME) + +#define gst_pad_get_caps_reffed(p) gst_pad_get_caps(p) +#define gst_pad_peer_get_caps_reffed(p) gst_pad_peer_get_caps(p) + #define gst_adapter_prev_timestamp gst_adapter_prev_pts #define gst_tag_list_free(taglist) gst_tag_list_unref(taglist) |