Try to fix the filter / AVFrame ownership.