mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
fftools/ffmpeg: mark -vsync for future removal
It has already been deprecated over a year ago.
This commit is contained in:
parent
8d8c2b410f
commit
7f982065a8
3 changed files with 17 additions and 3 deletions
|
|
@ -756,7 +756,11 @@ static int new_stream_video(Muxer *mux, const OptionsContext *o,
|
|||
av_log(ost, AV_LOG_WARNING, "-top is deprecated, use the setfield filter instead\n");
|
||||
#endif
|
||||
|
||||
#if FFMPEG_OPT_VSYNC
|
||||
ost->vsync_method = video_sync_method;
|
||||
#else
|
||||
ost->vsync_method = VSYNC_AUTO;
|
||||
#endif
|
||||
MATCH_PER_STREAM_OPT(fps_mode, str, fps_mode, oc, st);
|
||||
if (fps_mode) {
|
||||
ret = parse_and_set_vsync(fps_mode, &ost->vsync_method, ost->file->index, ost->index, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue