mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
vkencoder-private: don't check twice for encoder parameter
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7354>
This commit is contained in:
parent
d81186cbfc
commit
e5f40b65f2
1 changed files with 1 additions and 4 deletions
|
@ -562,12 +562,9 @@ gst_vulkan_encoder_stop (GstVulkanEncoder * self)
|
|||
{
|
||||
GstVulkanEncoderPrivate *priv;
|
||||
|
||||
if (!self)
|
||||
return TRUE;
|
||||
|
||||
g_return_val_if_fail (GST_IS_VULKAN_ENCODER (self), FALSE);
|
||||
priv = gst_vulkan_encoder_get_instance_private (self);
|
||||
|
||||
priv = gst_vulkan_encoder_get_instance_private (self);
|
||||
if (!priv->started)
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue