mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
avvidenc: Fix compiler errors in the previous commit
The declaration of 'const char *klass' was shadowing a function argument.
This commit is contained in:
parent
2e25f166fc
commit
a3b7aebf6b
1 changed files with 3 additions and 3 deletions
|
@ -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" :
|
||||
"Codec/Encoder/Video";
|
||||
gst_element_class_set_metadata (element_class, longname,
|
||||
klass, description,
|
||||
classification, description,
|
||||
"Wim Taymans <wim.taymans@gmail.com>, "
|
||||
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
|
||||
g_free (longname);
|
||||
|
|
Loading…
Reference in a new issue