mirror of
https://github.com/brl/mutter.git
synced 2025-07-28 20:48:03 +00:00
edid: Prepare types for wider exposure
The EDID code is copy from elsewhere, without adapting to conventions regarding e.g. API and types. Clean this up a bit, as EDID information will be kept around longer when possible, to be used e.g. by color management. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2351>
This commit is contained in:
@@ -289,13 +289,13 @@ void
|
||||
meta_output_info_parse_edid (MetaOutputInfo *output_info,
|
||||
GBytes *edid)
|
||||
{
|
||||
MonitorInfo *parsed_edid;
|
||||
MetaEdidInfo *parsed_edid;
|
||||
size_t len;
|
||||
|
||||
if (!edid)
|
||||
goto out;
|
||||
|
||||
parsed_edid = decode_edid (g_bytes_get_data (edid, &len));
|
||||
parsed_edid = meta_edid_info_new_parse (g_bytes_get_data (edid, &len));
|
||||
|
||||
if (parsed_edid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user