Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Moin!
Ich hatte das xine plugin mal rausgenommen, pvr350 war noch drin, das sollte eigentlich nicht stören.
Doch, da das auch ein Ausgabe-Plugin ist. Für den Empfang von analogen Kanälen ist pvrinput zuständig.
Lars.
Fakt ist, dass es so funktioniert hat ;-)

Moin!
Fakt ist, dass es so funktioniert hat ;-)
Ok. Kann ja auch sein, dass der vdr mit mehreren primary devices umgehen kann, bin an der Ecke nicht ganz so firm.
Ansonsten bin ich eher der Meinung, dass ein nicht benötigtes Plugin auch nicht geladen werden sollte.
Lars.
Ach und -Werror ist immer noch im Makefile drin, einfach entfernen. Intressant wäre was er meckert.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
Plugin softhddevice:
make[1]: Entering directory `/usr/local/src/vdr-1.7.22/PLUGINS/src/softhddevice-0.0.7'
gcc: softhddevice.c: No such file or directory
g++ -g -O3 -W -Wall -Wextra -Woverloaded-virtual -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"softhddevice"' -I../../../include -c -o softhddevice.o softhddevice.cpp
gcc -g -O3 -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -fPIC -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"softhddevice"' -I../../../include -I/usr/include/alsa -c -o softhddev.o softhddev.c
In file included from ../../../include/vdr/i18n.h:14:0,
from ../../../include/vdr/config.h:19,
from ../../../include/vdr/interface.h:13,
from softhddevice.cpp:23:
../../../include/vdr/tools.h:418:15: warning: unused parameter ‘ListObject’
cc1: warnings being treated as errors
softhddev.c: In function ‘PlayAudio’:
softhddev.c:88:2: error: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int64_t’
In file included from ../../../include/vdr/config.h:20:0,
from ../../../include/vdr/interface.h:13,
from softhddevice.cpp:23:
../../../include/vdr/font.h:53:7: warning: unused parameter ‘s’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘Pixmap’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘x’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘y’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘s’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘ColorFg’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘ColorBg’
../../../include/vdr/font.h:58:16: warning: unused parameter ‘Width’
make[1]: *** [softhddev.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../../../include/vdr/interface.h:15:0,
from softhddevice.cpp:23:
../../../include/vdr/skins.h:36:16: warning: unused parameter ‘Red’
../../../include/vdr/skins.h:36:16: warning: unused parameter ‘Green’
../../../include/vdr/skins.h:36:16: warning: unused parameter ‘Yellow’
../../../include/vdr/skins.h:36:16: warning: unused parameter ‘Blue’
../../../include/vdr/skins.h:39:16: warning: unused parameter ‘Type’
../../../include/vdr/skins.h:39:16: warning: unused parameter ‘Text’
In file included from ../../../include/vdr/menuitems.h:15:0,
from ../../../include/vdr/plugin.h:14,
from softhddevice.cpp:24:
../../../include/vdr/osdbase.h:83:20: warning: unused parameter ‘Key’
In file included from softhddevice.cpp:25:0:
../../../include/vdr/player.h:39:16: warning: unused parameter ‘On’
../../../include/vdr/player.h:57:16: warning: unused parameter ‘Current’
../../../include/vdr/player.h:57:16: warning: unused parameter ‘Total’
../../../include/vdr/player.h:57:16: warning: unused parameter ‘SnapToIFrame’
../../../include/vdr/player.h:60:16: warning: unused parameter ‘Play’
../../../include/vdr/player.h:60:16: warning: unused parameter ‘Forward’
../../../include/vdr/player.h:60:16: warning: unused parameter ‘Speed’
../../../include/vdr/player.h:66:16: warning: unused parameter ‘Type’
../../../include/vdr/player.h:66:16: warning: unused parameter ‘TrackId’
../../../include/vdr/player.h:70:16: warning: unused parameter ‘Type’
../../../include/vdr/player.h:70:16: warning: unused parameter ‘TrackId’
make[1]: Leaving directory `/usr/local/src/vdr-1.7.22/PLUGINS/src/softhddevice-0.0.7'
|
|
|
Source code |
1 |
-lxcb-icccm -lxcb-atom -lxcb-property -lxcb-event -lxcb |
|
|
Source code |
1 |
-lxcb-keysyms -lxcb |
This post has been edited 1 times, last edit by "udobroemme" (Dec 6th 2011, 9:33am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
#if 0
xcb_icccm_set_wm_name(Connection, VideoWindow, XCB_ATOM_STRING, 8,
sizeof("softhddevice") - 1, "softhddevice");
xcb_icccm_set_wm_icon_name(Connection, VideoWindow, XCB_ATOM_STRING, 8,
sizeof("softhddevice") - 1, "softhddevice");
// FIXME: size hints
// register interest in the delete window message
if ((reply =
xcb_intern_atom_reply(Connection, xcb_intern_atom(Connection, 0,
sizeof("WM_DELETE_WINDOW") - 1, "WM_DELETE_WINDOW"),
NULL))) {
WmDeleteWindowAtom = reply->atom;
free(reply);
if ((reply =
xcb_intern_atom_reply(Connection, xcb_intern_atom(Connection,
0, sizeof("WM_PROTOCOLS") - 1, "WM_PROTOCOLS"),
NULL))) {
xcb_icccm_set_wm_protocols(Connection, VideoWindow, reply->atom, 1,
&WmDeleteWindowAtom);
free(reply);
}
}
#endif
|
Die libxcb-icccm.so ist bei mir übrigens vorhanden. Normalerweise habe ich auch keine Linkerprobleme, das ist das erste Mal.
|
|
Source code |
1 2 3 4 5 6 |
$(shell pkg-config --libs alsa libavcodec libavformat) \
`pkg-config --libs x11 x11-xcb xcb xcb-xv xcb-shm xcb-dpms xcb-atom\
xcb-screensaver xcb-randr xcb-glx xcb-icccm xcb-keysyms`\
`pkg-config --libs gl glu` \
`pkg-config --libs vdpau` \
`pkg-config --libs libva-x11 libva-glx libva`
|
Das habe ich schon überprüft, die Reihenfolge ist nicht optimal.
Aber es fehlt ja xcb_icccm_set_wm_name aus "xcb-icccm" und meine Objekte stehen vor dem ganzen Rotz.
This post has been edited 1 times, last edit by "gda" (Dec 6th 2011, 3:35pm)
|
|
Source code |
1 2 3 4 5 6 7 8 |
g++ -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -DUSE_LIVEBUFFER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"softhddevice"' -I/usr/include/dvb-s2api-liplianin -I/usr/include/vdr/include -c -o softhddevice.o softhddevice.cpp cc -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -DUSE_LIVEBUFFER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"softhddevice"' -I/usr/include/dvb-s2api-liplianin -I/usr/include/vdr/include -I/usr/include/alsa -c -o softhddev.o softhddev.c cc -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_GRAPHTFT -DUSE_LIVEBUFFER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"softhddevice"' -I/usr/include/dvb-s2api-liplianin -I/usr/include/vdr/include -I/usr/include/alsa -c -o video.o video.c video.c: In function 'VaapiRenderFrame': video.c:2226:42: error: 'AVFrame' has no member named 'sample_aspect_ratio' video.c:2231:34: error: 'AVFrame' has no member named 'sample_aspect_ratio' make[2]: *** [video.o] Error 1 make[2]: Leaving directory `/build/buildd/vdr-plugin-softhddevice-0.0.8.git20111207' |