17 lines
839 B
Diff
17 lines
839 B
Diff
diff --git a/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp b/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
|
|
index 8c690511e564..1a55a8c75f9d 100644
|
|
--- a/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
|
|
+++ b/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
|
|
@@ -856,9 +856,11 @@ void fillVideoInfoColorimetryFromColorSpace(GstVideoInfo* info, const PlatformVi
|
|
case PlatformVideoTransferCharacteristics::Bt709:
|
|
GST_VIDEO_INFO_COLORIMETRY(info).transfer = GST_VIDEO_TRANSFER_BT709;
|
|
break;
|
|
+#if GST_CHECK_VERSION(1, 18, 0)
|
|
case PlatformVideoTransferCharacteristics::Smpte170m:
|
|
GST_VIDEO_INFO_COLORIMETRY(info).transfer = GST_VIDEO_TRANSFER_BT601;
|
|
break;
|
|
+#endif
|
|
default:
|
|
break;
|
|
}
|