johnboiles / coremediaio-dal-minimal-example

Intended to be the most minimalistic example of a macOS CoreMediaIO DAL plugin.
MIT License
212 stars 31 forks source link

Change resolution dynamically #21

Open jimmyjeng opened 3 years ago

jimmyjeng commented 3 years ago

Hi, thank you for this example.

I want to change resolution dynamically, in stream.mm i already create array for kCMIOStreamPropertyFormatDescriptions and kCMIOStreamPropertyFormatDescription would use the resolution inside the array. When i change the index select by getPropertyDataWithAddress, nothin change.

Is there anything i need to do? thank you.

johnboiles commented 3 years ago

I'm not sure actually! I've never set up dynamic resolutions. If you've investigated this I'd be interested to know what you find.