From 430ec0d860738199b81c4aac73a6b057918be144 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 Oct 2022 13:09:20 +0300 Subject: [PATCH] webrtc: Move GST_WEBRTC_ERROR_TYPE_ERROR at the end of the enum to keep ABI compatibility Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h index fe20675..e55684e 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h @@ -486,16 +486,16 @@ GQuark gst_webrtc_error_quark (void); * Since: 1.20 */ /** - * GST_WEBRTC_ERROR_TYPE_ERROR: + * GST_WEBRTC_ERROR_INVALID_MODIFICATION: * - * type-error (maps to JavaScript TypeError) + * invalid-modification (part of WebIDL specification) * * Since: 1.22 */ /** - * GST_WEBRTC_ERROR_INVALID_MODIFICATION: + * GST_WEBRTC_ERROR_TYPE_ERROR: * - * invalid-modification (part of WebIDL specification) + * type-error (maps to JavaScript TypeError) * * Since: 1.22 */ @@ -509,9 +509,9 @@ typedef enum /**/ GST_WEBRTC_ERROR_HARDWARE_ENCODER_NOT_AVAILABLE, GST_WEBRTC_ERROR_ENCODER_ERROR, GST_WEBRTC_ERROR_INVALID_STATE, - GST_WEBRTC_ERROR_TYPE_ERROR, GST_WEBRTC_ERROR_INTERNAL_FAILURE, GST_WEBRTC_ERROR_INVALID_MODIFICATION, + GST_WEBRTC_ERROR_TYPE_ERROR, } GstWebRTCError; #endif /* __GST_WEBRTC_FWD_H__ */ -- 2.7.4