Mercurial > mplayer.hg
view TOOLS/c @ 8843:c70444c5b516
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.
Tomasz Farkas <tomasz_farkas@yahoo.co.uk>
author | arpi |
---|---|
date | Wed, 08 Jan 2003 18:36:36 +0000 |
parents | 04c80ace9581 |
children | 94cab66a5d07 |
line wrap: on
line source
gcc bios2dump.c -o bios2dump gcc mem2dump.c -o mem2dump gcc subreader.c -o subreader gcc movinfo.c -o movinfo gcc audio-select.c -o audio-select gcc audio-block.c -o audio-block gcc png2raw.c -o png2raw -lpng gcc -g -DNAME=\"mmx\" -DHAVE_MMX fastmemcpybench.c -o fastmem-mmx gcc -g -DNAME=\"k6\ \" -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k6 gcc -g -DNAME=\"k7\ \" -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k7 gcc -g -DNAME=\"sse\" -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem-sse gcc -g -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX fastmemcpybench.c -o fastmem2-mmx gcc -g -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k6 gcc -g -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k7 gcc -g -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem2-sse