unref pool too
Original commit message from CVS: unref pool too
This commit is contained in:
parent
18c9d19de2
commit
801ee2866c
@ -540,6 +540,8 @@ gst_colorspace_change_state (GstElement *element)
|
|||||||
space->pool = gst_pad_get_bufferpool (space->srcpad);
|
space->pool = gst_pad_get_bufferpool (space->srcpad);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_PLAYING_TO_PAUSED:
|
case GST_STATE_PLAYING_TO_PAUSED:
|
||||||
|
if (space->pool)
|
||||||
|
gst_buffer_pool_unref (space->pool);
|
||||||
space->pool = NULL;
|
space->pool = NULL;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_PAUSED_TO_READY:
|
case GST_STATE_PAUSED_TO_READY:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user