sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
It allows vsync to be automatically set to passthrough.
This commit is contained in:
parent
4bfee465e9
commit
2f9907be3e
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user