ext/mad/gstmad.c: Ignore CRCs by default (fixes #142566).

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_class_init), (gst_mad_init):
Ignore CRCs by default (fixes #142566).
This commit is contained in:
Ronald S. Bultje 2004-05-16 20:50:13 +00:00
parent 4a3d8d3dc1
commit 33e58c689e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-05-16 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/mad/gstmad.c: (gst_mad_class_init), (gst_mad_init):
Ignore CRCs by default (fixes #142566).
2004-05-16 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open),

View file

@ -294,7 +294,7 @@ gst_mad_class_init (GstMadClass * klass)
FALSE, G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, ARG_IGNORE_CRC,
g_param_spec_boolean ("ignore_crc", "Ignore CRC", "Ignore CRC errors",
FALSE, G_PARAM_READWRITE));
TRUE, G_PARAM_READWRITE));
/* register tags */
#define GST_TAG_LAYER "layer"
@ -357,7 +357,7 @@ gst_mad_init (GstMad * mad)
mad->tags = NULL;
mad->half = FALSE;
mad->ignore_crc = FALSE;
mad->ignore_crc = TRUE;
mad->check_for_xing = TRUE;
GST_FLAG_SET (mad, GST_ELEMENT_EVENT_AWARE);
}