Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas Martyanoff authored on 2014/07/18 17:57:42... | ... |
@@ -34,6 +34,7 @@ |
34 | 34 |
typedef struct HLSSegment { |
35 | 35 |
char filename[1024]; |
36 | 36 |
double duration; /* in seconds */ |
37 |
+ |
|
37 | 38 |
struct HLSSegment *next; |
38 | 39 |
} HLSSegment; |
39 | 40 |
|
... | ... |
@@ -43,20 +44,26 @@ typedef struct HLSContext { |
43 | 43 |
int64_t sequence; |
44 | 44 |
int64_t start_sequence; |
45 | 45 |
AVOutputFormat *oformat; |
46 |
+ |
|
46 | 47 |
AVFormatContext *avf; |
48 |
+ |
|
47 | 49 |
float time; // Set by a private option. |
48 | 50 |
int max_nb_segments; // Set by a private option. |
49 | 51 |
int wrap; // Set by a private option. |
52 |
+ |
|
50 | 53 |
int64_t recording_time; |
51 | 54 |
int has_video; |
52 | 55 |
int64_t start_pts; |
53 | 56 |
int64_t end_pts; |
54 | 57 |
double duration; // last segment duration computed so far, in seconds |
55 | 58 |
int nb_entries; |
59 |
+ |
|
56 | 60 |
HLSSegment *segments; |
57 | 61 |
HLSSegment *last_segment; |
62 |
+ |
|
58 | 63 |
char *basename; |
59 | 64 |
char *baseurl; |
65 |
+ |
|
60 | 66 |
AVIOContext *pb; |
61 | 67 |
} HLSContext; |
62 | 68 |
|