[mythtv] [PATCH] FilterManager cleanup, several new filters.

Andrew Mahone andrewmahone at eml.cc
Tue Jan 20 05:16:51 EST 2004


On Tuesday 20 January 2004 02:00, Isaac Richards wrote:

> Think you could take care of the:
>
> FilterManager: failed to load filter convert NONE->YV12 with args NULL
>
> Error message for analog capture?
>
> Isaac

The attached patch should fix this, it was missing a condition for skipping 
insertion of the convert filter.  It now skips conversion if inpixfmt == 
FMT_NONE for empty filter chains.

I also replaced all (I think) appropriate instances of -1 with the enum value 
FMT_NONE, should make it clearer what's going on, and keep things from 
breaking horribly if the value should change in the future.
-- 
  Andrew Mahone
  andrewmahone AT eml DOT cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filtfix.patch
Type: text/x-diff
Size: 2744 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040120/4fa95cd3/filtfix.bin


More information about the mythtv-dev mailing list