mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-27 13:13:43 +00:00
Make Mp4Writer output compatible with Quicktime.
This commit is contained in:
committed by
Greyson Parrelli
parent
bc5d27ed90
commit
8e7383be05
@@ -378,6 +378,14 @@ final class Mp4Writer extends DefaultBoxes implements SampleSink {
|
||||
return mdhd;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Box createTkhd(StreamingTrack streamingTrack) {
|
||||
TrackHeaderBox tkhd = (TrackHeaderBox) super.createTkhd(streamingTrack);
|
||||
tkhd.setEnabled(true);
|
||||
tkhd.setInMovie(true);
|
||||
return tkhd;
|
||||
}
|
||||
|
||||
private class Mdat implements Box {
|
||||
final ArrayList<StreamingSample> samples;
|
||||
long size;
|
||||
|
||||
Reference in New Issue
Block a user