]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/motiondetect.c
Fix playlist crasher and simplify a few things
[vlc] / modules / video_filter / motiondetect.c
index f8347c31722bbbbfa51de8a6ac346e521e170ccb..fb386be1c853609aca1aaf78ee047ba773ce1b39 100644 (file)
@@ -407,7 +407,7 @@ static void MotionDetect( vout_thread_t *p_vout, picture_t *p_inpic,
                     msg_Dbg( p_vout, "Area(%d) matched, going to %s\n", i_area,
                                         pp_curent_area->psz_mrl );
                     playlist_Control( p_vout->p_sys->p_playlist,
-                                        PLAYLIST_ITEMPLAY, p_item );
+                                        PLAYLIST_VIEWPLAY, NULL, p_item );
                     pp_curent_area->i_matches = 0;
                 }
             }