I'm trying to add subtitles to an existing movie and everything seems to work as expected except for the background of the subtitles track that should be transparent.
MediaHandler media = GetMediaHandler([[subtitlesTrack media] quickTimeMedia]);
MediaSetGraphicsMode(media, graphicsModeStraightAlpha, NULL);
I have already tried the above code found here but I was not able to use the GetMediaHandler and MediaSetGraphicsMode functions. Maybe I'm missing some includes.
I would prefer doing it using only the QTKit framework if possible.