DescriptionMake sure natural_size is set when a frame is cropped.
If the natural size is not set, the <video> tag will set its properties videoHeight and videoWidth to the original, uncropped width and height.If that is used for deciding the <video> render size- the aspect ratio will be wrong.
This cl allow setting the natural_size as well as the visible_rect when calling media::VideoFrame::WrapVideoFrame.
BUG=349450
R=fischman@chromium.org, tommi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255839
Patch Set 1 #Patch Set 2 : Removed DCHECK of natural size since the decoder pipeline do not abey. #
Messages
Total messages: 17 (0 generated)
|