sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.

It allows vsync to be automatically set to passthrough.
This commit is contained in:
Nicolas George 2012-06-09 11:28:44 +02:00
parent 4bfee465e9
commit 2f9907be3e

View File

@ -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,
};