[MPlayer-cvslog] r38344 - trunk/libvo/vo_corevideo.m

reimar subversion at mplayerhq.hu
Sat Feb 26 13:53:00 EET 2022


Author: reimar
Date: Sat Feb 26 13:53:00 2022
New Revision: 38344

Log:
vo_corevideo: use linear video filtering by default.

Modified:
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Sat Feb 26 13:28:05 2022	(r38343)
+++ trunk/libvo/vo_corevideo.m	Sat Feb 26 13:53:00 2022	(r38344)
@@ -511,6 +511,8 @@ static int control(uint32_t request, voi
 
 	glEnable(CVOpenGLTextureGetTarget(texture));
 	glBindTexture(CVOpenGLTextureGetTarget(texture), CVOpenGLTextureGetName(texture));
+	glTexParameteri(CVOpenGLTextureGetTarget(texture), GL_TEXTURE_MIN_FILTER, GL_LINEAR);
+	glTexParameteri(CVOpenGLTextureGetTarget(texture), GL_TEXTURE_MAG_FILTER, GL_LINEAR);
 
 	glColor3f(1,1,1);
 	glBegin(GL_QUADS);


More information about the MPlayer-cvslog mailing list