Commit fcd568dd authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

matroskamux: add support for new color primaries

parent 8b068fb7
......@@ -2608,6 +2608,18 @@ gst_matroska_mux_write_colour (GstMatroskaMux * mux,
case GST_VIDEO_COLOR_PRIMARIES_BT2020:
primaries_id = 9;
break;
case GST_VIDEO_COLOR_PRIMARIES_SMPTEST428:
primaries_id = 10;
break;
case GST_VIDEO_COLOR_PRIMARIES_SMPTERP431:
primaries_id = 11;
break;
case GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432:
primaries_id = 12;
break;
case GST_VIDEO_COLOR_PRIMARIES_EBU3213:
primaries_id = 22;
break;
}
gst_ebml_write_uint (ebml, GST_MATROSKA_ID_VIDEORANGE, range_id);
......
Markdown is supported
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