Changeset 3e1ff8eb in ffmpeg

Timestamp:
Mar 29, 2012, 10:04:16 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
d3d5e84f
Parents:
0be130e
git-author:
Alexander Strasser <eclipse7@gmx.net> (03/11/12 14:24:51)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (03/29/12 22:04:16)
Message:

img2dec: Recognize glob meta chars only if prefixed by %

This changes globbing support to only be used if the character

contains at least one glob meta character that is preceded by
an unescaped %. To escape a literal % one would use %% which is
identical to the way to match a % with image2 sequence generation
feature.

  • Makes it possible to have patterns like %04d-[720p].jpg work again with sequence number generation. Previously this would always be detected as a glob pattern and was interpreted by the image2 glob code instead.
  • Makes it possible to use %*-[720p].jpg to match above pattern without having to double escape it to be not interpreted by most shells and not by the image2 glob code (previously one would need to use \*-
    \[720p
    \].jpg to achieve the same)

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

(No files)

Note: See TracChangeset for help on using the changeset viewer.