mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-18 08:58:37 +00:00
sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.
It allows vsync to be automatically set to passthrough.
This commit is contained in:
parent
4bfee465e9
commit
2f9907be3e
@ -214,6 +214,6 @@ AVOutputFormat ff_sdl_muxer = {
|
|||||||
.write_header = sdl_write_header,
|
.write_header = sdl_write_header,
|
||||||
.write_packet = sdl_write_packet,
|
.write_packet = sdl_write_packet,
|
||||||
.write_trailer = sdl_write_trailer,
|
.write_trailer = sdl_write_trailer,
|
||||||
.flags = AVFMT_NOFILE,
|
.flags = AVFMT_NOFILE | AVFMT_VARIABLE_FPS | AVFMT_NOTIMESTAMPS,
|
||||||
.priv_class = &sdl_class,
|
.priv_class = &sdl_class,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user