[MPlayer-dev-eng] [PATCH] dvd subtitle and audio selection

Arpi arpi at thot.banki.hu
Sat Aug 2 23:53:47 CEST 2003


> On Sat, Aug 02, 2003 at 11:40:26PM +0200, Arpi wrote:
> > i don't care what do you do wiht this, but this was implemented long before
> > you did (year(s) ago) and turned out to be unworkable for the above reason.
> Okay, no problem.  Thanks for your feedback, you've helped me a lot.
> Is the subtitle switching part wrong?
> --Joey

dunno, probably not.
i don't know the current spu code, but if the reset func you call after
switch clears its state (resolution may change between spu streams) and
flush buffered fragments then it should work.

since spu packets are immediately parsed, you dont even need to flush
demuxer's dp queue.

btw, about audio switch: it's planned for g2 anyway.

A'rpi / Astral & ESP-team

Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu

More information about the MPlayer-dev-eng mailing list