[FFmpeg-devel] [PATCH 1/3] sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
Nicolas George
nicolas.george at normalesup.org
Sat Jun 9 21:26:50 CEST 2012
It allows vsync to be automatically set to passthrough.
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavdevice/sdl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/sdl.c b/libavdevice/sdl.c
index 654d54b..e4609a2 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,
};
--
1.7.10
More information about the ffmpeg-devel
mailing list