mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
videotestsrc: add chroma-site to caps
This commit is contained in:
parent
5379fbcd1a
commit
ac9b69a088
1 changed files with 10 additions and 0 deletions
|
@ -689,6 +689,16 @@ paint_get_structure (struct fourcc_list_struct * format)
|
|||
gst_value_list_append_value (&value_list, &value);
|
||||
|
||||
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;
|
||||
case VTS_BAYER:
|
||||
|
|
Loading…
Reference in a new issue