fix getAspectRatio for movieplayer

Origin commit data
------------------
Branch: master
Commit: 03af3ec950
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-05-29 (Tue, 29 May 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2018-05-29 18:37:58 +02:00
committed by max_10
parent d4d6e0f2a1
commit 9c3682de28

View File

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