mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
videopool: Removed unused private caps member
This commit is contained in:
parent
5ad841e5ff
commit
4683182381
1 changed files with 0 additions and 8 deletions
|
@ -94,7 +94,6 @@ gst_buffer_pool_config_get_video_alignment (GstStructure * config,
|
|||
/* bufferpool */
|
||||
struct _GstVideoBufferPoolPrivate
|
||||
{
|
||||
GstCaps *caps;
|
||||
GstVideoInfo info;
|
||||
GstVideoAlignment video_align;
|
||||
gboolean add_videometa;
|
||||
|
@ -154,10 +153,6 @@ video_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
|
|||
|
||||
GST_LOG_OBJECT (pool, "%dx%d, caps %" GST_PTR_FORMAT, width, height, caps);
|
||||
|
||||
if (priv->caps)
|
||||
gst_caps_unref (priv->caps);
|
||||
priv->caps = gst_caps_ref (caps);
|
||||
|
||||
priv->params = params;
|
||||
if (priv->allocator)
|
||||
gst_object_unref (priv->allocator);
|
||||
|
@ -327,9 +322,6 @@ gst_video_buffer_pool_finalize (GObject * object)
|
|||
|
||||
GST_LOG_OBJECT (pool, "finalize video buffer pool %p", pool);
|
||||
|
||||
if (priv->caps)
|
||||
gst_caps_unref (priv->caps);
|
||||
|
||||
if (priv->allocator)
|
||||
gst_object_unref (priv->allocator);
|
||||
|
||||
|
|
Loading…
Reference in a new issue