v4l2bufferpool: Don't deactivate otherpool
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 14 May 2014 17:05:42 +0000 (13:05 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 May 2014 16:21:31 +0000 (12:21 -0400)
We should not stop the otherpool unless we also stop our own
pool, otherwise it will never get restarted.

https://bugzilla.gnome.org/show_bug.cgi?id=730207

sys/v4l2/gstv4l2bufferpool.c

index 39983e2..3a067f6 100644 (file)
@@ -862,9 +862,6 @@ stop_streaming (GstV4l2BufferPool * pool)
   pool->flushing = FALSE;
   pool->streaming = FALSE;
 
-  if (pool->other_pool)
-    gst_buffer_pool_set_active (pool->other_pool, FALSE);
-
   return TRUE;
 
   /* ERRORS */