From 0857f5af5f6c276fa8b4e4345e6a7d1fcb0140d2 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 20 Jul 2022 10:57:41 +0200 Subject: [PATCH] adaptivedemux2: Modify custom sync loss flow return Make it a custom sucess and not an error Part-of: --- .../gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h index c0b6a1b762..3a5b5f640b 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h @@ -106,7 +106,7 @@ typedef GstObjectClass GstAdaptiveDemux2StreamClass; #define GST_ADAPTIVE_DEMUX_FLOW_RESTART_FRAGMENT GST_FLOW_CUSTOM_SUCCESS_2 /* The live stream has lost synchronization and the demuxer needs to be resetted */ -#define GST_ADAPTIVE_DEMUX_FLOW_LOST_SYNC GST_FLOW_CUSTOM_ERROR_1 +#define GST_ADAPTIVE_DEMUX_FLOW_LOST_SYNC GST_FLOW_CUSTOM_SUCCESS_2 + 1 typedef enum _GstAdaptiveDemux2StreamState GstAdaptiveDemux2StreamState;