I am writing a viewer and I understand ffplay code. I am trying now to add subtitles. The ffplay code is messy and works in yuv. I want to get the subtitles in rgb, but I am unaware how the thing is stored in AVSubtitleRect. Can someone help me out?