mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
parsebin: fix compilation problem with Visual C++ 2017
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7089>
This commit is contained in:
parent
03a60c9950
commit
9e1abc0797
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue