mirror of
https://github.com/arthenica/ffmpeg-kit.git
synced 2026-05-07 20:22:27 +00:00
unify the names of execute methods that accept a string for android
This commit is contained in:
@@ -54,7 +54,7 @@ public class FFmpegKit {
|
||||
* @param arguments FFmpeg command options/arguments as string array
|
||||
* @return FFmpeg session created for this execution
|
||||
*/
|
||||
public static FFmpegSession execute(final String[] arguments) {
|
||||
public static FFmpegSession executeWithArguments(final String[] arguments) {
|
||||
final FFmpegSession session = new FFmpegSession(arguments);
|
||||
|
||||
FFmpegKitConfig.ffmpegExecute(session);
|
||||
@@ -159,7 +159,7 @@ public class FFmpegKit {
|
||||
* @return FFmpeg session created for this execution
|
||||
*/
|
||||
public static FFmpegSession execute(final String command) {
|
||||
return execute(FFmpegKitConfig.parseArguments(command));
|
||||
return executeWithArguments(FFmpegKitConfig.parseArguments(command));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+2
-2
@@ -68,7 +68,7 @@ public class FFprobeKit {
|
||||
* @param arguments FFprobe command options/arguments as string array
|
||||
* @return FFprobe session created for this execution
|
||||
*/
|
||||
public static FFprobeSession execute(final String[] arguments) {
|
||||
public static FFprobeSession executeWithArguments(final String[] arguments) {
|
||||
final FFprobeSession session = new FFprobeSession(arguments);
|
||||
|
||||
FFmpegKitConfig.ffprobeExecute(session);
|
||||
@@ -169,7 +169,7 @@ public class FFprobeKit {
|
||||
* @return FFprobe session created for this execution
|
||||
*/
|
||||
public static FFprobeSession execute(final String command) {
|
||||
return execute(FFmpegKitConfig.parseArguments(command));
|
||||
return executeWithArguments(FFmpegKitConfig.parseArguments(command));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user