mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
libs: Add deprecation guard
Those functions have been marked as deprecated
This commit is contained in:
parent
1b23c388ad
commit
d69fa0c78e
4 changed files with 12 additions and 1 deletions
|
@ -689,6 +689,7 @@ gst_discoverer_stream_info_get_stream_id (GstDiscovererStreamInfo * info)
|
||||||
return info->stream_id;
|
return info->stream_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
/**
|
/**
|
||||||
* gst_discoverer_stream_info_get_misc:
|
* gst_discoverer_stream_info_get_misc:
|
||||||
* @info: a #GstDiscovererStreamInfo
|
* @info: a #GstDiscovererStreamInfo
|
||||||
|
@ -707,6 +708,7 @@ gst_discoverer_stream_info_get_misc (GstDiscovererStreamInfo * info)
|
||||||
|
|
||||||
return info->misc;
|
return info->misc;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* GstDiscovererContainerInfo */
|
/* GstDiscovererContainerInfo */
|
||||||
|
|
||||||
|
@ -1039,6 +1041,7 @@ DISCOVERER_INFO_ACCESSOR_CODE (seekable, gboolean, FALSE);
|
||||||
|
|
||||||
DISCOVERER_INFO_ACCESSOR_CODE (live, gboolean, FALSE);
|
DISCOVERER_INFO_ACCESSOR_CODE (live, gboolean, FALSE);
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
/**
|
/**
|
||||||
* gst_discoverer_info_get_misc:
|
* gst_discoverer_info_get_misc:
|
||||||
* @info: a #GstDiscovererInfo
|
* @info: a #GstDiscovererInfo
|
||||||
|
@ -1052,6 +1055,7 @@ DISCOVERER_INFO_ACCESSOR_CODE (live, gboolean, FALSE);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DISCOVERER_INFO_ACCESSOR_CODE (misc, const GstStructure *, NULL);
|
DISCOVERER_INFO_ACCESSOR_CODE (misc, const GstStructure *, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_discoverer_info_get_tags:
|
* gst_discoverer_info_get_tags:
|
||||||
|
|
|
@ -78,9 +78,10 @@ const GstToc* gst_discoverer_stream_info_get_toc(GstDiscovererStreamI
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
const gchar* gst_discoverer_stream_info_get_stream_id(GstDiscovererStreamInfo* info);
|
const gchar* gst_discoverer_stream_info_get_stream_id(GstDiscovererStreamInfo* info);
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
const GstStructure* gst_discoverer_stream_info_get_misc(GstDiscovererStreamInfo* info);
|
const GstStructure* gst_discoverer_stream_info_get_misc(GstDiscovererStreamInfo* info);
|
||||||
|
#endif
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
const gchar * gst_discoverer_stream_info_get_stream_type_nick(GstDiscovererStreamInfo* info);
|
const gchar * gst_discoverer_stream_info_get_stream_type_nick(GstDiscovererStreamInfo* info);
|
||||||
|
|
||||||
|
@ -303,8 +304,10 @@ gboolean gst_discoverer_info_get_seekable(const GstDiscovererIn
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
gboolean gst_discoverer_info_get_live(const GstDiscovererInfo* info);
|
gboolean gst_discoverer_info_get_live(const GstDiscovererInfo* info);
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
const GstStructure* gst_discoverer_info_get_misc(const GstDiscovererInfo* info);
|
const GstStructure* gst_discoverer_info_get_misc(const GstDiscovererInfo* info);
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_PBUTILS_API
|
GST_PBUTILS_API
|
||||||
const GstTagList* gst_discoverer_info_get_tags(const GstDiscovererInfo* info);
|
const GstTagList* gst_discoverer_info_get_tags(const GstDiscovererInfo* info);
|
||||||
|
|
|
@ -198,6 +198,7 @@ gst_rtsp_transport_init (GstRTSPTransport * transport)
|
||||||
return GST_RTSP_OK;
|
return GST_RTSP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_transport_get_mime:
|
* gst_rtsp_transport_get_mime:
|
||||||
* @trans: a #GstRTSPTransMode
|
* @trans: a #GstRTSPTransMode
|
||||||
|
@ -227,6 +228,7 @@ gst_rtsp_transport_get_mime (GstRTSPTransMode trans, const gchar ** mime)
|
||||||
|
|
||||||
return GST_RTSP_OK;
|
return GST_RTSP_OK;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_transport_get_media_type:
|
* gst_rtsp_transport_get_media_type:
|
||||||
|
|
|
@ -183,8 +183,10 @@ GstRTSPResult gst_rtsp_transport_parse (const gchar *str, GstRTSPTra
|
||||||
GST_RTSP_API
|
GST_RTSP_API
|
||||||
gchar* gst_rtsp_transport_as_text (GstRTSPTransport *transport);
|
gchar* gst_rtsp_transport_as_text (GstRTSPTransport *transport);
|
||||||
|
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
GST_RTSP_API
|
GST_RTSP_API
|
||||||
GstRTSPResult gst_rtsp_transport_get_mime (GstRTSPTransMode trans, const gchar **mime);
|
GstRTSPResult gst_rtsp_transport_get_mime (GstRTSPTransMode trans, const gchar **mime);
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_RTSP_API
|
GST_RTSP_API
|
||||||
GstRTSPResult gst_rtsp_transport_get_manager (GstRTSPTransMode trans, const gchar **manager, guint option);
|
GstRTSPResult gst_rtsp_transport_get_manager (GstRTSPTransMode trans, const gchar **manager, guint option);
|
||||||
|
|
Loading…
Reference in a new issue