Skip to content

Commit 79a5d53

Browse files
updated assets + updated tests
1 parent 3b57c74 commit 79a5d53

File tree

8 files changed

+13
-9
lines changed

8 files changed

+13
-9
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ android:
1212

1313
- sys-img-x86-android-19
1414
- sys-img-armeabi-v7a-android-16
15+
- sys-img-armeabi-v7a-android-l
16+
- sys-img-x86-android-l
1517

1618
script:
1719
- ./runTests.sh || exit 1
164 KB
Binary file not shown.
168 KB
Binary file not shown.

FFmpegAndroid/assets/x86/ffmpeg

984 KB
Binary file not shown.

FFmpegAndroid/src/main/java/com/github/hiteshsondhi88/libffmpeg/CpuArch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import android.text.TextUtils;
44

55
enum CpuArch {
6-
x86("f04974831890b3750761e487f3e4b0d9bdb688a1"),
7-
ARMv7("3f4580bce9187f94b6cf8ef530074ef0975cb476"),
8-
ARMv7_NEON("fc544c42cf0ef993c0b55463807e5c68cd323c93"),
6+
x86("cbc1a2b2f1b832265e030f77ce1a25f5c7e0d11a"),
7+
ARMv7("93deccc6257ade540302fcd2a08a04cff7bc3f21"),
8+
ARMv7_NEON("ca1729aba3c5a4cb802d3fc0deca80a5c45ea0b8"),
99
NONE(null);
1010

1111
private String sha1;

app/assets/sample_videos/sample_1.mkv

1.3 MB
Binary file not shown.

runTests.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/bin/bash
22

33
# x86 emulator
4-
echo no | android create avd -c 50M --force -n testx86 -t android-19 --abi x86
5-
emulator -ports 5554,5555 -partition-size 256 -avd testx86 -no-skin -no-boot-anim -no-audio -no-window &
4+
echo no | android create avd -c 50M --force -n testx86 -t android-16 --abi x86
5+
emulator -ports 5554,5555 -partition-size 256 -avd testx86 -no-skin -no-boot-anim -no-audio -no-window -gpu on &
66
PID_EMU1=$!
7-
./wait_for_emulator emulator-5554
7+
./wait_for_emulator emulator-5554 || exit 1
8+
adb -s emulator-5554 shell input keyevent 82 &
89

910
# armeabi-v7a emulator
1011
echo no | android create avd -c 50M --force -n testarm -t android-16 --abi armeabi-v7a
11-
emulator -ports 5556,5557 -partition-size 256 -avd testarm -no-skin -no-boot-anim -no-audio -no-window &
12+
emulator -ports 5556,5557 -partition-size 256 -avd testarm -no-skin -no-boot-anim -no-audio -no-window -gpu on &
1213
PID_EMU2=$!
13-
./wait_for_emulator emulator-5556
14+
./wait_for_emulator emulator-5556 || exit 1
15+
adb -s emulator-5556 shell input keyevent 82 &
1416

1517
# Running Tests
1618
./gradlew --info build connectedCheck || exit 1

wait_for_emulator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ until [[ "$bootanim" =~ "stopped" ]]; do
1616
if [[ "$bootanim" =~ "not found" ]]; then
1717
let "failcounter += 1"
1818
sleep 5
19-
if [[ $failcounter -gt 100 ]]; then
19+
if [[ $failcounter -gt 15 ]]; then
2020
echo "Failed to start emulator"
2121
exit 1
2222
fi

0 commit comments

Comments
 (0)