diff options
author | Johan Dahlin <johan@gnome.org> | 2004-05-19 09:21:43 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2004-05-19 09:21:43 +0000 |
commit | 92be8f98370dd484903ae978b4523e9803ce6bdf (patch) | |
tree | 08d1362bed68118eb687783c4f6541a6ec20f1d7 /ext | |
parent | b8d87e94f6b67e8a9d253bff92f97c862a6c9e6e (diff) |
ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the array. Fixes gst-inspect segfault on ppc.
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dv/gstdvdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 0e9d3e1f..e80c7538 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -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); |