aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2014-03-02 22:36:42 +0100
committerClément Bœsch <u@pkh.me>2014-03-03 23:33:47 +0100
commitb416517cce6b05bcdd838b8f34a0050e729beec2 (patch)
treeb39a47944916e8b696529d2f00199075aee5bab0 /libavdevice/libdc1394.c
parent0786598f51ce0811cce7a087ba76fa6fd984327e (diff)
downloadffmpeg-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