[vlc-devel] [PATCH] video filters removed from chain when new item of the playlist starts.

Laurent Aimar fenrir at elivagar.org
Sun Apr 22 15:41:21 CEST 2012


Hi,

On Sun, Apr 22, 2012 at 03:16:35PM +0200, VlcVelope wrote:
> ---
>  src/video_output/video_output.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
> index a8e4e24..c699b60 100644
> --- a/src/video_output/video_output.c
> +++ b/src/video_output/video_output.c
> @@ -624,6 +624,8 @@ vout_window_t * vout_NewDisplayWindow(vout_thread_t *vout, vout_display_t *vd,
>                                      cfg_override.width, cfg_override.height);
>              vout->p->window.is_unused = false;
>              vout->p->window.cfg       = cfg_override;
> +            /* restore video filters as they might have stopped (if input has been changing) */
> +            var_TriggerCallback(vout, "video-filter");
>              return window;
>          }
The right place is probably somewhere in ThreadReinit(). (But the variable
"video-filter" is not the only one having this issue I think).

Regards,

-- 
fenrir



More information about the vlc-devel mailing list