Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
467e9d61
Commit
467e9d61
authored
Jul 18, 2014
by
Nicolas Martyanoff
Committed by
Michael Niedermayer
Jul 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/hlsenc: add some empty lines to make the code easier to read
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
706fcffc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
hlsenc.c
libavformat/hlsenc.c
+7
-0
No files found.
libavformat/hlsenc.c
View file @
467e9d61
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
typedef
struct
HLSSegment
{
typedef
struct
HLSSegment
{
char
filename
[
1024
];
char
filename
[
1024
];
double
duration
;
/* in seconds */
double
duration
;
/* in seconds */
struct
HLSSegment
*
next
;
struct
HLSSegment
*
next
;
}
HLSSegment
;
}
HLSSegment
;
...
@@ -43,20 +44,26 @@ typedef struct HLSContext {
...
@@ -43,20 +44,26 @@ typedef struct HLSContext {
int64_t
sequence
;
int64_t
sequence
;
int64_t
start_sequence
;
int64_t
start_sequence
;
AVOutputFormat
*
oformat
;
AVOutputFormat
*
oformat
;
AVFormatContext
*
avf
;
AVFormatContext
*
avf
;
float
time
;
// Set by a private option.
float
time
;
// Set by a private option.
int
max_nb_segments
;
// Set by a private option.
int
max_nb_segments
;
// Set by a private option.
int
wrap
;
// Set by a private option.
int
wrap
;
// Set by a private option.
int64_t
recording_time
;
int64_t
recording_time
;
int
has_video
;
int
has_video
;
int64_t
start_pts
;
int64_t
start_pts
;
int64_t
end_pts
;
int64_t
end_pts
;
double
duration
;
// last segment duration computed so far, in seconds
double
duration
;
// last segment duration computed so far, in seconds
int
nb_entries
;
int
nb_entries
;
HLSSegment
*
segments
;
HLSSegment
*
segments
;
HLSSegment
*
last_segment
;
HLSSegment
*
last_segment
;
char
*
basename
;
char
*
basename
;
char
*
baseurl
;
char
*
baseurl
;
AVIOContext
*
pb
;
AVIOContext
*
pb
;
}
HLSContext
;
}
HLSContext
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment