Improve rejection of "crazy" frame rates (#2238).
authorCarl Hetherington <cth@carlh.net>
Fri, 22 Apr 2022 21:06:19 +0000 (23:06 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 22 Apr 2022 21:28:14 +0000 (23:28 +0200)
commit9dbf21fd28991898e61020de0809497999282562
treefa003cb0d22fb6e0c076f6385615899524a5c1af
parent3c29aa6531a4046a8db72dcac81189eb8893233c
Improve rejection of "crazy" frame rates (#2238).

Firstly, look for other video streams even if one is not suitable.
Secondly, ignore very low frame rates as well as very high ones.
src/lib/ffmpeg.cc
test/ffmpeg_examiner_test.cc