summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-11-09 13:43:53 -0800
committerGitHub <[email protected]>2017-11-09 13:43:53 -0800
commit65597ee7f4bfa11838d815fceb6bc6dd24150c1f (patch)
treed044e1fb014797b4526508d4d423194079d746a5 /libhb/common.h
parent86d6345771e3b2fb22255620aa91cf77fdf15f10 (diff)
Add adaptive streaming support (#972)
"Adaptive streaming" allows changing video parameters mid-stream at IDR boundaries. Such changes require new SPS and PPS NALs at the IDR. MP4 supports this with 'avc3' and 'hev1' sample entry types.
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 2b8467d82..7e0a6f31b 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -614,6 +614,11 @@ struct hb_job_s
int mux;
char * file;
+ int inline_parameter_sets;
+ // Put h.264/h.265 SPS and PPS
+ // inline in the stream. This
+ // is necessary when constructing
+ // adaptive streaming dash files.
int align_av_start; // align A/V stream start times.
// This is used to work around mp4
// players that do not support edit