From fa41f815d4b75a978c3f7ad947151b4bf1a76a00 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 25 Jan 2005 18:26:45 +0000 Subject: [PATCH] gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init) Original commit message from CVS: * 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. --- ChangeLog | 7 +++++++ gst/mpegstream/gstmpegparse.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfbd9ab..542347f 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 a7deb6c..e4a1aac 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. */ -- 2.7.4