|
@@ -246,6 +246,8 @@ extension OJADecoder {
|
|
if let mMovieInput = input as? OJAMovieFrameInput {
|
|
if let mMovieInput = input as? OJAMovieFrameInput {
|
|
if let inputBuffer = mMovieInput.readVideoSampleBuffer() {
|
|
if let inputBuffer = mMovieInput.readVideoSampleBuffer() {
|
|
mMovieInput.processFrame(atSampleTime: sampleBufferTime, frameBuffer: inputBuffer)
|
|
mMovieInput.processFrame(atSampleTime: sampleBufferTime, frameBuffer: inputBuffer)
|
|
|
|
+ }else {
|
|
|
|
+ input.processFrame(atSampleTime: sampleBufferTime)
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
input.processFrame(atSampleTime: sampleBufferTime)
|
|
input.processFrame(atSampleTime: sampleBufferTime)
|