Commit ac9b69a0 authored by David Schleef's avatar David Schleef
Browse files

videotestsrc: add chroma-site to caps

parent 5379fbcd
...@@ -689,6 +689,16 @@ paint_get_structure (struct fourcc_list_struct * format) ...@@ -689,6 +689,16 @@ paint_get_structure (struct fourcc_list_struct * format)
gst_value_list_append_value (&value_list, &value); gst_value_list_append_value (&value_list, &value);
gst_structure_set_value (structure, "color-matrix", &value_list); gst_structure_set_value (structure, "color-matrix", &value_list);
g_value_reset (&value_list);
g_value_set_string (&value, "mpeg2");
gst_value_list_append_value (&value_list, &value);
g_value_set_string (&value, "jpeg");
gst_value_list_append_value (&value_list, &value);
gst_structure_set_value (structure, "chroma-site", &value_list);
g_value_unset (&value_list);
} }
break; break;
case VTS_BAYER: case VTS_BAYER:
......
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