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

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


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Tue Jun 27 16:00:52 2017 +0200| [992f32bd064281d0c361427e6061ef6bb9f0e142] | 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=992f32bd064281d0c361427e6061ef6bb9f0e142
---

 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