Update dvr_rec.c

moved prolog call