diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-09 11:28:44 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-10 09:42:31 +0200 |
commit | 2f9907be3e0daf22177174de264fc04034c5b6bd (patch) | |
tree | 2095270bb12e04b5cbddbf3da89ea2d992c26456 | |
parent | 4bfee465e99cb3ef5da4db04e7eec4e5f2fec0cc (diff) | |
download | ffmpeg-2f9907be3e0daf22177174de264fc04034c5b6bd.tar.gz |
sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
It allows vsync to be automatically set to passthrough.
-rw-r--r-- | libavdevice/sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/sdl.c b/libavdevice/sdl.c index 654d54b85d..e4609a2837 100644 --- a/libavdevice/sdl.c +++ b/libavdevice/sdl.c @@ -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, }; |