summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-08-03 17:27:52 +0200
committerJohns <johns98@gmx.net>2013-08-03 17:27:52 +0200
commitd8e96c7871078d376de02210d2c350998f5a1fba (patch)
treec938e0c8881f39e3d17af39c6e08fa99b928a9fc /softhddev.c
parent8ff65a011a6e6a76167734b21c3eb7dac9a905b1 (diff)
downloadvdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.gz
vdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.bz2
Generalize GetVaapiContext to GetHwAccelContext.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/softhddev.c b/softhddev.c
index e3787bd..b11e43a 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -22,7 +22,7 @@
#define noUSE_SOFTLIMIT ///< add soft buffer limits to Play..
#define noUSE_PIP ///< include PIP support + new API
-#define DUMP_TRICKSPEED ///< dump raw trickspeed packets
+#define noDUMP_TRICKSPEED ///< dump raw trickspeed packets
#include <sys/types.h>
#include <sys/stat.h>
@@ -2448,7 +2448,8 @@ uint8_t *GrabImage(int *size, int jpeg, int quality, int width, int height)
int SetPlayMode(int play_mode)
{
VideoDisplayWakeup();
- if (MyVideoStream->Decoder) { // tell video parser we have new stream
+ // tell video parser we have new stream
+ if (MyVideoStream->Decoder && !MyVideoStream->SkipStream) {
if (MyVideoStream->ClearClose) { // replay clear buffers on close
Clear(); // flush all buffers
MyVideoStream->ClearClose = 0;