blob: a5e1df393d30c0a533659c140bded2b4829db864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package de.danoeh.antennapod.feed;
import wseemann.media.FFmpegChapter;
/**
* Represents a chapter contained in a MP4 file.
*/
public class MP4Chapter extends Chapter {
public static final int CHAPTERTYPE_MP4CHAPTER = 4;
/**
* Construct a MP4Chapter from an FFmpegChapter.
*/
public MP4Chapter(FFmpegChapter ch) {
this.start = ch.getStart();
this.title = ch.getTitle();
}
public MP4Chapter(long start, String title, FeedItem item, String link) {
super(start, title, item, link);
}
@Override
public int getChapterType() {
return CHAPTERTYPE_MP4CHAPTER;
}
}
|