[aravis] gv_stream: add packets with unknown type to ignored packet statistic.



commit e20b7c0d12c89fe0c14e02492b935c4fabd903fb
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu May 12 14:57:51 2011 +0200

    gv_stream: add packets with unknown type to ignored packet statistic.

 src/arvgvstream.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index dfd1e6e..8d50558 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -593,6 +593,9 @@ arv_gv_stream_thread (void *data)
 					case ARV_GVSP_PACKET_TYPE_DATA_TRAILER:
 						_process_data_trailer (thread_data, frame, packet, packet_id);
 						break;
+					default:
+						thread_data->n_ignored_packets++;
+						break;
 				}
 
 				_missing_packet_check (thread_data, frame, packet_id, time_us);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]