Don't process empty src image in GFTT
Merge pull request #3379 from akarsakov:gftt_empty_src