identity: fixes to the eos-after and error-after properties
authorJonny Lamb <jonnylamb@jonnylamb.com>
Fri, 14 Dec 2018 15:55:27 +0000 (15:55 +0000)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Tue, 18 Dec 2018 22:55:28 +0000 (22:55 +0000)
commit63170d52ae541e6d1340e68016e247e90b049a15
treedbdf86000ff355c4b5961f64f36bfafe2ee68d6f
parent23c1a81503f48a3191a7bd9d18099192d3a44200
identity: fixes to the eos-after and error-after properties

I copied `error-after` to make the `eos-after` property, but it turned
out there were some problems with that one, so this patch: adds
separate counters (so setting to NULL and reusing the element will
still work); clarifies the properties' min values; and reports an
error when both are set.
plugins/elements/gstidentity.c
plugins/elements/gstidentity.h