media-api: Make Vendor a uint32_t
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 23 Jan 2023 23:56:48 +0000 (15:56 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:21:48 +0000 (15:51 +0530)
Using two uint16_t requires the use of a container which makes things a
lot more complicated so this switch to use a single uint32_t.

doc/media-api.txt

index 2652762..281f72c 100755 (executable)
@@ -34,7 +34,7 @@ Methods               void RegisterEndpoint(object endpoint, dict properties)
                                        match the profile specification which
                                        is indicated by the UUID.
 
-                               uint16_t, uint16_t Vendor [Optional]:
+                               uint32_t Vendor [Optional]:
 
                                        Vendor-specific Company ID, Codec ID
                                        tuple that the endpoint implements.
@@ -649,7 +649,7 @@ Properties  string UUID [readonly, optional]:
                        The values should match the profile specification which
                        is indicated by the UUID.
 
-               uint16_t, uint16_t Vendor [readonly, Optional]:
+               uint32_t Vendor [readonly, Optional]:
 
                        Vendor-specific Company ID, Codec ID tuple that the
                        endpoint implements.