Revert "[media] vpx_video_decoder: dynamically update natural size"
This reverts commit c4948f05. Reason for revert: Landed too soon (tried to uncheck CQ) Original change's description: > [media] vpx_video_decoder: dynamically update natural size > > This changes the behavior implicit resizing of for VP8/9 video. By > implicit, we mean streams where the dimensions change without a new > MSE init segment that explicitly describes the new size. > > Prior to this CL, we took whatever resolution was specified by the > container metadata and scaled any later differing resolution into an > element of that original size. Many of our decoders worked this way > before https://chromium-review.googlesource.com/c/chromium/src/+/1026992/, > which shifted the consensus is to allow dynamic resize. This CL makes > the libVPX wrapper consistent with those. > > When the size changes we will update videoWidth and videoHeight and > fire a 'resize' event. > > Bug: 992235 > Change-Id: I5bca7a68709594500e6ec9b4e107531b41e20925 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1828226 > Commit-Queue: Dan Sanders <sandersd@chromium.org> > Reviewed-by: Dan Sanders <sandersd@chromium.org> > Cr-Commit-Position: refs/heads/master@{#701373} TBR=sandersd@chromium.org,chcunningham@chromium.org Change-Id: I80354370bb61189127bb894ba1f7d2da48445bb1 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 992235 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832689Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#701381}
Showing
Please register or sign in to comment