Pārlūkot izejas kodu

UI/obs-frontend-api: Fix replay buffer save event ABI break

New events must go at the bottom of the list, not at the top, otherwise
ABI will be broken.
jp9000 5 gadi atpakaļ
vecāks
revīzija
a38cd03e06
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      UI/obs-frontend-api/obs-frontend-api.h

+ 1 - 1
UI/obs-frontend-api/obs-frontend-api.h

@@ -37,7 +37,6 @@ enum obs_frontend_event {
 	OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTED,
 	OBS_FRONTEND_EVENT_REPLAY_BUFFER_STARTED,
 	OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPING,
 	OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPING,
 	OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPED,
 	OBS_FRONTEND_EVENT_REPLAY_BUFFER_STOPPED,
-	OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED,
 
 
 	OBS_FRONTEND_EVENT_STUDIO_MODE_ENABLED,
 	OBS_FRONTEND_EVENT_STUDIO_MODE_ENABLED,
 	OBS_FRONTEND_EVENT_STUDIO_MODE_DISABLED,
 	OBS_FRONTEND_EVENT_STUDIO_MODE_DISABLED,
@@ -50,6 +49,7 @@ enum obs_frontend_event {
 	OBS_FRONTEND_EVENT_RECORDING_UNPAUSED,
 	OBS_FRONTEND_EVENT_RECORDING_UNPAUSED,
 
 
 	OBS_FRONTEND_EVENT_TRANSITION_DURATION_CHANGED,
 	OBS_FRONTEND_EVENT_TRANSITION_DURATION_CHANGED,
+	OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED,
 };
 };
 
 
 /* ------------------------------------------------------------------------- */
 /* ------------------------------------------------------------------------- */