[vlc-devel] [PATCH 2/5] vout: handle video context change
Romain Vimont
rom1v at videolabs.io
Tue Oct 20 14:32:43 CEST 2020
From: Alexandre Janniaux <ajanni at videolabs.io>
---
src/video_output/video_output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 15c1f0e3ee..84e93a7381 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1070,7 +1070,7 @@ static void ThreadChangeFilters(vout_thread_sys_t *vout)
vlc_array_clear(array);
}
- if (!es_format_IsSimilar(p_fmt_current, &fmt_target)) {
+ if (!es_format_IsSimilar(p_fmt_current, &fmt_target) || vctx_current != vctx_target) {
msg_Dbg(&vout->obj, "Changing vout format to %4.4s",
(const char *) &p_fmt_current->video.i_chroma);
--
2.28.0
More information about the vlc-devel
mailing list