avfilter/graphparser: allow specifying filter@id as filter instance
authorMuhammad Faiz <mfcc64@gmail.com>
Wed, 17 May 2017 06:03:28 +0000 (13:03 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Fri, 19 May 2017 13:21:47 +0000 (20:21 +0700)
commit162414cefee64eff114179a45abc45aca5133ed0
treeb6feae5c236782073f74150492f6d882924d56a3
parent3fb104f4476ad238e2ca768e9b80dc314e6e856d
avfilter/graphparser: allow specifying filter@id as filter instance

See http://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-April/035975.html
Parsed_filter_X could remain and user can override it with custom one.

Example:
ffplay -f lavfi "nullsrc=s=640x360,
sendcmd='1 drawtext@top reinit text=Hello; 2 drawtext@bottom reinit text=World',
drawtext@top=x=16:y=16:fontsize=20:fontcolor=Red:text='',
drawtext@bottom=x=16:y=340:fontsize=16:fontcolor=Blue:text=''"

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
doc/filters.texi
libavfilter/graphparser.c