diff options
author | scop <scop> | 2005-03-14 19:56:19 +0000 |
---|---|---|
committer | scop <scop> | 2005-03-14 19:56:19 +0000 |
commit | ad728c25a50a5a4e39155f53ac165038303281f7 (patch) | |
tree | 69dd02017250901c372128da9de843b7c879a842 /dxr3demuxdevice.c | |
parent | c925d69e19fd1f4218a235276378dc405605b24f (diff) | |
download | vdr-plugin-dxr3-ad728c25a50a5a4e39155f53ac165038303281f7.tar.gz vdr-plugin-dxr3-ad728c25a50a5a4e39155f53ac165038303281f7.tar.bz2 |
Apply get/setVerticalSize part of Luca Olivetti's Xine scaler patch.
Diffstat (limited to 'dxr3demuxdevice.c')
-rw-r--r-- | dxr3demuxdevice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dxr3demuxdevice.c b/dxr3demuxdevice.c index 8fc50d2..66c19af 100644 --- a/dxr3demuxdevice.c +++ b/dxr3demuxdevice.c @@ -355,6 +355,7 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts) bPlayedFrame = true; // usleep(30000); // otherwise there is problem with audio (driver bug?) m_dxr3Device.SetHorizontalSize(pesFrame.GetHorizontalSize()); + m_dxr3Device.SetVerticalSize(pesFrame.GetVerticalSize()); m_dxr3Device.PlayVideoFrame(pesFrame.GetEsStart(), (int) (pesFrame.GetEsLength()), m_ReUseFrame); break; @@ -385,6 +386,7 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts) else if (m_synchState == DXR3_DEMUX_VIDEO_SYNCHED || m_synchState == DXR3_DEMUX_SYNCHED) { m_dxr3Device.SetHorizontalSize(pesFrame.GetHorizontalSize()); + m_dxr3Device.SetVerticalSize(pesFrame.GetVerticalSize()); while(!Poll(100)); cFixedLengthFrame* pTempFrame = m_vBuf.Push(pesFrame.GetEsStart(), (int) (pesFrame.GetEsLength()), pts, ftVideo); pTempFrame->SetAspectRatio(pesFrame.GetAspectRatio()); @@ -410,6 +412,7 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts) vPts = pts; m_dxr3Device.SetHorizontalSize(pesFrame.GetHorizontalSize()); + m_dxr3Device.SetVerticalSize(pesFrame.GetVerticalSize()); cFixedLengthFrame* pTempFrame = m_vBuf.Push(pesFrame.GetEsStart(), (int) (pesFrame.GetEsLength()), pts, ftVideo); pTempFrame->SetAspectRatio(pesFrame.GetAspectRatio()); |