---
title: "init(videoDisplay:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avplayeritemrenderedlegibleoutput/init(videodisplay:)"
---

# init(videoDisplay:)

Creates a rendered legible output object.

## Declaration

```swift
init(videoDisplay videoDisplaySize: CGSize)
```

## Parameters

- `videoDisplaySize`: The size of the video display.

## Discussion

Discussion You can also choose to reset the videoDisplaySize value after initialization or during playback. important: Attempting to set a video display size of zero results in the system throwing an exception.
