Skip to content
Closed
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public void doStart() throws SensorException, SensorHubException {
// Reinit executable. Not always necessary, but doesn't hurt.
executable.init();
process.start(this::onError);
//process.start(this::onError);
} catch (ProcessException e) {
logger.error("Could not initialize process.", e);
return;
Expand Down Expand Up @@ -459,7 +460,7 @@ public void publishData() {
}


// Listens for event from dara
// Listens for event from data
protected class DataQueuePusher implements IEventListener {
DataQueue dataQueue;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
public enum CodecEnum {
//AUTO("auto"),
H264(AV_CODEC_ID_H264),
H265(AV_CODEC_ID_H265),
HEVC(AV_CODEC_ID_HEVC), // HEVC and H265 are the same. Having both in this enum helps with auto codec detection.
HEVC(AV_CODEC_ID_HEVC),
MJPEG(AV_CODEC_ID_MJPEG),
VP8(AV_CODEC_ID_VP8),
VP9(AV_CODEC_ID_VP9),
MPEG2(AV_CODEC_ID_MPEG2TS),
MPEG4(AV_CODEC_ID_MPEG4),
RGB(AV_PIX_FMT_RGB24),
YUV(AV_PIX_FMT_YUV420P);
RGB24(AV_PIX_FMT_RGB24),
YUV420P(AV_PIX_FMT_YUV420P);

int ffmpegId;

Expand Down
Loading
Loading