diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-03-02 22:36:42 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-03-03 23:33:47 +0100 |
commit | b416517cce6b05bcdd838b8f34a0050e729beec2 (patch) | |
tree | b39a47944916e8b696529d2f00199075aee5bab0 /libavdevice/libdc1394.c | |
parent | 0786598f51ce0811cce7a087ba76fa6fd984327e (diff) | |
download | ffmpeg-b416517cce6b05bcdd838b8f34a0050e729beec2.tar.gz |
avformat/microdvd: export the declared frame rate
MicroDVD files are normally frame-based (i.e. there are no absolute
timestamps), but can have an optional frame rate header. If this
header is missing, the timestamps depend on the frame rate of the
video they were created for.
The demuxer will use a fallback frame rate if it's missing from the
header. Currently, applications using libavformat can't know whether
the time base is based on the fallback value, or if a frame rate
header was present.
This commit introduces a subfps AVOption for MicroDVD, and the
demuxer sets it if and only if a frame rate header was present.
Signed-off-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavdevice/libdc1394.c')
0 files changed, 0 insertions, 0 deletions