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.
This commit is contained in:
Johan Dahlin 2004-05-19 09:21:43 +00:00
parent b8d87e94f6
commit 92be8f9837
2 changed files with 7 additions and 1 deletions

View file

@ -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

View 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);