videoEventParseUpstreamForceKeyUnit

Get running-time, all-headers and count in the force key unit event. See gstvideo.global.videoEventNewUpstreamForceKeyUnit for a full description of the upstream force key unit event.

Create an upstream force key unit event using gstvideo.global.videoEventNewUpstreamForceKeyUnit

running_time will be adjusted for any pad offsets of pads it was passing through.

bool
videoEventParseUpstreamForceKeyUnit

Parameters

event gst.event.Event

A #GstEvent to parse

runningTime gst.types.ClockTime

A pointer to the running_time in the event

allHeaders bool

A pointer to the all_headers flag in the event

count uint

A pointer to the count field in the event

Return Value

Type: bool

true if the event is a valid upstream force-key-unit event. false if not