• Nicolas Dufresne's avatar
    videocrop: Make sure new crop is applied · 36f1a9bc
    Nicolas Dufresne authored
    Since "basetransform: Fix caps equality check" commit a7f357,
    set_info() will not be called anymore if crop didn't change
    the caps. This is fixed by setting "need_update" boolean when
    cropping properties has been changed, and then applying these
    if they where not applied before rendering the next frame. This
    patch also fixed the locking, dropping un-needed custom lock,
    and no holding needless lock while doing the operation as we
    already hold the streaming lock.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740787
    36f1a9bc