commit | 42c6f3adbc8473efb0d375e1d564d1522723c6be | [log] [tgz] |
---|---|---|
author | Jiwen 'Steve' Cai <jwcai@google.com> | Fri Jun 30 17:04:28 2017 -0700 |
committer | Jiwen 'Steve' Cai <jwcai@google.com> | Fri Jun 30 17:04:28 2017 -0700 |
tree | 084c8f7baf4ecb8236a48c32afd247783dd16500 | |
parent | bf72631a10c14630282ad0da6b5f0a0215f9480a [diff] |
dvrReadBufferQueueDequeue: allow empty metadata Currently, when there is no metadata on the read buffer queue, we have to pass in dummy out_metadata; otherwise the API always return -EINVAL. This CL allows (nullptr, 0) as legit input and add test to cover that. Bug: 62958474 Test: Ran the updated DvrBufferQueueTest Change-Id: I0ad666006a5d93b67a48b9c34f27e325dfa9a419