summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-03-14 14:28:44 +0000
committerscop <scop>2005-03-14 14:28:44 +0000
commit14d19e9e4283a1d956230f3300a9aa094af6a3e4 (patch)
tree8f0c3fce43544cdc905a1b36fc6db20c9f5acf12
parentdb9f83438cd5efcd2e79df67b6234fef0d7ab919 (diff)
downloadvdr-plugin-dxr3-14d19e9e4283a1d956230f3300a9aa094af6a3e4.tar.gz
vdr-plugin-dxr3-14d19e9e4283a1d956230f3300a9aa094af6a3e4.tar.bz2
Avoid hang in pause mode, http://www.linuxtv.org/mailinglists/vdr/2005/01-2005/msg00645.html
-rw-r--r--HISTORY1
-rw-r--r--dxr3device.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index f141d81..ac2b116 100644
--- a/HISTORY
+++ b/HISTORY
@@ -246,3 +246,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- fixed audio and video thread deletion in demux device destructor
- made "all" the default target in Makefile
- assume SSE support implies MMXEXT support
+- avoid hang in pause mode with VDR >= 1.3.18
diff --git a/dxr3device.c b/dxr3device.c
index 3ec322a..22be02f 100644
--- a/dxr3device.c
+++ b/dxr3device.c
@@ -290,7 +290,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())