Navigation.queryParseCommandsNth

Parse the #GstNavigation command query and retrieve the nth command from it into cmd. If the list contains less elements than nth, cmd will be set to #GST_NAVIGATION_COMMAND_INVALID.

interface Navigation
static
bool
queryParseCommandsNth

Parameters

query gst.query.Query

a #GstQuery

nth uint

the nth command to retrieve.

cmd gstvideo.types.NavigationCommand

a pointer to store the nth command into.

Return Value

Type: bool

true if the query could be successfully parsed. false if not.