mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
[MOVED FROM BAD 091/134] vp8enc: Remove unused and useless variable in tags handling
This commit is contained in:
parent
c58dd70675
commit
8e143b1c7d
1 changed files with 2 additions and 3 deletions
|
@ -857,7 +857,6 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder,
|
||||||
GstStructure *s;
|
GstStructure *s;
|
||||||
GstBuffer *stream_hdr, *vorbiscomment;
|
GstBuffer *stream_hdr, *vorbiscomment;
|
||||||
const GstTagList *iface_tags;
|
const GstTagList *iface_tags;
|
||||||
GstTagList *tags;
|
|
||||||
GValue array = { 0, };
|
GValue array = { 0, };
|
||||||
GValue value = { 0, };
|
GValue value = { 0, };
|
||||||
s = gst_caps_get_structure (caps, 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));
|
gst_tag_setter_get_tag_list (GST_TAG_SETTER (base_video_encoder));
|
||||||
if (iface_tags) {
|
if (iface_tags) {
|
||||||
vorbiscomment =
|
vorbiscomment =
|
||||||
gst_tag_list_to_vorbiscomment_buffer ((iface_tags) ? iface_tags :
|
gst_tag_list_to_vorbiscomment_buffer (iface_tags,
|
||||||
tags, (const guint8 *) "OVP80\2 ", 7,
|
(const guint8 *) "OVP80\2 ", 7,
|
||||||
"Encoded with GStreamer vp8enc " PACKAGE_VERSION);
|
"Encoded with GStreamer vp8enc " PACKAGE_VERSION);
|
||||||
|
|
||||||
GST_BUFFER_FLAG_SET (vorbiscomment, GST_BUFFER_FLAG_IN_CAPS);
|
GST_BUFFER_FLAG_SET (vorbiscomment, GST_BUFFER_FLAG_IN_CAPS);
|
||||||
|
|
Loading…
Reference in a new issue