[FFmpeg-cvslog] sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
Nicolas George
git at videolan.org
Sun Jun 10 10:12:55 CEST 2012
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Jun 9 11:28:44 2012 +0200| [2f9907be3e0daf22177174de264fc04034c5b6bd] | committer: Nicolas George
sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
It allows vsync to be automatically set to passthrough.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f9907be3e0daf22177174de264fc04034c5b6bd
---
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,
};
More information about the ffmpeg-cvslog
mailing list