webrtc: Fix transceiver current-direction property

Fix a typo registering the `current-direction` property
that made it just be a proxy for `direction` instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7237>
This commit is contained in:
Jan Schmidt 2024-07-25 21:25:58 +10:00 committed by GStreamer Marge Bot
parent 09d870a39c
commit cafb999fb0

View file

@ -263,7 +263,7 @@ gst_webrtc_rtp_transceiver_class_init (GstWebRTCRTPTransceiverClass * klass)
* Since: 1.20 * Since: 1.20
**/ **/
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DIRECTION, PROP_CURRENT_DIRECTION,
g_param_spec_enum ("current-direction", "Current Direction", g_param_spec_enum ("current-direction", "Current Direction",
"Transceiver current direction", "Transceiver current direction",
GST_TYPE_WEBRTC_RTP_TRANSCEIVER_DIRECTION, GST_TYPE_WEBRTC_RTP_TRANSCEIVER_DIRECTION,