[softhddevice] [SOLVED] Plugin doesn't compile with vdr-2.1.3

  • With the last developer VDR release plugin does not compile anymore:


    Is there a reason of error due of changed TrickSpeed function in vdr?

    Code
    1. root@akovdr:/usr/local/src/vdr-2.1.3# fgrep -i trickspeed /usr/local/src/vdr-2.1.2/*.h
    2. /usr/local/src/vdr-2.1.2/device.h: virtual void TrickSpeed(int Speed);
    3. /usr/local/src/vdr-2.1.2/player.h: void DeviceTrickSpeed(int Speed) { if (device) device->TrickSpeed(Speed); }
    4. root@akovdr:/usr/local/src/vdr-2.1.3# fgrep -i trickspeed /usr/local/src/vdr-2.1.3/*.h
    5. /usr/local/src/vdr-2.1.3/device.h: virtual void TrickSpeed(int Speed, bool Forward);
    6. /usr/local/src/vdr-2.1.3/player.h: void DeviceTrickSpeed(int Speed, bool Forward) { if (device) device->TrickSpeed(Speed, Forward); }


    Is it possible to fix it? Without this plugin I'm blind :)
    Sorry, I don't speak Deutch, but this forum is the best for the VDR things :)


    br,
    arkoko

    Intel Core2 Duo E7400 @ 2.80GHz; 4GB RAM; GeForce GT520; Slackware-14.1; DD Cine S2 v6.5; TBS 8920; 2xTT C-1501; Triax 1.2m; SuperJack DG-120 85°E-30°W; vdr-2.2.x

    The post was edited 1 time, last by arkoko: Problem solved. ().

  • - Client1: Thermaltake DH 102 mit 7" TouchTFT * Debian Stretch/vdr-2.4.0/graphtft/MainMenuHooks-Patch * Zotac H55-ITX WiFi * Core i3 540 * 4GB RAM ** Zotac GT630 * 1 TB System HDD * 4 GB RAM * Harmony 900 * satip-Plugin

    - Client2: Alfawise H96 Pro Plus * KODI
    - Server: Intel Pentium G3220 * DH87RL * 16GB RAM * 4x4TB 3.5" WD RED + 1x500GB 2.5" * satip-Plugin
    - SAT>IP: Inverto iLNB

  • Hi,


    vdr 2.1.3 adds a new parameter to TrickSpeed, so it must be added to the plugin with a

    Code
    1. #if APIVERSNUM > 20102
    2. ...new code...
    3. #else
    4. ...old code...
    5. #endif


    I think johns, the author of the plugin, will soon add support for vdr 2.1.3.
    Just watch the git: http://projects.vdr-developer.…-plugin-softhddevice.git/


    Lars.

  • TheChief
    That's only a "will compile" patch, but do not take advantage of the new parameter.
    Maybe there's something more needed, don't know for now.


    Lars.

  • Danke schön, meine Freunde!

    Intel Core2 Duo E7400 @ 2.80GHz; 4GB RAM; GeForce GT520; Slackware-14.1; DD Cine S2 v6.5; TBS 8920; 2xTT C-1501; Triax 1.2m; SuperJack DG-120 85°E-30°W; vdr-2.2.x

  • Auf http://projects.vdr-developer.org/issues/1667 achten, wenn der Patch im GIT ist.


    Danke an CReimer.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Der "forward" Parameter ist nur zur Information da, falls das Device etwas für die Richtung anders machen muß.
    Ich erkenne die Richtung selber, aber dies ist mehr ein Hack um ffmpeg zu einen besseren Ergebnis zu überlisten.


    Patch ist nun im GIT. Als nächstes der Umlaut Patch.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch