gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
authorJan Schmidt <thaytan@mad.scientist.com>
Tue, 25 Jan 2005 18:26:45 +0000 (18:26 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 25 Jan 2005 18:26:45 +0000 (18:26 +0000)
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
gst/mpegstream/gstmpegparse.c

index bfbd9ab..542347f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index a7deb6c..e4a1aac 100644 (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. */