mirror of
https://github.com/samsonjs/media.git
synced 2026-04-11 12:15:47 +00:00
Add error message if track is added during transformation
PiperOrigin-RevId: 505670386
This commit is contained in:
parent
1d968c3a55
commit
32d4686c56
1 changed files with 3 additions and 1 deletions
|
|
@ -153,7 +153,9 @@ import java.util.concurrent.atomic.AtomicLong;
|
|||
sampleConsumersByTrackType.put(trackType, sampleConsumer);
|
||||
return sampleConsumer;
|
||||
}
|
||||
return checkStateNotNull(sampleConsumersByTrackType.get(trackType));
|
||||
return checkStateNotNull(
|
||||
sampleConsumersByTrackType.get(trackType),
|
||||
"The preceding MediaItem does not contain any track of type " + trackType);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue