Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 22a12398 authored by Iris Chang's avatar Iris Chang Committed by Marco Nelissen
Browse files

MPEG2TSExtractor: support m2ts container

m2ts is based on the MPEG-2 transport stream container.
The standard MPEG2-2 TS 188-byte packet is prefixed with a
4-byte extra header to a total size of 192 bytes.

This patch makes MPEG2TSextractor support both
MPEG-2 transport stream and m2ts.

mts file use the same container as ts file

Bug: 123261411
Test: play m2ts file and check if it's normal
Change-Id: I7798a6bf3fcddf064d6bb6e39cd303bf83c3489e
(cherry picked from commit c1a46467)
parent a66ea4b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment