diff options
author | wm4 <wm4@nowhere> | 2013-06-23 22:14:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-25 00:11:56 +0200 |
commit | feb64c2717139f030974823756f51cbe215ef818 (patch) | |
tree | f115c16e08d6f1f6d8738dcf2d3f1f5fb2554dfe /demux/stheader.h | |
parent | cfa45c40dc0cfe44b699029168b62d4d3e16c288 (diff) | |
download | mpv-feb64c2717139f030974823756f51cbe215ef818.tar.bz2 mpv-feb64c2717139f030974823756f51cbe215ef818.tar.xz |
sub: attempt to use video FPS for frame based subtitle formats
This only affects demux_subreader.c for now. Maybe there is some hope
this can be used for libavformat demuxers too, but I'm not sure yet.
Diffstat (limited to 'demux/stheader.h')
-rw-r--r-- | demux/stheader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/stheader.h b/demux/stheader.h index 14418accb0..37bdbcc568 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -163,6 +163,7 @@ typedef struct sh_sub { SH_COMMON unsigned char *extradata; // extra header data passed from demuxer int extradata_len; + int frame_based; // timestamps are frame-based struct ass_track *track; // loaded by libass struct dec_sub *dec_sub; // decoder context } sh_sub_t; |