mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Add support for identifying h263 box in MP4 files for H.263 video
Issue: androidx/media#1821 #cherrypick PiperOrigin-RevId: 688570141
This commit is contained in:
parent
ee4f0c40bc
commit
7545a8929b
3 changed files with 6 additions and 0 deletions
|
|
@ -17,6 +17,8 @@
|
|||
* Extractors:
|
||||
* Fix media duration parsing in `mdhd` box of MP4 files to handle `-1`
|
||||
values ([#1819](https://github.com/androidx/media/issues/1819)).
|
||||
* Add support for identifying `h263` box in MP4 files for H.263 video
|
||||
([#1821](https://github.com/androidx/media/issues/1821)).
|
||||
* DataSource:
|
||||
* `DataSourceContractTest`: Assert that `DataSource.getUri()` returns the
|
||||
resolved URI (as documented). Where this is different to the requested
|
||||
|
|
|
|||
|
|
@ -116,6 +116,9 @@ public abstract class Mp4Box {
|
|||
|
||||
public static final int TYPE_H263 = 0x48323633;
|
||||
|
||||
@SuppressWarnings("ConstantCaseForConstants")
|
||||
public static final int TYPE_h263 = 0x68323633;
|
||||
|
||||
@SuppressWarnings("ConstantCaseForConstants")
|
||||
public static final int TYPE_d263 = 0x64323633;
|
||||
|
||||
|
|
|
|||
|
|
@ -1026,6 +1026,7 @@ public final class BoxParser {
|
|||
|| childAtomType == Mp4Box.TYPE_hev1
|
||||
|| childAtomType == Mp4Box.TYPE_s263
|
||||
|| childAtomType == Mp4Box.TYPE_H263
|
||||
|| childAtomType == Mp4Box.TYPE_h263
|
||||
|| childAtomType == Mp4Box.TYPE_vp08
|
||||
|| childAtomType == Mp4Box.TYPE_vp09
|
||||
|| childAtomType == Mp4Box.TYPE_av01
|
||||
|
|
|
|||
Loading…
Reference in a new issue