media: dvb: Report error statistics in new PES events
Report counters for transport error indicator, continuity-counter errors and total number of TS packet constructing a PES in the PES events so that applications can decide whether to decode or drop the packet based on the errors information. Change-Id: I8680163783a12c4f2518cd83fa0b3c7dfa882c34 Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
This commit is contained in:
committed by
Iliyan Malchev
parent
f6bd2774e4
commit
936e0d378e
@@ -5,7 +5,7 @@
|
||||
* & Ralph Metzler <ralph@convergence.de>
|
||||
* for convergence integrated media GmbH
|
||||
*
|
||||
* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
|
||||
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public License
|
||||
@@ -250,6 +250,18 @@ struct dmx_pes_event_info {
|
||||
|
||||
/* Flags passed in filter events */
|
||||
__u32 flags;
|
||||
|
||||
/*
|
||||
* Number of TS packets with Transport Error Indicator (TEI)
|
||||
* found while constructing the PES.
|
||||
*/
|
||||
__u32 transport_error_indicator_counter;
|
||||
|
||||
/* Number of continuity errors found while constructing the PES */
|
||||
__u32 continuity_error_counter;
|
||||
|
||||
/* Total number of TS packets holding the PES */
|
||||
__u32 ts_packets_num;
|
||||
};
|
||||
|
||||
/* Section info associated with DMX_EVENT_NEW_SECTION event */
|
||||
|
||||
Reference in New Issue
Block a user