diff options
author | Johns <johns98@gmx.net> | 2013-08-03 17:27:52 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-08-03 17:27:52 +0200 |
commit | d8e96c7871078d376de02210d2c350998f5a1fba (patch) | |
tree | c938e0c8881f39e3d17af39c6e08fa99b928a9fc /softhddev.c | |
parent | 8ff65a011a6e6a76167734b21c3eb7dac9a905b1 (diff) | |
download | vdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.gz vdr-plugin-softhddevice-d8e96c7871078d376de02210d2c350998f5a1fba.tar.bz2 |
Generalize GetVaapiContext to GetHwAccelContext.
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 5 |
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; |