Skip to content

Commit

Permalink
Fix extra-precision in dash parser and player tests.
Browse files Browse the repository at this point in the history
A follow up on 0f8aadc.

Change-Id: I3bf82f386eaf4f2bd9288e532370577f7c3a7ea7
  • Loading branch information
ismena authored and joeyparrish committed Oct 19, 2016
1 parent fb8174d commit 467d1a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions test/dash/dash_parser_manifest_unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,15 @@ describe('DashParser.Manifest', function() {
.presentationTimeOffset(0)
.mime('video/mp4', 'avc1.4d401f')
.bandwidth(100)
// TODO: get Jasmine to match with less precision here
.frameRate(23.80952380952380952380)
.frameRate(1000000 / 42000)
.size(768, 576)
.addStream(jasmine.any(Number))
.anySegmentFunctions()
.anyInitSegment()
.presentationTimeOffset(0)
.mime('video/mp4', 'avc1.4d401f')
.bandwidth(50)
.frameRate(23.80952380952380952380)
.frameRate(1000000 / 42000)
.size(576, 432)
.addStreamSet('text')
.language('es')
Expand Down
2 changes: 1 addition & 1 deletion test/player_unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ describe('Player', function() {
kind: null,
width: 100,
height: 200,
frameRate: 23.80952380952380952380,
frameRate: 1000000 / 42000,
codecs: 'avc1.4d401f'
},
{
Expand Down

0 comments on commit 467d1a0

Please sign in to comment.