diff options
author | Young-Ho Cha <ganadist@chollian.net> | 2006-05-13 18:39:13 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-05-13 18:39:13 +0000 |
commit | 15bae29658142bb724a3b4b0d9f68d1dccdbaf53 (patch) | |
tree | 10a6aadcd0cc042066ecdc2eff930aa2a4df95f9 /ext/faad/gstfaad.h | |
parent | 3ca1e62f030ce440af47a35f6c68ef7cfa267076 (diff) | |
download | gst-plugins-bad-15bae29658142bb724a3b4b0d9f68d1dccdbaf53.tar.gz gst-plugins-bad-15bae29658142bb724a3b4b0d9f68d1dccdbaf53.tar.bz2 gst-plugins-bad-15bae29658142bb724a3b4b0d9f68d1dccdbaf53.zip |
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 <ganadist chollian net>
* 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.
Diffstat (limited to 'ext/faad/gstfaad.h')
-rw-r--r-- | ext/faad/gstfaad.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |