Revert "Move class VideoCodec from common_types.h to its own api header file."
This reverts commit efc71e565e9b36bcdfb4571f59e34bbd8fabd0cd. Reason for revert: probably breaks downstream test Original change's description: > Move class VideoCodec from common_types.h to its own api header file. > > Bug: webrtc:7660 > Change-Id: I91f19bfc2565461328f30081f8383e136419aefb > Reviewed-on: https://webrtc-review.googlesource.com/79881 > Commit-Queue: Niels Moller <nisse@webrtc.org> > Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#23544} TBR=danilchap@webrtc.org,brandtr@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org Change-Id: Id8bd37c79c2f8d09a4d88368765230103f1db2c8 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:7660 Reviewed-on: https://webrtc-review.googlesource.com/82101 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23547}
This commit is contained in:
committed by
Commit Bot
parent
72520531e8
commit
350531e2a3
@ -380,8 +380,8 @@ int32_t MediaCodecVideoDecoder::Decode(
|
||||
|
||||
// Check if encoded frame dimension has changed.
|
||||
if ((inputImage._encodedWidth * inputImage._encodedHeight > 0) &&
|
||||
(static_cast<int>(inputImage._encodedWidth) != codec_.width ||
|
||||
static_cast<int>(inputImage._encodedHeight) != codec_.height)) {
|
||||
(inputImage._encodedWidth != codec_.width ||
|
||||
inputImage._encodedHeight != codec_.height)) {
|
||||
ALOGW << "Input resolution changed from " <<
|
||||
codec_.width << " x " << codec_.height << " to " <<
|
||||
inputImage._encodedWidth << " x " << inputImage._encodedHeight;
|
||||
|
||||
Reference in New Issue
Block a user