diff --git a/ChangeLog b/ChangeLog index bfbd9ab27b..542347f6b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-01-26 Jan Schmidt + + * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init) + Use 1/2 a second for default max_discont, as PES streams from DVB + seem to have larger spacings in the SCR. + Fix a typo. + 2005-01-25 Ronald S. Bultje * gst/playback/gstplaybasebin.c: (group_commit): diff --git a/gst/mpegstream/gstmpegparse.c b/gst/mpegstream/gstmpegparse.c index a7deb6c90b..e4a1aac934 100644 --- a/gst/mpegstream/gstmpegparse.c +++ b/gst/mpegstream/gstmpegparse.c @@ -44,7 +44,7 @@ static GstElementDetails mpeg_parse_details = { #define CLASS(o) GST_MPEG_PARSE_CLASS (G_OBJECT_GET_CLASS (o)) -#define DEFAULT_MAX_DISCONT 10000 +#define DEFAULT_MAX_DISCONT 45000 /* GstMPEGParse signals and args */ enum @@ -163,7 +163,7 @@ gst_mpeg_parse_class_init (GstMPEGParseClass * klass) FALSE, G_PARAM_READWRITE)); g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MAX_DISCONT, g_param_spec_int ("max_discont", "Max Discont", - "The maximun allowed SCR discontinuity", 0, G_MAXINT, + "The maximum allowed SCR discontinuity", 0, G_MAXINT, DEFAULT_MAX_DISCONT, G_PARAM_READWRITE)); /* FIXME: Default is TRUE to make the behavior backwards compatible. It probably should be FALSE. */