Skip to content

Commit 223473b

Browse files
authored
Merge pull request #66 from xSAVIKx/fix-video-recording
Fix video recording for non-Oracle JVMs
2 parents ba0d436 + c9dfe8b commit 223473b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<modelVersion>4.0.0</modelVersion>
2222
<groupId>com.github.xsavikx</groupId>
2323
<artifactId>androidscreencast</artifactId>
24-
<version>0.0.18s-SNAPSHOT</version>
24+
<version>0.0.19s-SNAPSHOT</version>
2525
<name>Android Screencast</name>
2626
<packaging>jar</packaging>
2727
<properties>

src/main/java/com/github/xsavikx/androidscreencast/api/injector/ScreenCaptureRunnable.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,9 @@ public void setListener(final ScreenCaptureListener listener) {
129129
this.listener = listener;
130130
}
131131

132-
133132
public void startRecording(final File file) {
134133
try {
135-
qos = new QuickTimeOutputStream(file, QuickTimeOutputStream.VideoFormat.JPG);
134+
qos = new QuickTimeOutputStream(file, QuickTimeOutputStream.VideoFormat.PNG);
136135
qos.setVideoCompressionQuality(MOV_COMPRESSION_RATE);
137136
qos.setTimeScale(MOV_FPS);
138137
} catch (final IOException e) {

0 commit comments

Comments
 (0)