1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-17 17:29:23 -04:00
ports/multimedia/mythtv-frontend/files/patch-libs__libmythtv__videoout_vdpau.cpp
Bernhard Froehlich bee1bc4297 - Update to 0.23
- VDPAU and PulseAudio support added
- Harmonize mythtv and mythtv-frontend Makefiles and patches

Feature safe:	yes
Approved by:	beat (co-mentor)
2010-06-21 13:22:23 +00:00

11 lines
535 B
C++

--- libs/libmythtv/videoout_vdpau.cpp.orig 2010-02-27 06:58:11.000000000 +0100
+++ libs/libmythtv/videoout_vdpau.cpp 2010-04-06 17:40:50.000000000 +0200
@@ -395,7 +395,7 @@
if (frame)
{
// FIXME for 0.23. This should be triggered from AFD by a seek
- if ((abs(frame->frameNumber - framesPlayed) > 8))
+ if ((labs(frame->frameNumber - framesPlayed) > 8))
ClearReferenceFrames();
new_frame = (framesPlayed != frame->frameNumber + 1);
framesPlayed = frame->frameNumber + 1;