identity: add eos-after property
authorJonny Lamb <jonnylamb@jonnylamb.com>
Tue, 11 Dec 2018 16:48:56 +0000 (16:48 +0000)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Tue, 11 Dec 2018 21:14:11 +0000 (21:14 +0000)
commit460c0edbfbfe466c544cb998f46933b95a9acf41
tree717fa125cee6c45b90cb4d1a66e59adebdcd40d0
parente03f086faee10ae2cbd3d9d7990870e256d9d31f
identity: add eos-after property

Using `num-buffers` can be unpredictable as buffer sizes are often
arbitrary (filesrc, multifilesrc, etc.). The `error-after` property on
`identity` is better but obviously reports an error afterwards. This
adds `eos-after` which does exactly the same thing but reports EOS
instead.
plugins/elements/gstidentity.c
plugins/elements/gstidentity.h