H264 Caption Extraction modification

Patch by RadhaKrishna Ramachandruni

Originally commited by [4ebf2a8], but that contained a fair amount of
garbage, so I did not cherry-pick it.