Currently, once the tvtime plugin has locked onto a telecine pattern, it
will wait PULLDOWN_ERROR_WAIT (a hardcoded #defined value) number of
frames before switching to filmmode.
This sensitivity is excessively high (i.e. the value is too low) for
certain content -- the kind of content that was shot on film but edited
in video mode, so telecine patterns are constantly breaking (examples
like Buffy, Simpsons and Family Guy are especially egregious offenders).
The attached patch turns this constant into a modifiable post plugin
parameter called pulldown_error_wait.
Xine helpfully emits a XINE_EVENT_POST_TVTIME_FILMMODE_CHANGE event when
film mode changes (a patch I submitted some years back). With the
attached patch, a front-end can monitor the frequency of these events,
and dynamically adjust pulldown_error_wait in a sensible way.