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:
Tim-Philipp Müller 2014-01-12 16:55:21 +00:00
parent d90ce618e4
commit 099a10f61f
2 changed files with 4 additions and 0 deletions

View file

@ -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",

View file

@ -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",