diff libmpcodecs/img_format.c @ 25129:c04b64054255

Support select subtitle by source, add 4 properties: 1. sub_source for current sub source (sub file, vobsub, or from demuxer). 2. sub_file for all subtitles from files. 3. sub_vobsub for all subtitles from vobsub. 4. sub_demux for all subtitles from demuxer. Now mplayer can supply a stable and clear interface to external programs using mplayer in slave mode to select a subtitle by its source and its unique id for that source printed by mplayer using -identify parameter.
author ulion
date Sun, 25 Nov 2007 04:09:04 +0000
parents a9bf0730f6b2
children 85dc7d81935c
line wrap: on
line diff