On Fri, Sep 19, 2014 at 12:57:47AM +0300, Sakari Ailus wrote:
> @@ -1174,7 +1174,7 @@ void vb2_buffer_done(struct vb2_buffer *vb, enum 
> vb2_buffer_state state)
>       if (WARN_ON(vb->state != VB2_BUF_STATE_ACTIVE))
>               return;
>  
> -     if (!q->start_streaming_called) {
> +     if (q->done_buffers_queued_state) {
>               if (WARN_ON(state != VB2_BUF_STATE_QUEUED))
>                       state = VB2_BUF_STATE_QUEUED;
>       } else if (WARN_ON(state != VB2_BUF_STATE_DONE &&

This condition needs to be changed, too. I'll resend a corrected version.

-- 
Sakari Ailus
e-mail: sakari.ai...@iki.fi     XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to