aboutsummaryrefslogtreecommitdiffstats
path: root/.yardopts
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-07-14 20:06:41 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-07-14 20:06:41 +0900
commit88cbe13741b18bfd915802bff3f4560eb68f44a7 (patch)
tree5cf8d8ba1ac88b05638a58c4ee91ae0a1e36b749 /.yardopts
parent4ded9b88d5d2160645f3a1fc65bcfdf2ed430c17 (diff)
downloadrails-88cbe13741b18bfd915802bff3f4560eb68f44a7.tar.gz
rails-88cbe13741b18bfd915802bff3f4560eb68f44a7.tar.bz2
rails-88cbe13741b18bfd915802bff3f4560eb68f44a7.zip
Fix activestorage CI failure due to ffprove version differece
Our CI environment is upgraded from stretch to buster then ffprove version is also upgraded from 3.2.14 to 4.1.3. https://packages.debian.org/stretch/ffmpeg https://packages.debian.org/buster/ffmpeg Somehow those ffprove returns different metadata for `rotated_video.mp4`. ``` $ ffprobe -print_format json -show_streams -v error rotated_video.mp4 > ffprobe41.json $ diff -ub ffprobe32.json ffprobe41.json --- ffprobe32.json 2019-07-14 20:02:13.000000000 +0900 +++ ffprobe41.json 2019-07-14 19:59:08.000000000 +0900 @@ -27,8 +27,8 @@ "time_base": "1/17594", "start_pts": 3976, "start_time": "0.225986", - "duration_ts": 91981, - "duration": "5.227975", + "duration_ts": 88000, + "duration": "5.001705", "bit_rate": "321546", "bits_per_raw_sample": "8", "nb_frames": "44", @@ -78,8 +78,8 @@ "time_base": "1/44100", "start_pts": 0, "start_time": "0.000000", - "duration_ts": 227865, - "duration": "5.167007", + "duration_ts": 227850, + "duration": "5.166667", "bit_rate": "109732", "max_bit_rate": "109732", "nb_frames": "223", ``` In the case on the `test "analyzing a rotated video"`, most important part is `assert_equal 90, metadata[:angle]`, the accidental difference of duration for ffprove version is out of scope for the test.
Diffstat (limited to '.yardopts')
0 files changed, 0 insertions, 0 deletions