Skip to content

Commit

Permalink
Renamed frames to previewFrames (so it's better understandable)
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Jun 15, 2021
1 parent 23853e7 commit 824e056
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ private static StreamInfo extractOptionalData(StreamInfo streamInfo, StreamExtra
}

try {
streamInfo.setFrames(extractor.getFrames());
streamInfo.setPreviewFrames(extractor.getFrames());
} catch (Exception e) {
streamInfo.addError(e);
}
Expand Down Expand Up @@ -393,9 +393,9 @@ private static StreamInfo extractOptionalData(StreamInfo streamInfo, StreamExtra
private List<MetaInfo> metaInfo = new ArrayList<>();

/**
* Frames, e.g. for the storyboard / seekbar thumbnail preview
* Preview frames, e.g. for the storyboard / seekbar thumbnail preview
*/
private List<Frameset> frames = new ArrayList<>();
private List<Frameset> previewFrames = new ArrayList<>();

/**
* Get the stream type
Expand Down Expand Up @@ -722,12 +722,12 @@ public void setMetaInfo(final List<MetaInfo> metaInfo) {
this.metaInfo = metaInfo;
}

public List<Frameset> getFrames() {
return frames;
public List<Frameset> getPreviewFrames() {
return previewFrames;
}

public void setFrames(List<Frameset> frames) {
this.frames = frames;
public void setPreviewFrames(final List<Frameset> previewFrames) {
this.previewFrames = previewFrames;
}

@Nonnull
Expand Down

0 comments on commit 824e056

Please sign in to comment.