[vlc-devel] maximum number of sub and video filters

Maxim Popov popovm at mail.primorye.ru
Mon Nov 12 04:08:49 CET 2007


1. Bug: vlc fails if more then 10 sfilters
How to reproduce (11 sub filters):
vlc --sub-filter marq:marq:marq:marq:marq:marq:marq:marq:marq:marq:marq
1.avi
What i see: seg. fault

2. Bug: maximum number of subpictures (VOUT_MAX_SUBPICTURES=8) and sub
filters (magic value = 10) is not related.
How to reproduce (10 sub filters):
vlc -vvv --sub-filter marq:marq:marq:marq:marq:marq:marq:marq:marq:marq
1.avi
What I see: a lot of messages "subpicture heap is full"
What I want: 10 sub filters are created.

3. Maximum numbers of sub filters and video filters must be defined in
include/config.h

It is fixed by attached patch. Please, apply them.

4. Bug #944 was fixed already any time ago. But ticket
https://trac.videolan.org/vlc/ticket/944 is not closed.

--
Maxim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max_filters.patch
Type: text/x-patch
Size: 3513 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071112/e29d0c91/attachment.bin>


More information about the vlc-devel mailing list