ports/multimedia/mythtv/files/patch-libs__libmythtv__videoout_vdpau.cpp
Bernhard Froehlich f1d8da739e - Update to 0.23
- V4L support enabled for webcamd (works fine with DVB-S2 USB hardware)
- Use USERS/GROUPS framework
- Removed automatic database creation from POST-INSTALL [1]
- Harmonize mythtv and mythtv-frontend Makefiles and patches
- Remove incorrect CONFLICTS entry for mythtv-themes

Feature safe:	yes
Discussed with:	Mickael Maillot <mickael.maillot (AT) gmail.com> [1]
Thanks to:	Torfinn Ingolfsen <torfinn.ingolfsen (AT) broadpark.no>
Approved by:	beat (co-mentor)
2010-06-21 13:18:06 +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;