Skip to content

vout: restart if context changes

Rémi Denis-Courmont requested to merge Courmisch/vlc:vctx into master

If the video context changes, filter chains and display must be restarted with the new context, as relevant parameters may have changed.

As the video output object holds a reference to the saved context and the caller holds a reference to the new context, contexts are contemporary. Consequently, a pointer comparison is safe.

Recycling the video context whence possible is left as a job for the hardware decoder module and decoder device to split.

Merge request reports