diff options
author | Johns <johns98@gmx.net> | 2012-08-17 10:33:10 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-08-17 10:33:10 +0200 |
commit | 5e93fb275674eaa147a0c3c4b7bf52134e175e2e (patch) | |
tree | 57e7d900d852bc30be5927fb53ab37c37cb08c8c | |
parent | e02c1fa5f943c4ba78ea9475603be0dd74c057ec (diff) | |
download | vdr-plugin-softhddevice-5e93fb275674eaa147a0c3c4b7bf52134e175e2e.tar.gz vdr-plugin-softhddevice-5e93fb275674eaa147a0c3c4b7bf52134e175e2e.tar.bz2 |
Fix bug: VA-API trickspeed.
-rw-r--r-- | video.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4544,7 +4544,8 @@ static int64_t VaapiGetClock(const VaapiDecoder * decoder) static void VaapiSetTrickSpeed(VaapiDecoder * decoder, int speed) { decoder->TrickSpeed = speed; - decoder->TrickCounter = 0; + decoder->TrickCounter = speed; + decoder->Closing = 0; } /// @@ -7883,6 +7884,7 @@ static void VdpauSetTrickSpeed(VdpauDecoder * decoder, int speed) { decoder->TrickSpeed = speed; decoder->TrickCounter = speed; + decoder->Closing = 0; } /// @@ -9322,7 +9324,6 @@ enum PixelFormat Video_get_format(VideoHwDecoder * hw_decoder, Timestamp2String(VideoGetClock(hw_decoder)), ms_delay); #endif - //AudioVideoReady(VideoGetClock(hw_decoder)); return VideoUsedModule->get_format(hw_decoder, video_ctx, fmt); } |