diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-10 13:45:09 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:43 +0200 |
commit | 96c17fe68b12104269f70b113d757fbc67b5ed1f (patch) | |
tree | b63db7e8a5b4d090210e621ab5ad948eaf12e788 /av_sub.h | |
parent | d6322407c503bbca1f1bb48e06e275f7b610a3a8 (diff) | |
download | mpv-96c17fe68b12104269f70b113d757fbc67b5ed1f.tar.bz2 mpv-96c17fe68b12104269f70b113d757fbc67b5ed1f.tar.xz |
subs: Add support for PGS subtitle decoding via libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31665 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'av_sub.h')
-rw-r--r-- | av_sub.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/av_sub.h b/av_sub.h new file mode 100644 index 0000000000..8713bd207e --- /dev/null +++ b/av_sub.h @@ -0,0 +1,29 @@ +/* + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef MPLAYER_AV_SUB_H +#define MPLAYER_AV_SUB_H + +#include <stdint.h> + +struct sh_sub; + +void reset_avsub(struct sh_sub *sh); +int decode_avsub(struct sh_sub *sh, uint8_t **data, int *size, double *pts, double *endpts); + +#endif |