File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
libraries/muxer/src/main/java/androidx/media3/muxer Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -137,16 +137,16 @@ public Mp4Muxer build() {
137
137
new Mp4MoovStructure (metadataCollector , lastFrameDurationBehavior );
138
138
AnnexBToAvccConverter avccConverter =
139
139
annexBToAvccConverter == null ? AnnexBToAvccConverter .DEFAULT : annexBToAvccConverter ;
140
- BasicMp4Writer mp4Writer = new BasicMp4Writer (fileOutputStream , moovStructure , avccConverter );
140
+ Mp4Writer mp4Writer = new Mp4Writer (fileOutputStream , moovStructure , avccConverter );
141
141
142
142
return new Mp4Muxer (mp4Writer , metadataCollector );
143
143
}
144
144
}
145
145
146
- private final BasicMp4Writer mp4Writer ;
146
+ private final Mp4Writer mp4Writer ;
147
147
private final MetadataCollector metadataCollector ;
148
148
149
- private Mp4Muxer (BasicMp4Writer mp4Writer , MetadataCollector metadataCollector ) {
149
+ private Mp4Muxer (Mp4Writer mp4Writer , MetadataCollector metadataCollector ) {
150
150
this .mp4Writer = mp4Writer ;
151
151
this .metadataCollector = metadataCollector ;
152
152
}
Original file line number Diff line number Diff line change 37
37
import java .util .concurrent .atomic .AtomicBoolean ;
38
38
39
39
/** Writes all media samples into a single mdat box. */
40
- /* package */ final class BasicMp4Writer {
40
+ /* package */ final class Mp4Writer {
41
41
private static final long INTERLEAVE_DURATION_US = 1_000_000L ;
42
42
43
43
private final FileOutputStream outputStream ;
63
63
* H.265 NAL units from the Annex-B format (using start codes to delineate NAL units) to the
64
64
* AVCC format (which uses length prefixes).
65
65
*/
66
- public BasicMp4Writer (
66
+ public Mp4Writer (
67
67
FileOutputStream outputStream ,
68
68
Mp4MoovStructure moovGenerator ,
69
69
AnnexBToAvccConverter annexBToAvccConverter ) {
You can’t perform that action at this time.
0 commit comments