diff options
author | scop <scop> | 2007-01-28 17:16:41 +0000 |
---|---|---|
committer | scop <scop> | 2007-01-28 17:16:41 +0000 |
commit | 1bd7dba2588394034b29bdc3ce571eacdfd436a8 (patch) | |
tree | 832f40c12ba35ccdaa4c7a717b46c0f01a6e816f | |
parent | a3f259961e39e7820b3b634208b2f0bcb8507920 (diff) | |
download | vdr-plugin-dxr3-1bd7dba2588394034b29bdc3ce571eacdfd436a8.tar.gz vdr-plugin-dxr3-1bd7dba2588394034b29bdc3ce571eacdfd436a8.tar.bz2 |
Return 0 instead of -1 from PlayVideo if we don't even try to play anything.
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | dxr3device.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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()) |