Function

Gst-1.0Gstcontext_replaceSince 1.2

  • Modifies a pointer to a Gst.Context to point to a different Gst.Context. The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old context is unreffed, the new one is reffed).

    Either new_context or the Gst.Context pointed to by old_context may be null.

    Parameters

    Returns [boolean, Gst.Context]

    true if new_context was different from old_context

    1.2