mirror of
https://github.com/androidx/media.git
synced 2025-05-09 16:40:55 +08:00
Signal when supplemental data is present for vp9
PiperOrigin-RevId: 266085854
This commit is contained in:
parent
0a0ab8d5e7
commit
1b3cb639b3
@ -66,6 +66,7 @@ public abstract class VideoDecoderOutputBuffer extends OutputBuffer {
|
||||
this.timeUs = timeUs;
|
||||
this.mode = mode;
|
||||
if (supplementalData != null) {
|
||||
addFlag(C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA);
|
||||
int size = supplementalData.limit();
|
||||
if (this.supplementalData == null || this.supplementalData.capacity() < size) {
|
||||
this.supplementalData = ByteBuffer.allocate(size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user