summaryrefslogtreecommitdiffstats
path: root/pdf/progress_control.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 07:58:28 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 07:58:28 +0000
commitb2ffa50ab2602680d1cb8ae7ed0eda208dda378e (patch)
tree666ff236b641c4aeccffe201dc332ee8d5e50c42 /pdf/progress_control.h
parentcda1b1673f3e065756e04ad480b3aea1dc390981 (diff)
downloadchromium_src-b2ffa50ab2602680d1cb8ae7ed0eda208dda378e.zip
chromium_src-b2ffa50ab2602680d1cb8ae7ed0eda208dda378e.tar.gz
chromium_src-b2ffa50ab2602680d1cb8ae7ed0eda208dda378e.tar.bz2
Fix MediaSource renderer to limit memory consumption.
MediaSource renderer wasn't marking keyframes properly, and as result SourceBuffer would keep all data it receives forever. Also added explicit remove() call to cleanup the buffers before each keyframe. Beside that changed default duration to a correct value instead of 1s It currently doesn't cause any problems, but it may in the future if MediaSource implementation is changed to handle overlapping frames differently. BUG=321825 Review URL: https://codereview.chromium.org/329663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'pdf/progress_control.h')
0 files changed, 0 insertions, 0 deletions