Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcc6dbee authored by Wonsik Kim's avatar Wonsik Kim
Browse files

CCodec: do not update frame size with buffer dimensions

Bug: 186624939
Test: atest android.media.cts.AdaptivePlaybackTest
Change-Id: I120b0ba07702aaa92bf61aff5d534df5e3368df5
parent dd7f1f7b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2262,8 +2262,6 @@ void CCodec::onMessageReceived(const sp<AMessage> &msg) {
                            const C2ConstGraphicBlock &block = blocks[0];
                            updates.emplace_back(new C2StreamCropRectInfo::output(
                                    stream, block.crop()));
                            updates.emplace_back(new C2StreamPictureSizeInfo::output(
                                    stream, block.crop().width, block.crop().height));
                        }
                        ++stream;
                    }