From 15bae29658142bb724a3b4b0d9f68d1dccdbaf53 Mon Sep 17 00:00:00 2001 From: Young-Ho Cha Date: Sat, 13 May 2006 18:39:13 +0000 Subject: ext/faad/gstfaad.*: If we encounter a decoding error, don't error out immediately, but try to resync (or see if we ha... Original commit message from CVS: Patch by: Young-Ho Cha * ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chain), (gst_faad_change_state): * ext/faad/gstfaad.h: If we encounter a decoding error, don't error out immediately, but try to resync (or see if we have better luck with the next buffer in case of framed input). Only error out after five consecutive errors. Fixes #341563. --- ext/faad/gstfaad.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/faad/gstfaad.h') diff --git a/ext/faad/gstfaad.h b/ext/faad/gstfaad.h index 160b8ba4..2650223f 100644 --- a/ext/faad/gstfaad.h +++ b/ext/faad/gstfaad.h @@ -63,6 +63,7 @@ typedef struct _GstFaad { gint64 next_ts; /* timestamp of next buffer */ guint64 bytes_in; /* bytes received */ guint64 sum_dur_out; /* sum of durations of decoded buffers we sent out */ + gint error_count; } GstFaad; typedef struct _GstFaadClass { -- cgit v1.2.1