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.
This commit is contained in:
Jan Schmidt 2005-01-25 18:26:45 +00:00
parent 1f25f7272e
commit fa41f815d4
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-01-26 Jan Schmidt <thaytan@mad.scientist.com>
* 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 <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c: (group_commit):

View file

@ -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. */