summaryrefslogtreecommitdiff
path: root/dxr3pesframe.c
diff options
context:
space:
mode:
authorscop <scop>2007-01-28 18:08:11 +0000
committerscop <scop>2007-01-28 18:08:11 +0000
commitfb34e5498e36eb07b15ee79de9b741c0328ce14e (patch)
treed0cc0b6005ed97b99e177ccab4c048431019e294 /dxr3pesframe.c
parent14e53c9957ecb9606f8734730710c716a244abd1 (diff)
downloadvdr-plugin-dxr3-fb34e5498e36eb07b15ee79de9b741c0328ce14e.tar.gz
vdr-plugin-dxr3-fb34e5498e36eb07b15ee79de9b741c0328ce14e.tar.bz2
Implement SetVideoFormat().
Diffstat (limited to 'dxr3pesframe.c')
-rw-r--r--dxr3pesframe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dxr3pesframe.c b/dxr3pesframe.c
index 1670ecc..39e618e 100644
--- a/dxr3pesframe.c
+++ b/dxr3pesframe.c
@@ -172,10 +172,12 @@ int cDxr3PesFrame::ExtractVideoData(cDxr3SafeArray<uint8_t> esFrame)
switch ((esFrame[i + 7]) & 0xF0)
{
case 0x20:
- m_staticAspectRatio = m_aspectRatio = ASPECTRATIO_4_3;
+ m_staticAspectRatio = m_aspectRatio =
+ EM8300_ASPECTRATIO_4_3;
break;
case 0x30:
- m_staticAspectRatio = m_aspectRatio = ASPECTRATIO_16_9;
+ m_staticAspectRatio = m_aspectRatio =
+ EM8300_ASPECTRATIO_16_9;
break;
default:
break;