diff options
author | John Stebbins <[email protected]> | 2017-11-09 13:43:53 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-09 13:43:53 -0800 |
commit | 65597ee7f4bfa11838d815fceb6bc6dd24150c1f (patch) | |
tree | d044e1fb014797b4526508d4d423194079d746a5 /libhb/preset.c | |
parent | 86d6345771e3b2fb22255620aa91cf77fdf15f10 (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/preset.c')
-rw-r--r-- | libhb/preset.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/preset.c b/libhb/preset.c index 4693fca2a..8aecdccff 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -1722,6 +1722,9 @@ int hb_preset_apply_mux(const hb_dict_t *preset, hb_dict_t *job_dict) hb_dict_set(dest_dict, "AlignAVStart", hb_value_xform(hb_dict_get(preset, "AlignAVStart"), HB_VALUE_TYPE_BOOL)); + hb_dict_set(dest_dict, "InlineParameterSets", + hb_value_xform(hb_dict_get(preset, "InlineParameterSets"), + HB_VALUE_TYPE_BOOL)); if (mux & HB_MUX_MASK_MP4) { hb_dict_t *mp4_dict = hb_dict_init(); |