In the image sequence capture, only search for the ordinal in the file name.
authorRoman Donchenko <roman.donchenko@itseez.com>
Tue, 12 Nov 2013 12:15:41 +0000 (16:15 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Tue, 12 Nov 2013 12:26:21 +0000 (16:26 +0400)
commitb8e3d3f79163b7758d23ae51263d64371a69b638
tree36a9362ad6b96449d4732debd98001e94a5023c9
parenta81efdbb251ed56f4bdb9346c9f0f74c2931645c
In the image sequence capture, only search for the ordinal in the file name.

Searching in directory names can yield confusing results; e.g. if
the input is "jpeg2000/image1.jp2", it will infer the pattern
"jpeg%04d/image1.jp2", which is likely not what the user intended.

If the user really desires for the variable part to be in the
directory name, it can always use an explicit pattern.
modules/highgui/src/cap_images.cpp