videotestsrc: add chroma-site to caps

This commit is contained in:
David Schleef 2010-03-15 01:33:36 -07:00
parent 5379fbcd1a
commit ac9b69a088

View file

@ -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: