The present invention relates to a method and production line for inline processing of food products. The method comprises the step of co-extruding a food dough into a flow of co-extruded food products having a casing that comprises a protein, or a hybrid casing of a protein and a polymer, wherein the method subsequently comprises the successive steps of: a) subjecting the flow of co-extruded food products to a surface treating step, b) subjecting the flow of food products to a thermal treating step, and c) optionally, subjecting the thermally treated flow of food products to a post-thermal treating step, wherein in step b) the flow of food products is at least subsequently subjected to a first thermal treating step, and a second thermal treating step.La présente invention concerne un procédé et une chaîne de production permettant le traitement à la chaîne de produits alimentaires. Le procédé comprend l'étape de co-extrusion d'une pâte alimentaire dans un flux de produits alimentaires co-extrudés présentant un boîtier qui comprend une protéine, ou un boîtier hybride d'une protéine et d'un polymère, le procédé comprenant ensuite les étapes successives de : a) soumission du flux de produits alimentaires co-extrudés à une étape de traitement de surface, b) soumission du flux de produits alimentaires à une étape de traitement thermique et c) facultativement, soumission du flux de produits alimentaires traité thermiquement à une étape de traitement post-thermique, dans l'étape b) le flux de produits alimentaires étant au moins ensuite soumis à une première étape de traitement thermique et une seconde étape de traitement thermique.