Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
948ccfe2
authored
Feb 21, 2023
by
kimvde
Committed by
Andrew Lewis
Feb 24, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Document that the output file is not deleted in case of error/cancel
PiperOrigin-RevId: 511189130
parent
7e377854
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java
View file @
948ccfe2
...
@@ -490,6 +490,8 @@ public final class Transformer {
...
@@ -490,6 +490,8 @@ public final class Transformer {
/**
/**
* Called if an exception occurs during the export.
* Called if an exception occurs during the export.
*
*
* <p>The export output file (if any) is not deleted in this case.
*
* @param composition The {@link Composition} for which the exception occurs.
* @param composition The {@link Composition} for which the exception occurs.
* @param exportResult The {@link ExportResult} of the export.
* @param exportResult The {@link ExportResult} of the export.
* @param exportException The {@link ExportException} describing the exception. This is the same
* @param exportException The {@link ExportException} describing the exception. This is the same
...
@@ -852,6 +854,8 @@ public final class Transformer {
...
@@ -852,6 +854,8 @@ public final class Transformer {
/**
/**
* Cancels the export that is currently in progress, if any.
* Cancels the export that is currently in progress, if any.
*
*
* <p>The export output file (if any) is not deleted.
*
* @throws IllegalStateException If this method is called from the wrong thread.
* @throws IllegalStateException If this method is called from the wrong thread.
*/
*/
public
void
cancel
()
{
public
void
cancel
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment