Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Issue 2002963002: Android: Drop old frame in SurfaceTextureHelper.startListening() (Closed)

Created:
4 years, 7 months ago by magjed_webrtc
Modified:
4 years, 7 months ago
Reviewers:
perkj_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Android: Drop old frame in SurfaceTextureHelper.startListening() Drop any pending texture frame when SurfaceTextureHelper.startListening() is called because the frame might be from the previous startListening()/stopListening() capture session. This typically happens when switching between the front/back camera, and an old frame will get incorrect rotation and mirroring because of the front/back camera mismatch. Dropping the frame in SurfaceTextureHelper also removes the need for the |dropNextFrame| logic in VideoCapturerAndroid. R=perkj@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/181310fb6fe2aff416b112b7e9945d651566fab0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -18 lines) Patch
M webrtc/api/java/android/org/webrtc/SurfaceTextureHelper.java View 3 chunks +16 lines, -8 lines 0 comments Download
M webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java View 4 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
magjed_webrtc
perkj - Please take a look. I noticed this while working on a Camera2 implementation ...
4 years, 7 months ago (2016-05-23 12:00:55 UTC) #3
perkj_webrtc
Nice catch. lgtm
4 years, 7 months ago (2016-05-23 12:32:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002963002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2002963002/1
4 years, 7 months ago (2016-05-23 12:36:13 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 7 months ago (2016-05-23 13:14:37 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/181310fb6fe2aff416b112b7e9945d651566fab0 Cr-Commit-Position: refs/heads/master@{#12849}
4 years, 7 months ago (2016-05-23 14:27:05 UTC) #11
magjed_webrtc
4 years, 7 months ago (2016-05-23 14:27:06 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
181310fb6fe2aff416b112b7e9945d651566fab0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698