summaryrefslogtreecommitdiff
path: root/dxr3output-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3output-video.c')
-rw-r--r--dxr3output-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dxr3output-video.c b/dxr3output-video.c
index afebab9..4773853 100644
--- a/dxr3output-video.c
+++ b/dxr3output-video.c
@@ -69,7 +69,7 @@ void cDxr3VideoOutThread::Action()
m_dxr3Device->SetPts(pts);
if (m_buffer.Available() && pNext->GetData() &&
- pNext->GetCount())
+ pNext->length())
{
m_dxr3Device->PlayVideoFrame(pNext);
m_buffer.Pop();