webrtc: Move GST_WEBRTC_ERROR_TYPE_ERROR at the end of the enum to keep ABI compatibility

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3154>
This commit is contained in:
Sebastian Dröge 2022-10-11 13:09:20 +03:00 committed by GStreamer Marge Bot
parent 0f4cf19fb9
commit 430ec0d860

View file

@ -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 /*<underscore_name=gst_webrtc_error>*/
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__ */