Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Nirostar
Copy link

  • Change Java Version to 8 because of org.jcodec.api.transcode.SinkImpl using java.lang.reflect.Parameter
  • Close inputs at slow metadata save and delete and then move. This also fixes the test testKeyedWriteSlow() (on Windows)

* Change Java Version to 8 because of org.jcodec.api.transcode.SinkImpl using java.lang.reflect.Parameter
* Close inputs at slow metadata save and delete and then move. This also fixes the test testKeyedWriteSlow() (on Windows)
@Nirostar
Copy link
Author

Is something wrong with this pull request?

<encoding>UTF-8</encoding>
<source>1.6</source>
<target>1.6</target>
<source>8</source>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't change the source version. We try to keep the code backwards compatible. IMO there's no reason we might need the features of java 8.

Copy link
Collaborator

@svitvitskiy svitvitskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments


for (int i = 0; i < tracks.length; i++) {
writers[i].apply();
writers[i].close();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Close should be handled outside of this code.

flattenChannel(movie, out);
} finally {
if (out != null)
out.close();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we are already closing the file right here, so that should be sufficient.

# Conflicts:
#	src/main/java/org/jcodec/containers/mp4/ChunkWriter.java
#	src/main/java/org/jcodec/movtool/Flatten.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants