Merge pull request #4 from everycastlabs/add-feature-rank

Add feature rank
This commit is contained in:
Wilhelm Bartel
2023-08-24 10:41:19 +02:00
committed by GitHub
4 changed files with 66 additions and 8 deletions

View File

@@ -490,6 +490,16 @@ const (
PadProbeTypeScheduling PadProbeType = C.GST_PAD_PROBE_TYPE_SCHEDULING // (12288) probe push and pull
)
// Rank casts GstRank
type Rank uint
const (
RankNone Rank = C.GST_RANK_NONE // (0) - will be chosen last or not at all
RankMarginal Rank = C.GST_RANK_MARGINAL // (64) unlikely to be chosen
RankSecondary Rank = C.GST_RANK_SECONDARY // (128) likely to be chosen
RankPrimary Rank = C.GST_RANK_PRIMARY // (256) will be chosen first
)
// SchedulingFlags casts GstSchedulingFlags
type SchedulingFlags int