From 1bd7dba2588394034b29bdc3ce571eacdfd436a8 Mon Sep 17 00:00:00 2001 From: scop Date: Sun, 28 Jan 2007 17:16:41 +0000 Subject: Return 0 instead of -1 from PlayVideo if we don't even try to play anything. --- HISTORY | 1 + dxr3device.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 5856f08..fd607fc 100644 --- a/HISTORY +++ b/HISTORY @@ -321,3 +321,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2 - add Polish translation (Mikolaj Tutak) - sync "make install" with VDR 1.4.2-2 (Ville Skyttä) - use cCondWait::SleepMs() instead of usleep (Ville Skyttä) +- minor tweaks diff --git a/dxr3device.c b/dxr3device.c index 9508f0d..884ad18 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -234,7 +234,7 @@ int cDxr3Device::PlayVideo(const uchar *Data, int Length) m_DemuxDevice.GetTrickState() == DXR3_FREEZE) || cDxr3Interface::Instance().IsExternalReleased()) { - return -1; + return 0; } if (m_strBuf.length()) -- cgit v1.2.3