From 4476ca28df32aa33acc33683dd6fecebed536a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 18 Aug 2011 10:39:26 +0200 Subject: [PATCH] vp8enc: Remove unused and useless variable in tags handling --- ext/vp8/gstvp8enc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index 78325265ad..2e61fd3394 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -857,7 +857,6 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder, GstStructure *s; GstBuffer *stream_hdr, *vorbiscomment; const GstTagList *iface_tags; - GstTagList *tags; GValue array = { 0, }; GValue value = { 0, }; s = gst_caps_get_structure (caps, 0); @@ -892,8 +891,8 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder, gst_tag_setter_get_tag_list (GST_TAG_SETTER (base_video_encoder)); if (iface_tags) { vorbiscomment = - gst_tag_list_to_vorbiscomment_buffer ((iface_tags) ? iface_tags : - tags, (const guint8 *) "OVP80\2 ", 7, + gst_tag_list_to_vorbiscomment_buffer (iface_tags, + (const guint8 *) "OVP80\2 ", 7, "Encoded with GStreamer vp8enc " PACKAGE_VERSION); GST_BUFFER_FLAG_SET (vorbiscomment, GST_BUFFER_FLAG_IN_CAPS);