avvidenc: Also set the repeat_pict flag correctly and take the TFF flag from caps if available

18 jobs for ffenc-interlaced in 43 minutes and 21 seconds (queued for 3 seconds)