aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-06-09 11:28:44 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-06-10 09:42:31 +0200
commit2f9907be3e0daf22177174de264fc04034c5b6bd (patch)
tree2095270bb12e04b5cbddbf3da89ea2d992c26456 /libavdevice
parent4bfee465e99cb3ef5da4db04e7eec4e5f2fec0cc (diff)
downloadffmpeg-2f9907be3e0daf22177174de264fc04034c5b6bd.tar.gz
sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
It allows vsync to be automatically set to passthrough.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/sdl.c2
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,
};