Drop corrupt frames

Change-Id: Ib5ae5ad2dfc77ac5959b9f731085f6ce13a00554
diff --git a/person_detection/person_detection.py b/person_detection/person_detection.py
index 8d8597f..aa54601 100644
--- a/person_detection/person_detection.py
+++ b/person_detection/person_detection.py
@@ -46,7 +46,7 @@
         if self.input == 'cam':
             input_stream = 0
         elif self.input == 'gstreamer':
-            input_stream = 'udpsrc port=500' + self.device + ' caps = " application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! avdec_h264 ! videoconvert ! appsink'
+            input_stream = 'udpsrc port=500' + self.device + ' caps = " application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! avdec_h264 output-corrupt=false ! videoconvert ! appsink'
         else:
             input_stream = self.input
             assert os.path.isfile(self.input), "Specified input file doesn't exist"