Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 503452

Summary: media-plugins/vdr-vcd-0.9-r1 - player.c:164:25: error: no matching function for call to 'cVcdPlayer::DeviceTrickSpeed(int&)'
Product: Gentoo Linux Reporter: Erich Seifert <eseifert>
Component: [OLD] LibraryAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: normal CC: media-tv
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
vdr-vcd-0.9-devicetrickspeed.patch

Description Erich Seifert 2014-03-04 21:21:42 UTC
Compiling media-plugins/vdr-vcd-0.9-r1 with media-video/vdr-2.1.5 fails because of incompatible API:
player.c:164:25: error: no matching function for call to 'cVcdPlayer::DeviceTrickSpeed(int&)'

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/vdr-2.1.5
2. emerge =media-plugins/vdr-vcd-0.9-r1
Actual Results:  
A compile error occurs:

player.c: In member function 'void cVcdPlayer::TrickSpeed(int)':
player.c:164:25: error: no matching function for call to 'cVcdPlayer::DeviceTrickSpeed(int&)'
player.c:164:25: note: candidate is:
In file included from player.h:27:0,
                 from player.c:24:
/usr/include/vdr/player.h:30:8: note: void cPlayer::DeviceTrickSpeed(int, bool)
/usr/include/vdr/player.h:30:8: note:   candidate expects 2 arguments, 1 provided


Expected Results:  
The plug-in should compile without errors.

# emerge -pqv media-plugins/vdr-vcd
[ebuild   R   ] media-plugins/vdr-vcd-0.9-r1

# emerge -pqv media-video/vdr
[ebuild   R   ] media-video/vdr-2.1.5  USE="jumpingseconds mainmenuhooks naludump wareagleicon -alternatechannel -bidi -binaryskip -debug -graphtft -html -jumpplay -menuorg -menuselection -permashift -pinplugin -resumereset -ttxtsubs -vanilla -yaepg"
Comment 1 Erich Seifert 2014-03-04 21:22:31 UTC
Created attachment 371742 [details]
build.log
Comment 2 Erich Seifert 2014-03-04 21:24:48 UTC
Created attachment 371744 [details, diff]
vdr-vcd-0.9-devicetrickspeed.patch

Patch that makes the plugin compile again.
Comment 3 Joerg Bornkessel (RETIRED) gentoo-dev 2014-03-08 21:45:44 UTC
fixed in vdr-vcd-0.9-r2

thanks Erich for providing the patch