From f0114db342aed606f5038886b9e7b39111216c66 Mon Sep 17 00:00:00 2001 From: Anton S Date: Thu, 28 Mar 2019 16:38:40 +0200 Subject: [PATCH] change device and video h/w to pointers --- device.go | 4 ++-- video.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device.go b/device.go index 100a532..079c48f 100644 --- a/device.go +++ b/device.go @@ -123,7 +123,7 @@ type Device struct { // integer // Description: // Physical height of the screen in pixels. - H uint64 `json:"h,omitempty"` + H *uint64 `json:"h,omitempty"` // Attribute: // w @@ -131,7 +131,7 @@ type Device struct { // integer // Description: // Physical width of the screen in pixels. - W uint64 `json:"w,omitempty"` + W *uint64 `json:"w,omitempty"` // Attribute: // ppi diff --git a/video.go b/video.go index d7d7d4e..5905574 100644 --- a/video.go +++ b/video.go @@ -66,7 +66,7 @@ type Video struct { // integer; recommended // Description: // Width of the video player in device independent pixels (DIPS). - W uint64 `json:"w,omitempty"` + W *uint64 `json:"w,omitempty"` // Attribute: // h @@ -74,7 +74,7 @@ type Video struct { // integer; recommended // Description: // Height of the video player in device independent pixels (DIPS). - H uint64 `json:"h,omitempty"` + H *uint64 `json:"h,omitempty"` // Attribute: // startdelay