|
|
|
|
@ -4,7 +4,6 @@ import android.content.Context |
|
|
|
|
import android.graphics.Bitmap |
|
|
|
|
import android.graphics.Canvas |
|
|
|
|
import android.graphics.RectF |
|
|
|
|
import kotlinx.coroutines.android.awaitFrame |
|
|
|
|
import net.pokeranalytics.android.exceptions.PAIllegalStateException |
|
|
|
|
import net.pokeranalytics.android.model.handhistory.Street |
|
|
|
|
import net.pokeranalytics.android.model.realm.handhistory.Action |
|
|
|
|
@ -516,7 +515,7 @@ class ReplayerAnimator(var handHistory: HandHistory, var export: Boolean) { |
|
|
|
|
* Generates images and image descriptor to build the video using ffmpeg |
|
|
|
|
* Command line: https://trac.ffmpeg.org/wiki/Slideshow |
|
|
|
|
*/ |
|
|
|
|
suspend fun generateVideoContent(context: Context): File { |
|
|
|
|
fun generateVideoContent(context: Context): File { |
|
|
|
|
|
|
|
|
|
var ffmpegImageDescriptor = "" |
|
|
|
|
var vo = 0.0 |
|
|
|
|
@ -550,7 +549,7 @@ class ReplayerAnimator(var handHistory: HandHistory, var export: Boolean) { |
|
|
|
|
|
|
|
|
|
count++ |
|
|
|
|
|
|
|
|
|
awaitFrame() |
|
|
|
|
// awaitFrame() |
|
|
|
|
} |
|
|
|
|
nextStep() |
|
|
|
|
} |
|
|
|
|
|