vkh26xdec: remove unused variables

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6400>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-04-03 16:44:18 +02:00 committed by GStreamer Marge Bot
parent 3dd5e0d46f
commit 316ca23cab
2 changed files with 0 additions and 34 deletions

View file

@ -59,9 +59,6 @@ struct _GstVulkanH264Decoder
GstVulkanDecoder *decoder;
GstBuffer *inbuf;
GstMapInfo in_mapinfo;
gboolean need_negotiation;
gboolean need_params_update;
@ -75,9 +72,6 @@ struct _GstVulkanH264Decoder
VkChromaLocation xloc, yloc;
GstVideoCodecState *output_state;
GstBufferPool *dpb_pool;
GstBuffer *layered_dpb;
};
static GstStaticPadTemplate gst_vulkan_h264dec_sink_template =
@ -186,10 +180,6 @@ gst_vulkan_h264_decoder_close (GstVideoDecoder * decoder)
if (self->decoder)
gst_vulkan_decoder_stop (self->decoder);
if (self->inbuf)
gst_buffer_unmap (self->inbuf, &self->in_mapinfo);
gst_clear_buffer (&self->inbuf);
if (self->output_state)
gst_video_codec_state_unref (self->output_state);
@ -199,13 +189,6 @@ gst_vulkan_h264_decoder_close (GstVideoDecoder * decoder)
gst_clear_object (&self->device);
gst_clear_object (&self->instance);
if (self->dpb_pool) {
gst_buffer_pool_set_active (self->dpb_pool, FALSE);
gst_clear_object (&self->dpb_pool);
}
gst_clear_buffer (&self->layered_dpb);
return TRUE;
}

View file

@ -60,9 +60,6 @@ struct _GstVulkanH265Decoder
GstVulkanDecoder *decoder;
GstBuffer *inbuf;
GstMapInfo in_mapinfo;
gboolean need_negotiation;
gboolean need_params_update;
@ -75,9 +72,6 @@ struct _GstVulkanH265Decoder
VkChromaLocation xloc, yloc;
GstVideoCodecState *output_state;
GstBufferPool *dpb_pool;
GstBuffer *layered_dpb;
};
static GstStaticPadTemplate gst_vulkan_h265dec_sink_template =
@ -244,10 +238,6 @@ gst_vulkan_h265_decoder_close (GstVideoDecoder * decoder)
if (self->decoder)
gst_vulkan_decoder_stop (self->decoder);
if (self->inbuf)
gst_buffer_unmap (self->inbuf, &self->in_mapinfo);
gst_clear_buffer (&self->inbuf);
if (self->output_state)
gst_video_codec_state_unref (self->output_state);
@ -257,13 +247,6 @@ gst_vulkan_h265_decoder_close (GstVideoDecoder * decoder)
gst_clear_object (&self->device);
gst_clear_object (&self->instance);
if (self->dpb_pool) {
gst_buffer_pool_set_active (self->dpb_pool, FALSE);
gst_clear_object (&self->dpb_pool);
}
gst_clear_buffer (&self->layered_dpb);
return TRUE;
}