make audio encode failure non-fatal so we can run to the end at least
This commit is contained in:
parent
c78d1cb9fd
commit
439e575982
|
@ -186,7 +186,7 @@ impl MyEmulator {
|
||||||
self.video_encoder.encode(&vframe, &mut out).unwrap();
|
self.video_encoder.encode(&vframe, &mut out).unwrap();
|
||||||
}
|
}
|
||||||
while let Ok(..) = self.audio_filter.get("out").unwrap().sink().frame(&mut aframe) {
|
while let Ok(..) = self.audio_filter.get("out").unwrap().sink().frame(&mut aframe) {
|
||||||
self.audio_encoder.encode(&aframe, &mut out).unwrap();
|
self.audio_encoder.encode(&aframe, &mut out);//.unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue