Browse Source

sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.

It allows vsync to be automatically set to passthrough.
tags/n1.0
Nicolas George 13 years ago
parent
commit
2f9907be3e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/sdl.c

+ 1
- 1
libavdevice/sdl.c View File

@@ -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,
};

Loading…
Cancel
Save