[vlc-commits] hw: vaapi-deint: try both motion algorithms as X

Victorien Le Couviour--Tuffet git at videolan.org
Tue Jun 27 16:04:40 CEST 2017


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Tue Jun 27 16:00:52 2017 +0200| [3ee60e511a2a7b26c3224b27d1ca7e7e11f4592b] | committer: Thomas Guillem

hw: vaapi-deint: try both motion algorithms as X

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3ee60e511a2a7b26c3224b27d1ca7e7e11f4592b
---

 modules/hw/vaapi/filters.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/vaapi/filters.c b/modules/hw/vaapi/filters.c
index efb1583f1b..0af9c0548b 100644
--- a/modules/hw/vaapi/filters.c
+++ b/modules/hw/vaapi/filters.c
@@ -163,6 +163,7 @@ struct  deint_mode
 static struct deint_mode const  deint_modes[] =
 {
     { "x",     VAProcDeinterlacingMotionAdaptive },
+    { "x",     VAProcDeinterlacingMotionCompensated },
     { "bob",   VAProcDeinterlacingBob },
     { "mean",  VAProcDeinterlacingWeave }
 };
@@ -840,7 +841,6 @@ OpenDeinterlace_GetMode(filter_t * filter, char const * deint_mode,
                             deint_modes[i].name);
                     return VLC_SUCCESS;
                 }
-                break;
             }
         }
         fallback = true;



More information about the vlc-commits mailing list