зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1417011 - move MP4Metadata and MoofParser to ./dom/media/mp4. r=kinetik
MozReview-Commit-ID: IdNFBer3RCT --HG-- rename : media/libstagefright/binding/include/mp4_demuxer/Atom.h => dom/media/mp4/Atom.h rename : media/libstagefright/binding/include/mp4_demuxer/AtomType.h => dom/media/mp4/AtomType.h rename : media/libstagefright/binding/Box.cpp => dom/media/mp4/Box.cpp rename : media/libstagefright/binding/include/mp4_demuxer/Box.h => dom/media/mp4/Box.h rename : media/libstagefright/binding/BufferStream.cpp => dom/media/mp4/BufferStream.cpp rename : media/libstagefright/binding/include/mp4_demuxer/BufferStream.h => dom/media/mp4/BufferStream.h rename : media/libstagefright/binding/DecoderData.cpp => dom/media/mp4/DecoderData.cpp rename : media/libstagefright/binding/include/mp4_demuxer/DecoderData.h => dom/media/mp4/DecoderData.h rename : media/libstagefright/binding/Index.cpp => dom/media/mp4/Index.cpp rename : media/libstagefright/binding/include/mp4_demuxer/Index.h => dom/media/mp4/Index.h rename : media/libstagefright/binding/include/mp4_demuxer/Interval.h => dom/media/mp4/Interval.h rename : media/libstagefright/binding/MP4Metadata.cpp => dom/media/mp4/MP4Metadata.cpp rename : media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h => dom/media/mp4/MP4Metadata.h rename : media/libstagefright/binding/MoofParser.cpp => dom/media/mp4/MoofParser.cpp rename : media/libstagefright/binding/include/mp4_demuxer/MoofParser.h => dom/media/mp4/MoofParser.h rename : media/libstagefright/binding/ResourceStream.cpp => dom/media/mp4/ResourceStream.cpp rename : media/libstagefright/binding/include/mp4_demuxer/ResourceStream.h => dom/media/mp4/ResourceStream.h rename : media/libstagefright/binding/SinfParser.cpp => dom/media/mp4/SinfParser.cpp rename : media/libstagefright/binding/include/mp4_demuxer/SinfParser.h => dom/media/mp4/SinfParser.h rename : media/libstagefright/binding/include/mp4_demuxer/Stream.h => dom/media/mp4/Stream.h extra : rebase_source : fe414148a53dede2def894131cd1f69920a1dd69
This commit is contained in:
Родитель
0c947765e5
Коммит
b3c4d27b09
|
@ -9,12 +9,71 @@ EXPORTS += [
|
|||
'MP4Demuxer.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'MP4Decoder.cpp',
|
||||
EXPORTS.mp4_demuxer += [
|
||||
'Atom.h',
|
||||
'AtomType.h',
|
||||
'Box.h',
|
||||
'BufferStream.h',
|
||||
'DecoderData.h',
|
||||
'Index.h',
|
||||
'Interval.h',
|
||||
'MoofParser.h',
|
||||
'MP4Metadata.h',
|
||||
'ResourceStream.h',
|
||||
'SinfParser.h',
|
||||
'Stream.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'Box.cpp',
|
||||
'BufferStream.cpp',
|
||||
'DecoderData.cpp',
|
||||
'Index.cpp',
|
||||
'MoofParser.cpp',
|
||||
'MP4Decoder.cpp',
|
||||
'MP4Metadata.cpp',
|
||||
'ResourceStream.cpp',
|
||||
'SinfParser.cpp',
|
||||
]
|
||||
|
||||
|
||||
SOURCES += [
|
||||
'MP4Demuxer.cpp',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
# Supress warnnings for now.
|
||||
if CONFIG['_MSC_VER']:
|
||||
CFLAGS += [
|
||||
'-wd4013', # 'function' undefined; assuming extern returning int
|
||||
'-wd4101', # unreferenced local variable
|
||||
]
|
||||
CXXFLAGS += [
|
||||
'-wd4018', # '<' : signed/unsigned mismatch
|
||||
'-wd4275', # non dll-interface class used as base for dll-interface class
|
||||
'-wd4305', # '=' : truncation from 'double' to 'float'
|
||||
'-wd4309', # '=' : truncation of constant value
|
||||
'-wd4355', # 'this' : used in base member initializer list
|
||||
'-wd4804', # '>' : unsafe use of type 'bool' in operation
|
||||
'-wd4099', # mismatched class/struct tags
|
||||
]
|
||||
elif CONFIG['GNU_CXX']:
|
||||
CFLAGS += [
|
||||
'-Wno-comment',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-unused-function',
|
||||
]
|
||||
CXXFLAGS += [
|
||||
'-Werror=format',
|
||||
'-Wno-multichar',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-unused',
|
||||
]
|
||||
if CONFIG['CLANG_CXX']:
|
||||
CXXFLAGS += [
|
||||
'-Wno-mismatched-tags',
|
||||
'-Wno-tautological-constant-out-of-range-compare',
|
||||
'-Wno-unreachable-code-return',
|
||||
'-Wno-implicit-fallthrough',
|
||||
]
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Core", "Audio/Video: Playback")
|
||||
|
||||
EXPORTS.mp4_demuxer += [
|
||||
'Adts.h',
|
||||
'AnnexB.h',
|
||||
'H264.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'Adts.cpp',
|
||||
'AnnexB.cpp',
|
||||
'H264.cpp',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../../mp4/',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['_MSC_VER']:
|
||||
CFLAGS += [
|
||||
'-wd4013', # 'function' undefined; assuming extern returning int
|
||||
'-wd4101', # unreferenced local variable
|
||||
]
|
||||
CXXFLAGS += [
|
||||
'-wd4018', # '<' : signed/unsigned mismatch
|
||||
'-wd4275', # non dll-interface class used as base for dll-interface class
|
||||
'-wd4305', # '=' : truncation from 'double' to 'float'
|
||||
'-wd4309', # '=' : truncation of constant value
|
||||
'-wd4355', # 'this' : used in base member initializer list
|
||||
'-wd4804', # '>' : unsafe use of type 'bool' in operation
|
||||
'-wd4099', # mismatched class/struct tags
|
||||
]
|
||||
elif CONFIG['GNU_CXX']:
|
||||
CFLAGS += [
|
||||
'-Wno-comment',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-unused-function',
|
||||
]
|
||||
CXXFLAGS += [
|
||||
'-Werror=format',
|
||||
'-Wno-multichar',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-unused',
|
||||
]
|
||||
if CONFIG['CLANG_CXX']:
|
||||
CXXFLAGS += [
|
||||
'-Wno-mismatched-tags',
|
||||
'-Wno-tautological-constant-out-of-range-compare',
|
||||
'-Wno-unreachable-code-return',
|
||||
'-Wno-implicit-fallthrough',
|
||||
]
|
|
@ -7,35 +7,10 @@
|
|||
with Files("**"):
|
||||
BUG_COMPONENT = ("Core", "Audio/Video: Playback")
|
||||
|
||||
EXPORTS.mp4_demuxer += [
|
||||
'binding/include/mp4_demuxer/Atom.h',
|
||||
'binding/include/mp4_demuxer/AtomType.h',
|
||||
'binding/include/mp4_demuxer/BufferStream.h',
|
||||
'binding/include/mp4_demuxer/DecoderData.h',
|
||||
'binding/include/mp4_demuxer/Index.h',
|
||||
'binding/include/mp4_demuxer/Interval.h',
|
||||
'binding/include/mp4_demuxer/MoofParser.h',
|
||||
'binding/include/mp4_demuxer/MP4Metadata.h',
|
||||
'binding/include/mp4_demuxer/ResourceStream.h',
|
||||
'binding/include/mp4_demuxer/SinfParser.h',
|
||||
'binding/include/mp4_demuxer/Stream.h',
|
||||
]
|
||||
|
||||
EXPORTS.demuxer += [
|
||||
'binding/include/demuxer/TrackDemuxer.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'binding/Box.cpp',
|
||||
'binding/BufferStream.cpp',
|
||||
'binding/DecoderData.cpp',
|
||||
'binding/Index.cpp',
|
||||
'binding/MoofParser.cpp',
|
||||
'binding/MP4Metadata.cpp',
|
||||
'binding/ResourceStream.cpp',
|
||||
'binding/SinfParser.cpp',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'binding/include',
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче