summaryrefslogtreecommitdiffstats
path: root/gst/real/gstrealvideodec.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-09-19 13:50:44 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-09-19 13:50:44 +0000
commit67ec288392f0e9c2a97c5c78f8014473bddd91b8 (patch)
treede50b815a07db7a4f5230df194cca00645fe694e /gst/real/gstrealvideodec.h
parenta458032e6ebafa9245575155c0d3233d30843762 (diff)
downloadgst-plugins-bad-67ec288392f0e9c2a97c5c78f8014473bddd91b8.tar.gz
gst-plugins-bad-67ec288392f0e9c2a97c5c78f8014473bddd91b8.tar.bz2
gst-plugins-bad-67ec288392f0e9c2a97c5c78f8014473bddd91b8.zip
gst/real/gstrealvideodec.*: Don't generate an error for occasional decoding errors.
Original commit message from CVS: * gst/real/gstrealvideodec.c: (gst_real_video_dec_chain), (open_library), (gst_real_video_dec_init), (gst_real_video_dec_set_property), (gst_real_video_dec_get_property), (gst_real_video_dec_class_init): * gst/real/gstrealvideodec.h: Don't generate an error for occasional decoding errors. Add max-errors property. Error out when we receive max-errors in a row. Fixes #478159.
Diffstat (limited to 'gst/real/gstrealvideodec.h')
-rw-r--r--gst/real/gstrealvideodec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/real/gstrealvideodec.h b/gst/real/gstrealvideodec.h
index db2496f4..148bd8ae 100644
--- a/gst/real/gstrealvideodec.h
+++ b/gst/real/gstrealvideodec.h
@@ -65,11 +65,17 @@ struct _GstRealVideoDec
gint format, subformat;
gint framerate_num, framerate_denom;
+ gint error_count;
+
/* Hooks */
GstRealVideoDecHooks hooks;
/* Properties */
- gchar *real_codecs_path, *rv20_names, *rv30_names, *rv40_names;
+ gchar *real_codecs_path;
+ gchar *rv20_names;
+ gchar *rv30_names;
+ gchar *rv40_names;
+ gint max_errors;
};
struct _GstRealVideoDecClass