Commit a43be925 authored by Laurent Aimar's avatar Laurent Aimar

Try to use video-filter instead of vout-filter for deinterlacing.

It only works for blend and X mode but there are probably the most used.
When blend/X are enabled/disabled:
 - It avoids recreating the vout.
 - It avoids deinterlacing the (soft) subtitles.
The other modes are not possible without a lot of vout works, so it is
postponed for later.

As a side effect, the initial value of the menu now takes into account the
command line options.

Please, report any regression. This code is made complicated by the
vout filter/video filter2 switches&tricks.
parent d463e695
This diff is collapsed.
...@@ -79,6 +79,7 @@ struct vout_thread_sys_t ...@@ -79,6 +79,7 @@ struct vout_thread_sys_t
mtime_t i_pause_date; mtime_t i_pause_date;
/* Filter chain */ /* Filter chain */
bool b_first_vout; /* True if it is the first vout of the filter chain */
char *psz_filter_chain; char *psz_filter_chain;
bool b_filter_change; bool b_filter_change;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment