[MPlayer-dev-eng] [PATCH] MPEG-TS (PGS) subtitle support
Dâniel Fraga
fragabr at gmail.com
Sun Jul 11 09:05:22 CEST 2010
On Sat, 10 Jul 2010 19:22:08 +0200
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> Hello,
> attached patch finally makes at least PGS subtitles work with the TS demuxer.
> I am assuming that subtitles have not worked at all before, so if that assumption
> is wrong it might break something...
With latest SVN and your patch:
cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -D_REENTRANT -I/usr/X11/include -I/usr/local/include/artsc -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -c -o libmpdemux/demux_ts.o libmpdemux/demux_ts.c
In file included from libmpdemux/demux_ts.c:33:0:
./stream/stream.h:342:12: warning: redundant redeclaration of 'bluray_angle'
./stream/stream.h:334:12: note: previous declaration of 'bluray_angle' was here
./stream/stream.h:343:12: warning: redundant redeclaration of 'bluray_chapter'
./stream/stream.h:335:12: note: previous declaration of 'bluray_chapter' was here
./stream/stream.h:349:14: warning: redundant redeclaration of 'bluray_device'
./stream/stream.h:345:14: note: previous declaration of 'bluray_device' was here
libmpdemux/demux_ts.c: In function 'ts_add_stream':
libmpdemux/demux_ts.c:404:3: error: too few arguments to function 'new_sh_sub_sid'
libmpdemux/stheader.h:139:11: note: declared here
make: *** [libmpdemux/demux_ts.o] Error 1
So I couldn't test yet. Thank you VERY much!
--
Linux 2.6.34: Sheep on Meth
More information about the MPlayer-dev-eng
mailing list