We have been adding Subtitle support to our AVPlayer-based video player. We are able to retrieve AVMediaSelectionOption objects of mediaType "sbtl" from the AVMediaSelectionGroup produced by [self.player.currentItem.asset mediaSelectionGroupForMediaCharacteristic:AVMediaCharacteristicLegible] and can select the appropriate AVMediaSelectionOption to display the subtitles on our live stream. This is all working fine.
Where we are having trouble is deselecting the AVMediaSelectionOption on iOS 5.01 and iOS 5.1.
On devices running iOS 6, we can disable the subtitles with [self.player.currentItem selectMediaOption:nil inMediaSelectionGroup:self.subtitleSelectionGroup] and they disappear as expected. But on iOS 5.01 and iOS 5.1 the subtitles stop updating, but the last text that was displayed remains on the video player until the player is closed, the power button is pressed, or the app is moved to the background.
We've tried filtering out forced-only subtitles, thinking that might be the problem, but to no avail. Is this a bug in the OS? Is there something wrong with our streaming video?
Thank you for any assistance and guidance you can provide.