diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 02:34:34 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 02:34:34 +0000 |
commit | d2cf4787e75a7f0f431dede5a86e77f275148e1b (patch) | |
tree | 38c9075ffe6e2a5bf16ff519eae5dd7f63671a2f /chrome/common/notification_service.cc | |
parent | 655051daaef6ec771e01887c4e0c7a1ad7f5702a (diff) | |
download | chromium_src-d2cf4787e75a7f0f431dede5a86e77f275148e1b.zip chromium_src-d2cf4787e75a7f0f431dede5a86e77f275148e1b.tar.gz chromium_src-d2cf4787e75a7f0f431dede5a86e77f275148e1b.tar.bz2 |
Enable support for additional media formats by using the duration from AVFormatContext, if present.
Some media formats do not have a duration specified in the individual audio/video streams. However if the container itself lists a duration we can simply rely on that value.
Patch by ducksource@gmail.com
BUG=none
TEST=additional media formats should be playable in Chrome if enabled in FFmpeg
Review URL: http://codereview.chromium.org/1608005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/notification_service.cc')
0 files changed, 0 insertions, 0 deletions