Skip to content

Commit a83d838

Browse files
committed
h265_framer: export constraint_idc
1 parent b2685a4 commit a83d838

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/upipe-framers/uref_h265_flow.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ UREF_ATTR_SMALL_UNSIGNED(h265_flow, profile_space, "h265.profilespace",
4343
profile space)
4444
UREF_ATTR_UNSIGNED(h265_flow, profile_compatibility, "h265.profilecomp",
4545
profile compatibility)
46+
UREF_ATTR_UNSIGNED(h265_flow, profile_constraint, "h265.profileconstraint",
47+
profile constraint)
4648
UREF_ATTR_SMALL_UNSIGNED(h265_flow, level, "h265.level", level)
4749

4850
#ifdef __cplusplus

lib/upipe-framers/upipe_h265_framer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,8 @@ static bool upipe_h265f_activate_sps(struct upipe *upipe, uint32_t sps_id)
808808
uref_h265_flow_set_level(flow_def, upipe_h265f->level_idc))
809809
UBASE_FATAL(upipe,
810810
uref_h265_flow_set_profile_compatibility(flow_def, upipe_h265f->profile_compatibility))
811+
UBASE_FATAL(upipe,
812+
uref_h265_flow_set_profile_constraint(flow_def, upipe_h265f->constraint_indicator))
811813

812814
uint64_t max_octetrate, max_bs;
813815
uint32_t max_luma_ps;

0 commit comments

Comments
 (0)