unify the names of execute methods that accept a string for android
This commit is contained in:
parent
d1fc22d96f
commit
d8945c1fca
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user