Function

Gst-1.0Gstmeta_api_type_aggregate_paramsSince 1.26

  • When a element like tee decides the allocation, each downstream element may fill different parameters and pass them to gst_query_add_allocation_meta(). In order to keep these parameters, a merge operation is needed. This aggregate function can combine the parameters from params0 and param1, and write the result back into aggregated_params.

    Parameters

    • api: GType

      the GType of the API for which the parameters are being aggregated.

    • aggregated_params: Structure

      This structure will be updated with the combined parameters from both params0 and params1.

    • params0: Structure

      a Gst.Structure containing the new parameters to be aggregated.

    • params1: Structure

      a Gst.Structure containing the new parameters to be aggregated.

    Returns boolean

    true if the parameters were successfully aggregated, false otherwise.

    1.26