From 9e1abc0797575afec4194ce4a9154b25010e5104 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 22 Jun 2024 20:56:03 +0300 Subject: [PATCH] parsebin: fix compilation problem with Visual C++ 2017 Part-of: --- subprojects/gst-plugins-base/gst/playback/gstparsebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst/playback/gstparsebin.c b/subprojects/gst-plugins-base/gst/playback/gstparsebin.c index 57c539fc78..1274472630 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstparsebin.c +++ b/subprojects/gst-plugins-base/gst/playback/gstparsebin.c @@ -1790,7 +1790,7 @@ connect_pad (GstParseBin * parsebin, GstElement * src, GstParsePad * parsepad, if (segment) segment_format = segment->format; } - if (segment == GST_FORMAT_UNDEFINED) { + if (segment_format == GST_FORMAT_UNDEFINED) { GstQuery *segment_query = gst_query_new_segment (GST_FORMAT_TIME); if (gst_pad_query (pad, segment_query)) { gst_query_parse_segment (segment_query, NULL, &segment_format, NULL,