From 3e8442ce4aa316ec72aeabfff12ca47cbe39fcb1 Mon Sep 17 00:00:00 2001 From: xufulong <839789740@qq.com> Date: Sat, 16 Nov 2019 15:12:31 +0800 Subject: [PATCH] remove VideoPlayer remove VideoPlayer --- app/src/main/AndroidManifest.xml | 4 - .../ffmpeg/activity/VideoHandleActivity.java | 7 - .../ffmpeg/activity/VideoPlayerActivity.java | 125 ------------------ .../main/res/layout/activity_video_handle.xml | 7 - .../main/res/layout/activity_video_player.xml | 31 ----- 5 files changed, 174 deletions(-) delete mode 100644 app/src/main/java/com/frank/ffmpeg/activity/VideoPlayerActivity.java delete mode 100644 app/src/main/res/layout/activity_video_player.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3620067..fd67a73 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -33,10 +33,6 @@ - - = 1/32){ - playRate *= 0.5; - } - Log.i(TAG, "fast playRate=" + playRate); - videoPlayer.setPlayRate(playRate); - break; - case R.id.btn_slow: - if(playRate <= 32){ - playRate *= 2; - } - Log.i(TAG, "slow playRate=" + playRate); - videoPlayer.setPlayRate(playRate); - break; - default: - break; - } - } - - @Override - void onSelectedFile(String filePath) { - if (surfaceCreated) { - startPlay(filePath); - } - } - -} diff --git a/app/src/main/res/layout/activity_video_handle.xml b/app/src/main/res/layout/activity_video_handle.xml index f2d0070..5d464a8 100644 --- a/app/src/main/res/layout/activity_video_handle.xml +++ b/app/src/main/res/layout/activity_video_handle.xml @@ -79,13 +79,6 @@ android:layout_marginTop="4dp" android:text="@string/video_from_photo"/> -