diff options
author | wm4 <wm4@nowhere> | 2018-04-19 17:42:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-04-19 23:22:48 +0200 |
commit | ff24285eb15676dc7519b858be01a1def155e847 (patch) | |
tree | da962345d8d33108c0b096c3aaeec6cbc41fe25c /filters/filter.h | |
parent | e7e06a47a0b5626c3abe81f3627d10ed58d92d3b (diff) | |
download | mpv-ff24285eb15676dc7519b858be01a1def155e847.tar.bz2 mpv-ff24285eb15676dc7519b858be01a1def155e847.tar.xz |
video: pass through container fps to filters
This means vf_vapoursynth doesn't need a hack to work around the filter
code, and libavfilter filters now actually get the frame_rate field on
input pads set.
The libavfilter doxygen says the frame_rate field is only to be set if
the frame rate is known to be constant, and uses the word "must" (which
probably means they really mean it?) - but ffmpeg.c sets the field to
mere guesses anyway, and it looks like this normally won't lead to
problems.
Diffstat (limited to 'filters/filter.h')
-rw-r--r-- | filters/filter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/filters/filter.h b/filters/filter.h index e63b812a79..33177444c2 100644 --- a/filters/filter.h +++ b/filters/filter.h @@ -382,7 +382,6 @@ struct mp_stream_info { void *priv; // for use by whoever implements the callbacks double (*get_display_fps)(struct mp_stream_info *i); - double (*get_container_fps)(struct mp_stream_info *i); struct mp_hwdec_devices *hwdec_devs; struct osd_state *osd; |