mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 06:22:29 +00:00
qsvencoder: Fix caps leak in Linux build
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1769>
This commit is contained in:
parent
20328914dc
commit
ad73f73356
1 changed files with 0 additions and 1 deletions
|
@ -884,7 +884,6 @@ gst_qsv_encoder_prepare_system_pool (GstQsvEncoder * self,
|
||||||
|
|
||||||
priv->internal_pool = gst_video_buffer_pool_new ();
|
priv->internal_pool = gst_video_buffer_pool_new ();
|
||||||
config = gst_buffer_pool_get_config (priv->internal_pool);
|
config = gst_buffer_pool_get_config (priv->internal_pool);
|
||||||
caps = gst_video_info_to_caps (aligned_info);
|
|
||||||
gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META);
|
gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META);
|
||||||
gst_buffer_pool_config_set_params (config,
|
gst_buffer_pool_config_set_params (config,
|
||||||
caps, GST_VIDEO_INFO_SIZE (aligned_info), 0, 0);
|
caps, GST_VIDEO_INFO_SIZE (aligned_info), 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue