Pad.queryDuration

Queries a pad for the total stream duration.

  1. long queryDuration()
  2. int queryDuration(GstFormat format, long duration)
    class Pad
    int
    queryDuration

Parameters

format GstFormat

the GstFormat requested

duration long

a location in which to store the total duration, or NULL. out[allow-none]

Return Value

Type: int

TRUE if the query could be performed.

Meta