mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fix getAspectRatio for movieplayer
This commit is contained in:
@@ -412,7 +412,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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user