linux
linux copied to clipboard
staging: bcm2835_codec: Pass framerate to the component if set late
For video encoding, if the framerate was set after the component was created, then it wasn't set correctly on the port, and an old value was encoded in the bitstream.
Update the port status when the framerate is set.
https://github.com/raspberrypi/rpicam-apps/issues/664
@popcornmix @naushir Any chance of a review or comment?
Naush - it fixes the codec storing the wrong framerate that was raised in https://github.com/raspberrypi/rpicam-apps/issues/664
Apart from the setting of ret
commend, looks good to me.