pepper: VideoEncoder: use same constraints as media::VideoFrame for software encoder
commita460cbb69ccd575bb70ec36874a13f802fabe429
authorlionel.g.landwerlin <lionel.g.landwerlin@intel.com>
Wed, 15 Apr 2015 17:29:54 +0000 (15 10:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 17:30:20 +0000 (15 17:30 +0000)
tree58af09ba9ec7ed4531893c76245e4a2579162009
parent4c05c94295ee26adffe966678719085f02b15f2f
pepper: VideoEncoder: use same constraints as media::VideoFrame for software encoder

Prevent the software encoder to accept odd sized video frames by
reusing the same constraints applied to frames allocated by
media::VideoFrame.

BUG=455409

Review URL: https://codereview.chromium.org/1085003002

Cr-Commit-Position: refs/heads/master@{#325266}
content/renderer/pepper/video_encoder_shim.cc
ppapi/tests/test_video_encoder.cc