filter_chain: introduce dedicated filter_chain_NewVideo() for video filters
[vlc.git] / src / video_output / vout_subpictures.c
index c8651f9..6a2399c 100644 (file)
@@ -1227,10 +1227,8 @@ spu_t *spu_Create(vlc_object_t *object)
     sys->filter_chain_update = NULL;
     vlc_mutex_init(&sys->source_chain_lock);
     vlc_mutex_init(&sys->filter_chain_lock);
-    sys->source_chain = filter_chain_New(spu, "sub source", false,
-                                         NULL, NULL, NULL);
-    sys->filter_chain = filter_chain_New(spu, "sub filter", false,
-                                         NULL, NULL, NULL);
+    sys->source_chain = filter_chain_New(spu, "sub source", false);
+    sys->filter_chain = filter_chain_New(spu, "sub filter", false);
 
     /* Load text and scale module */
     sys->text = SpuRenderCreateAndLoadText(spu);