Skip to content

Change while-loop to for-loop to express for-each-frame.#1081

Merged
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:video-style-2
Aug 25, 2018
Merged

Change while-loop to for-loop to express for-each-frame.#1081
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:video-style-2

Conversation

@iphydf
Copy link
Copy Markdown
Member

@iphydf iphydf commented Aug 12, 2018

This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Aug 12, 2018
@iphydf iphydf force-pushed the video-style-2 branch 4 times, most recently from 6767ec4 to 65be401 Compare August 12, 2018 23:18
@zoff99 zoff99 changed the title Change while-loop to for-loop to express for-each-frame. WIP: Change while-loop to for-loop to express for-each-frame. Aug 13, 2018
@zoff99 zoff99 self-assigned this Aug 13, 2018
@zoff99
Copy link
Copy Markdown

zoff99 commented Aug 13, 2018

this one need checks in the video lab setup before merging.

@zoff99 zoff99 added the toxav Audio/video label Aug 13, 2018
Copy link
Copy Markdown

@robinlinden robinlinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm_strong:

Reviewed 1 of 1 files at r1.
Reviewable status: 0 of 1 approvals obtained

@iphydf iphydf force-pushed the video-style-2 branch 3 times, most recently from eca008d to 7f3207d Compare August 15, 2018 23:05
@iphydf iphydf changed the title WIP: Change while-loop to for-loop to express for-each-frame. Change while-loop to for-loop to express for-each-frame. Aug 15, 2018
Copy link
Copy Markdown

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm_strong:

Reviewed 2 of 2 files at r2.
Reviewable status: 0 of 1 approvals obtained

* Assignments can't be used as expressions, therefore `while` loops
  should not be used as a `for-each` construct. Use `for`, instead.
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 25, 2018

Codecov Report

Merging #1081 into master will increase coverage by 0.2%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1081     +/-   ##
========================================
+ Coverage    82.4%   82.7%   +0.2%     
========================================
  Files          80      80             
  Lines       14341   14341             
========================================
+ Hits        11826   11861     +35     
+ Misses       2515    2480     -35
Impacted Files Coverage Δ
toxav/video.c 67.4% <100%> (ø) ⬆️
toxcore/LAN_discovery.c 83% <0%> (-1%) ⬇️
toxav/toxav.c 68.6% <0%> (-0.9%) ⬇️
toxcore/Messenger.c 86.2% <0%> (+0.4%) ⬆️
toxav/msi.c 66.7% <0%> (+0.5%) ⬆️
toxcore/onion_client.c 95.2% <0%> (+0.7%) ⬆️
toxcore/tox.c 66.6% <0%> (+0.9%) ⬆️
toxcore/network.c 84.8% <0%> (+1.4%) ⬆️
auto_tests/toxav_many_test.c 96.6% <0%> (+4%) ⬆️
toxav/audio.c 70% <0%> (+4.3%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d380c41...e99c131. Read the comment docs.

@iphydf iphydf merged commit e99c131 into TokTok:master Aug 25, 2018
@iphydf iphydf deleted the video-style-2 branch August 25, 2018 21:07
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.7 Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

toxav Audio/video

Development

Successfully merging this pull request may close these issues.

4 participants