return info->stream_id;
}
-#ifndef GST_DISABLE_DEPRECATED
+#ifndef GST_REMOVE_DEPRECATED
/**
* gst_discoverer_stream_info_get_misc:
* @info: a #GstDiscovererStreamInfo
DISCOVERER_INFO_ACCESSOR_CODE (live, gboolean, FALSE);
-#ifndef GST_DISABLE_DEPRECATED
+#ifndef GST_REMOVE_DEPRECATED
/**
* gst_discoverer_info_get_misc:
* @info: a #GstDiscovererInfo
GST_PBUTILS_API
const gchar* gst_discoverer_stream_info_get_stream_id(GstDiscovererStreamInfo* info);
-#ifndef GST_DISABLE_DEPRECATED
-GST_PBUTILS_API
+GST_PBUTILS_DEPRECATED_FOR(gst_discoverer_info_get_missing_elements_installer_details)
const GstStructure* gst_discoverer_stream_info_get_misc(GstDiscovererStreamInfo* info);
-#endif
+
GST_PBUTILS_API
const gchar * gst_discoverer_stream_info_get_stream_type_nick(GstDiscovererStreamInfo* info);
GST_PBUTILS_API
gboolean gst_discoverer_info_get_live(const GstDiscovererInfo* info);
-#ifndef GST_DISABLE_DEPRECATED
-GST_PBUTILS_API
+GST_PBUTILS_DEPRECATED_FOR(gst_discoverer_info_get_missing_elements_installer_details)
const GstStructure* gst_discoverer_info_get_misc(const GstDiscovererInfo* info);
-#endif
GST_PBUTILS_API
const GstTagList* gst_discoverer_info_get_tags(const GstDiscovererInfo* info);
#define GST_PBUTILS_API GST_EXPORT
#endif
+#ifndef GST_DISABLE_DEPRECATED
+#define GST_PBUTILS_DEPRECATED GST_PBUTILS_API
+#define GST_PBUTILS_DEPRECATED_FOR(f) GST_PBUTILS_API
+#else
+#define GST_PBUTILS_DEPRECATED G_DEPRECATED GST_PBUTILS_API
+#define GST_PBUTILS_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_PBUTILS_API
+#endif
+
#endif /* __GST_PBUTILS_PRELUDE_H__ */
return GST_RTSP_OK;
}
-#ifndef GST_DISABLE_DEPRECATED
+#ifndef GST_REMOVE_DEPRECATED
/**
* gst_rtsp_transport_get_mime:
* @trans: a #GstRTSPTransMode
GST_RTSP_API
gchar* gst_rtsp_transport_as_text (GstRTSPTransport *transport);
-#ifndef GST_DISABLE_DEPRECATED
-GST_RTSP_API
+GST_RTSP_DEPRECATED_FOR(gst_rtsp_transport_get_media_type)
GstRTSPResult gst_rtsp_transport_get_mime (GstRTSPTransMode trans, const gchar **mime);
-#endif
GST_RTSP_API
GstRTSPResult gst_rtsp_transport_get_manager (GstRTSPTransMode trans, const gchar **manager, guint option);
#define GST_RTSP_API GST_EXPORT
#endif
+#ifndef GST_DISABLE_DEPRECATED
+#define GST_RTSP_DEPRECATED GST_RTSP_API
+#define GST_RTSP_DEPRECATED_FOR(f) GST_RTSP_API
+#else
+#define GST_RTSP_DEPRECATED G_DEPRECATED GST_RTSP_API
+#define GST_RTSP_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_RTSP_API
+#endif
+
#endif /* __GST_RTSP_PRELUDE_H__ */