Commit a3b7aebf authored by Arun Raghavan's avatar Arun Raghavan

avvidenc: Fix compiler errors in the previous commit

The declaration of 'const char *klass' was shadowing a function
parent 2e25f166
......@@ -126,7 +126,7 @@ gst_ffmpegvidenc_base_init (GstFFMpegVidEncClass * klass)
GstPadTemplate *srctempl = NULL, *sinktempl = NULL;
GstCaps *srccaps = NULL, *sinkcaps = NULL;
gchar *longname, *description;
const gchar *klass;
const gchar *classification;
in_plugin =
(AVCodec *) g_type_get_qdata (G_OBJECT_CLASS_TYPE (klass),
......@@ -136,11 +136,11 @@ gst_ffmpegvidenc_base_init (GstFFMpegVidEncClass * klass)
/* construct the element details struct */
longname = g_strdup_printf ("libav %s encoder", in_plugin->long_name);
description = g_strdup_printf ("libav %s encoder", in_plugin->name);
klass =
classification =
gst_ffmpeg_codecid_is_image (in_plugin->id) ? "Codec/Encoder/Image" :
gst_element_class_set_metadata (element_class, longname,
klass, description,
classification, description,
"Wim Taymans <>, "
"Ronald Bultje <>");
g_free (longname);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment