.flake8
author Bryce Van Dyk <bvandyk@mozilla.com>
Tue, 11 Dec 2018 20:55:26 +0000
changeset 450157 b3a9872c08d7d3254e3db718c24529c94a9d96db
parent 447502 a615ca514a068ad4f4340b167358dcdeffbb26f1
child 453570 daf50f25895db073e44d50fecf2e4f6fe873865d
permissions -rw-r--r--
Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya Update mp4parse-rust update script and pull the new version. This update changes the mp4parse C-API. Specifically, each track can now have multiple sample descriptions. Previously we'd just exposed the first for the entire track, and if others were available they were not exposed via the API. Because of the API change, we update the C++ interface with mp4parse-rust. We now inspect the sample info to make sure they're consistent with the parsers expectations: - Only a single codec is present for a track, multiple codecs in a track will result in us returning an error. - Only 0 or 1 crypto info is present for a track, more than one set of info will result in us returning an error. We still generalize some of the first sample info to the samples of the track, as we did before this patch. However, we will now catch the above cases explicitly. We now handle crypto information if it is not present on the first sample info. The parser will iterate through sample infos and use the first set of crypto info it finds (and fail if it finds 2+). Differential Revision: https://phabricator.services.mozilla.com/D14107

[flake8]
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402, E741
max-line-length = 99
exclude =
    browser/extensions/mortar/ppapi/,
    browser/moz.configure,
    build/moz.configure/*.configure,
    build/pymake/,
    dom/canvas/test/webgl-conf/checkout/closure-library/,
    editor/libeditor/tests/browserscope/,
    intl/icu/,
    ipc/chromium/src/third_party/,
    gfx/angle/,
    gfx/harfbuzz,
    glx/skia/,
    js/*.configure,
    memory/moz.configure,
    mobile/android/*.configure,
    node_modules,
    security/nss/,
    testing/mochitest/pywebsocket,
    tools/lint/test/files,
    build/build-infer/build-infer.py,
    tools/infer/test/*.configure,    tools/infer/test/*.configure,