summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-03-22 21:00:46 +0000
committerscop <scop>2005-03-22 21:00:46 +0000
commit0642308cc7030d4f07054f0a3a2d0a9d35125cf1 (patch)
tree2241eb1c79e13a25a6f92c4a6ac9ef96f5ac1e4e
parent96c49483a2af0415a762dd6df84c1fdb28d48a22 (diff)
downloadvdr-plugin-dxr3-0642308cc7030d4f07054f0a3a2d0a9d35125cf1.tar.gz
vdr-plugin-dxr3-0642308cc7030d4f07054f0a3a2d0a9d35125cf1.tar.bz2
Avoid hang in pause mode with VDR >= 1.3.18.
-rw-r--r--HISTORY1
-rw-r--r--dxr3device.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index ad93da9..0a7fb1e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -280,4 +280,5 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- made "all" the default target in Makefile (Ville Skyttä)
- assume SSE support implies MMXEXT support, this enables optimized
memcpy routines on more systems (Ville Skyttä)
+- avoid hang in pause mode with VDR >= 1.3.18 (Luca Olivetti)
- fix compilation with -fPIC, kudos to ffmpeg (Ville Skyttä)
diff --git a/dxr3device.c b/dxr3device.c
index 9a8a2d7..96644eb 100644
--- a/dxr3device.c
+++ b/dxr3device.c
@@ -291,7 +291,7 @@ int cDxr3Device::PlayVideo(const uchar *Data, int Length)
{
// Why is here so a huge time waster?
//usleep(1000000);
- return 0;
+ return -1;
}
if (m_strBuf.length())