mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
It allows vsync to be automatically set to passthrough.
This commit is contained in:
@@ -214,6 +214,6 @@ AVOutputFormat ff_sdl_muxer = {
|
||||
.write_header = sdl_write_header,
|
||||
.write_packet = sdl_write_packet,
|
||||
.write_trailer = sdl_write_trailer,
|
||||
.flags = AVFMT_NOFILE,
|
||||
.flags = AVFMT_NOFILE | AVFMT_VARIABLE_FPS | AVFMT_NOTIMESTAMPS,
|
||||
.priv_class = &sdl_class,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user