msm8937-common: Drop unsupported media profiles

This commit is contained in:
LuK1337 2017-12-02 02:44:23 +00:00 committed by Isaac Chen
parent e292bcc171
commit b43a829a30

View file

@ -35,7 +35,7 @@
<!ATTLIST Video height CDATA #REQUIRED> <!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED> <!ATTLIST Video frameRate CDATA #REQUIRED>
<!ELEMENT Audio EMPTY> <!ELEMENT Audio EMPTY>
<!ATTLIST Audio codec (amrnb|amrwb|aac|lpcm) #REQUIRED> <!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED> <!ATTLIST Audio bitRate CDATA #REQUIRED>
<!ATTLIST Audio sampleRate CDATA #REQUIRED> <!ATTLIST Audio sampleRate CDATA #REQUIRED>
<!ATTLIST Audio channels (1|2|6) #REQUIRED> <!ATTLIST Audio channels (1|2|6) #REQUIRED>
@ -61,7 +61,7 @@
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED> <!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED> <!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
<!ELEMENT AudioEncoderCap EMPTY> <!ELEMENT AudioEncoderCap EMPTY>
<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #REQUIRED> <!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED> <!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED> <!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED> <!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
@ -199,19 +199,6 @@
channels="1" /> channels="1" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="vga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="192000" bitRate="192000"
@ -283,20 +270,6 @@
channels="1" /> channels="1" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="2000000" bitRate="2000000"
@ -452,19 +425,6 @@
channels="1" /> channels="1" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="vga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="192000" bitRate="192000"
@ -520,34 +480,6 @@
channels="1" /> channels="1" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="512000"
width="320"
height="240"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="5000000" bitRate="5000000"
@ -654,11 +586,6 @@
minSampleRate="8000" maxSampleRate="8000" minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" /> minChannels="1" maxChannels="1" />
<!-- <AudioEncoderCap name="lpcm" enabled="true"
minBitRate="768000" maxBitRate="4608000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="6" />-->
<!-- <!--
FIXME: FIXME:
We do not check decoder capabilities at present We do not check decoder capabilities at present