mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
right after boot, if a hardware decoded video is not yet played, asking /dev/amvideocap0 for a frame results in -EAGAIN after a short delay. hyperion is doing AMSTREAM_IOC_GET_VIDEO_DISABLE ioctl on /dev/amvideo to check if video is playing. if initial state is not set, hyperion gets confused, resulting in leds lagging until a hw decoded video is started. this allows hyperion's regular framegrabber and amlgrabber to co-exist nicely