videopool: Removed unused private caps member
This commit is contained in:
parent
5ad841e5ff
commit
4683182381
@ -94,7 +94,6 @@ gst_buffer_pool_config_get_video_alignment (GstStructure * config,
|
|||||||
/* bufferpool */
|
/* bufferpool */
|
||||||
struct _GstVideoBufferPoolPrivate
|
struct _GstVideoBufferPoolPrivate
|
||||||
{
|
{
|
||||||
GstCaps *caps;
|
|
||||||
GstVideoInfo info;
|
GstVideoInfo info;
|
||||||
GstVideoAlignment video_align;
|
GstVideoAlignment video_align;
|
||||||
gboolean add_videometa;
|
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);
|
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;
|
priv->params = params;
|
||||||
if (priv->allocator)
|
if (priv->allocator)
|
||||||
gst_object_unref (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);
|
GST_LOG_OBJECT (pool, "finalize video buffer pool %p", pool);
|
||||||
|
|
||||||
if (priv->caps)
|
|
||||||
gst_caps_unref (priv->caps);
|
|
||||||
|
|
||||||
if (priv->allocator)
|
if (priv->allocator)
|
||||||
gst_object_unref (priv->allocator);
|
gst_object_unref (priv->allocator);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user