raspi: add support for MPEG2

TODO: check if the MPEG2 license is present (and warn if not)
This commit is contained in:
Stefan Seyfried
2013-10-22 01:14:58 +02:00
parent de0950ffa9
commit ffc375869b
3 changed files with 20 additions and 1 deletions

View File

@@ -175,7 +175,7 @@ void cVideo::SetSyncMode(AVSYNC_TYPE)
int cVideo::SetStreamType(VIDEO_FORMAT v)
{
v_format = v;
return 0;
return avdec->set_videoformat(v);
}
bool cVideo::GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video, bool get_osd, bool scale_to_video)