summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/H264TrackImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/H264TrackImpl.java b/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/H264TrackImpl.java
index b3c1866..db4b8a2 100644
--- a/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/H264TrackImpl.java
+++ b/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/H264TrackImpl.java
@@ -55,10 +55,10 @@ public class H264TrackImpl extends AbstractTrack {
private boolean determineFrameRate = true;
private String lang = "und";
- public H264TrackImpl(InputStream inputStream, String lang, long timescale) throws IOException {
+ public H264TrackImpl(InputStream inputStream, String lang, int timescale) throws IOException {
this.lang = lang;
if (timescale > 1000) {
- timescale = timescale; //e.g. 23976
+ this.timescale = timescale; //e.g. 23976
frametick = 1000;
determineFrameRate = false;
} else {