raspi: first try of aspect ratio setting

this needs more work / testing with 4:3 input material
This commit is contained in:
Stefan Seyfried
2013-10-21 00:29:01 +02:00
parent a78e983d5f
commit 0b1c4bcb9c
4 changed files with 35 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ cVideo::~cVideo(void)
int cVideo::setAspectRatio(int vformat, int cropping)
{
lt_info("%s(%d, %d)\n", __func__, vformat, cropping);
return 0;
return avdec->set_aspect(vformat, cropping);
}
int cVideo::getAspectRatio(void)