[MPlayer-dev-eng] [PATCH] Queue VOB subtitle packets to eliminate dropouts

Tomasz Farkas tomasz_farkas at yahoo.co.uk
Mon Dec 30 21:57:56 CET 2002


I have seen problems where DVD subtitles don't display
at the right time and sometimes they don't appear at
all.  The problem stems from the fact that subtitle
command packets are being applied as soon as they are
read and assembled from the input stream.  Sometimes,
a fully assembled subtitle packet arrives at the
spudec_assemble function before the previous subtitle
appears onscreen and thus the viewer only sees the
second subtitle.  So I created a patch that queues
assembled subtitle packets and applies them at the
appropriate time within the heartbeat function.  The
reset function clears the packet queue when seeking
through the video.  I attached the patch to spudec.c
with this message.

- Tomasz

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spudec_c_packet_queueing.patch
Type: application/octet-stream
Size: 14445 bytes
Desc: spudec_c_packet_queueing.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021230/ee5a6c28/attachment.obj>


More information about the MPlayer-dev-eng mailing list