fix getAspectRatio for movieplayer

This commit is contained in:
Jacek Jendrzej
2018-05-29 18:37:58 +02:00
parent 148a6298da
commit 511f0a5011

View File

@@ -412,7 +412,7 @@ int cVideo::getAspectRatio(void)
{
/* in movieplayer mode, fd is not opened -> fall back to procfs */
int n = proc_get_hex(VMPEG_aspect[devnum]);
return n * 2 + 1;
return n;
}
if (fop(ioctl, VIDEO_GET_SIZE, &s) < 0)
{