Commit cdfa0778 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey
Browse files

validate-media-descriptor: Don't check segment position field

The position field of GstSegment is meant for private usage within
elements. Don't compare the values of it when doing media-check.

Part-of: <gstreamer/gst-devtools!251>
parent ea3bd582
......@@ -377,7 +377,8 @@ compare_segments (GstValidateMediaDescriptor * ref,
CHECK_SEGMENT_FIELD (start, "%" G_GUINT64_FORMAT);
CHECK_SEGMENT_FIELD (stop, "%" G_GUINT64_FORMAT);
CHECK_SEGMENT_FIELD (time, "%" G_GUINT64_FORMAT);
CHECK_SEGMENT_FIELD (position, "%" G_GUINT64_FORMAT);
/* We do not compare segment position since it's a field for usage only within the element */
/* CHECK_SEGMENT_FIELD (position, "%" G_GUINT64_FORMAT); */
CHECK_SEGMENT_FIELD (duration, "%" G_GUINT64_FORMAT);
return TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment