diff --git a/src/misc/coders/settings/Video.js b/src/misc/coders/settings/Video.js
index dacf3f1..7b77963 100644
--- a/src/misc/coders/settings/Video.js
+++ b/src/misc/coders/settings/Video.js
@@ -327,6 +327,43 @@ Format.defaultProps = {
onChange: function (event) {},
};
+function PixFormat(props) {
+ const { i18n } = useLingui();
+ const sizes = [
+ { value: 'yuv420p', label: 'yuv420p' },
+ { value: 'nv12', label: 'nv12' },
+ ];
+
+ if (props.allowAuto === true) {
+ sizes.unshift({ value: 'auto', label: 'auto' });
+ }
+
+ if (props.allowCustom === true) {
+ sizes.push({ value: 'custom', label: i18n._(t`Custom ...`) });
+ }
+
+ return (
+
+ );
+}
+
+PixFormat.defaultProps = {
+ allowAuto: false,
+ allowCustom: false,
+ variant: 'outlined',
+ label: Pixel Format,
+ customLabel: Custom format,
+ onChange: function (event) {},
+};
+
function FpsMode(props) {
return (