unify the names of execute methods that accept a string for android

This commit is contained in:
Taner Sener 2021-12-21 20:54:21 +00:00
parent d1fc22d96f
commit d8945c1fca
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ public class FFmpegKit {
* @param arguments FFmpeg command options/arguments as string array * @param arguments FFmpeg command options/arguments as string array
* @return FFmpeg session created for this execution * @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); final FFmpegSession session = new FFmpegSession(arguments);
FFmpegKitConfig.ffmpegExecute(session); FFmpegKitConfig.ffmpegExecute(session);
@ -159,7 +159,7 @@ public class FFmpegKit {
* @return FFmpeg session created for this execution * @return FFmpeg session created for this execution
*/ */
public static FFmpegSession execute(final String command) { public static FFmpegSession execute(final String command) {
return execute(FFmpegKitConfig.parseArguments(command)); return executeWithArguments(FFmpegKitConfig.parseArguments(command));
} }
/** /**

View File

@ -68,7 +68,7 @@ public class FFprobeKit {
* @param arguments FFprobe command options/arguments as string array * @param arguments FFprobe command options/arguments as string array
* @return FFprobe session created for this execution * @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); final FFprobeSession session = new FFprobeSession(arguments);
FFmpegKitConfig.ffprobeExecute(session); FFmpegKitConfig.ffprobeExecute(session);
@ -169,7 +169,7 @@ public class FFprobeKit {
* @return FFprobe session created for this execution * @return FFprobe session created for this execution
*/ */
public static FFprobeSession execute(final String command) { public static FFprobeSession execute(final String command) {
return execute(FFmpegKitConfig.parseArguments(command)); return executeWithArguments(FFmpegKitConfig.parseArguments(command));
} }
/** /**