mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 15:04:46 +00:00
rtsp-server: support build against last stable release
Until 1.2.3 is out with the new get_type function and we can require that.
This commit is contained in:
parent
d90ce618e4
commit
099a10f61f
2 changed files with 4 additions and 0 deletions
gst/rtsp-server
|
@ -240,10 +240,12 @@ gst_rtsp_media_class_init (GstRTSPMediaClass * klass)
|
|||
"If this media pipeline can be reused after an unprepare",
|
||||
DEFAULT_REUSABLE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
#ifdef GST_TYPE_RTSP_PROFILE
|
||||
g_object_class_install_property (gobject_class, PROP_PROFILES,
|
||||
g_param_spec_flags ("profiles", "Profiles",
|
||||
"Allowed transfer profiles", GST_TYPE_RTSP_PROFILE,
|
||||
DEFAULT_PROFILES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
#endif
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_PROTOCOLS,
|
||||
g_param_spec_flags ("protocols", "Protocols",
|
||||
|
|
|
@ -173,10 +173,12 @@ gst_rtsp_stream_class_init (GstRTSPStreamClass * klass)
|
|||
"The control string for this stream", DEFAULT_CONTROL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
#ifdef GST_TYPE_RTSP_PROFILE
|
||||
g_object_class_install_property (gobject_class, PROP_PROFILES,
|
||||
g_param_spec_flags ("profiles", "Profiles",
|
||||
"Allowed transfer profiles", GST_TYPE_RTSP_PROFILE,
|
||||
DEFAULT_PROFILES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
#endif
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_PROTOCOLS,
|
||||
g_param_spec_flags ("protocols", "Protocols",
|
||||
|
|
Loading…
Reference in a new issue