On 15/12/2019 15:04, Michael Niedermayer wrote:
> On Sat, Dec 14, 2019 at 10:59:31PM +0000, Alexandre Heitor Schmidt wrote:
>> avfilter/drawtext: Added two special metadata tags which can, be used by
>> 'drawtext' filter and others to have access to source file path, and its
>> basename.
>>
>> The new field AVPacket->source_file will contain a path to its corresponding >> filename everytime the packet corresponds to a single file. This behavior is >> common for image2 filter. When this field is filled, frames passed to filters >> will contain two special metadata tags called source_path (the entire path to >> the file) and source_basename (only the file name). These metatags can be
>> used by filters like drawtext to be able to plot the entire path or the
>> basename of it respectively to the frame being processed.
>>
>> doc/filters: The documentation for drawtext was also updated and an usage
>> example was added.
>>
>> Fixes #2874.
>>
>> Signed-off-by: Alexandre Heitor Schmidt <alexandre.schm...@gmail.com>
>> ---
>>  doc/filters.texi      | 13 +++++++++++++
>>  fftools/ffmpeg.c      | 12 ++++++++++++
>>  libavcodec/avcodec.h  |  8 ++++++++
>>  libavcodec/avpacket.c |  1 +
>>  libavformat/img2dec.c |  9 +++++++++
>>  5 files changed, 43 insertions(+)
>
> doc/filters.texi:9885: misplaced {
> doc/filters.texi:9885: misplaced }
> make: *** [doc/ffprobe-all.html] Error 1
> make: *** Waiting for unfinished jobs....
> doc/filters.texi:9885: misplaced {
> doc/filters.texi:9885: misplaced }
> make: *** [doc/ffplay-all.html] Error 1
> doc/filters.texi:9885: misplaced {
> doc/filters.texi:9885: misplaced }
> make: *** [doc/ffmpeg-all.html] Error 1
> doc/filters.texi:9885: misplaced {
> doc/filters.texi:9885: misplaced }
> make: *** [doc/ffmpeg-filters.html] Error 1
>
> [...]

I saw the problem... git messed up the @item and @example tags in docs. :S I'll find out why and re-submit the patch. I have to redo it anyway to use AV_PKT_DATA_STRINGS_METADATA, as suggested by Marton Balint.

Alex.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to