From 2f9907be3e0daf22177174de264fc04034c5b6bd Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 9 Jun 2012 11:28:44 +0200 Subject: [PATCH] sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS. It allows vsync to be automatically set to passthrough. --- libavdevice/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };