The cross section is estimated for the π+π−π0 invariant mass distribution in the γp reaction in the GeV region. This reaction is assumed to proceed through the formation of the ω meson in the intermediate state, since the production cross section for this meson in the γp reaction in GeV region is significant and it has large branching ratio (88.8%) in the π+π−π0 channel. The cross sections for this reaction have been calculated using the energy dependent reaction amplitude, i.e., fγp→ωp(0), extracted from the latest ω meson photoproduction data. We use established procedure to calculate other factors, like width and propagator of the ω meson, so that our calculation can provide reliable cross section. The calculated results reproduce the measured π+π−π0 invariant mass distribution spectra in the γp reaction.