Remove remaining variables related to incomplete frames.
Bug: webrtc:9378, webrtc:7408 Change-Id: I5b26f09a2da13906b421d0bcf615e721b66d4ce7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/190860 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32552}
This commit is contained in:
@ -54,8 +54,6 @@ public class EncodedImage implements RefCounted {
|
||||
public final long captureTimeNs;
|
||||
public final FrameType frameType;
|
||||
public final int rotation;
|
||||
// TODO(philipel): Remove when downstream has been updated.
|
||||
public final boolean completeFrame;
|
||||
public final @Nullable Integer qp;
|
||||
|
||||
// TODO(bugs.webrtc.org/9378): Use retain and release from jni code.
|
||||
@ -80,7 +78,6 @@ public class EncodedImage implements RefCounted {
|
||||
this.captureTimeNs = captureTimeNs;
|
||||
this.frameType = frameType;
|
||||
this.rotation = rotation;
|
||||
this.completeFrame = true;
|
||||
this.qp = qp;
|
||||
this.refCountDelegate = new RefCountDelegate(releaseCallback);
|
||||
}
|
||||
@ -173,11 +170,6 @@ public class EncodedImage implements RefCounted {
|
||||
return this;
|
||||
}
|
||||
|
||||
// TODO(philipel): Remove when downstream has been updated.
|
||||
public Builder setCompleteFrame(boolean completeFrame) {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setQp(@Nullable Integer qp) {
|
||||
this.qp = qp;
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user