ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the array. Fixes...
authorJohan Dahlin <johan@gnome.org>
Wed, 19 May 2004 09:21:43 +0000 (09:21 +0000)
committerJohan Dahlin <johan@gnome.org>
Wed, 19 May 2004 09:21:43 +0000 (09:21 +0000)
Original commit message from CVS:
* ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper
ending of the array. Fixes gst-inspect segfault on ppc.

ChangeLog
ext/dv/gstdvdec.c

index 61db29ddb3f09af16288362cb7576d72c962e094..520725e2f608a0a978c8180be9252d1db0bad3db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-19  Johan Dahlin  <johan@gnome.org>
+
+       * ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper
+       ending of the array. Fixes gst-inspect segfault on ppc.
+
 2004-05-18  David Schleef  <ds@schleef.org>
 
        * gst/ffmpegcolorspace/imgconvert.c: (img_convert): Fixes for
index 0e9d3e1f3462f4c4a8d64bc57a87130f1daa03b7..e80c75382b2707a9a5bf31f29a0e3e1ef7681f91 100644 (file)
@@ -73,7 +73,7 @@ const gint qualities[] = {
   DV_QUALITY_AC_2,
   DV_QUALITY_DC | DV_QUALITY_COLOR,
   DV_QUALITY_AC_1 | DV_QUALITY_COLOR,
-  DV_QUALITY_AC_2 | DV_QUALITY_COLOR
+  DV_QUALITY_AC_2 | DV_QUALITY_COLOR,
 };
 
 #define DV_QUALITY_DEFAULT 5
@@ -157,6 +157,7 @@ gst_dvdec_quality_get_type (void)
       {4, "DV_QUALITY_AC_1|DV_QUALITY_COLOUR",
           "Colour, using only the first AC coefficient"},
       {5, "DV_QUALITY_BEST", "Highest quality colour decoding"},
+      {0, NULL, NULL},
     };
 
     qtype = g_enum_register_static ("GstDVDecQualityEnum", values);