Yes, we can!
mplayer-rc4 ist geboren.
Leider bekomme ich den lavcmpeg2-encoder nicht mehr in die Sourcen des rc4 integriert.
Bis zum rc3 funktioniert der Code noch ohne Veränderungen.
Es wäre schön wenn sich Jochen oder jemand anderes mit mehr Kompetenz als Ich der Sache mal annehmen könnte.
Vermutlich müssen einige Variablen in der vf_lavcmpeg2.c angepasst werden.
Code
gcc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -D_REENTRANT -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c -o libmpcodecs/vf_lavcmpeg2.o libmpcodecs/vf_lavcmpeg2.c
libmpcodecs/vf_lavcmpeg2.c:31: warning: no previous prototype for 'explode'
libmpcodecs/vf_lavcmpeg2.c:67: warning: 'struct vf_instance_s' declared inside parameter list
libmpcodecs/vf_lavcmpeg2.c:67: warning: its scope is only this definition or declaration, which is probably not what you want
libmpcodecs/vf_lavcmpeg2.c: In function 'config':
libmpcodecs/vf_lavcmpeg2.c:68: warning: passing argument 1 of 'vf_next_query_format' from incompatible pointer type
libmpcodecs/vf_lavcmpeg2.c:70: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:71: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:73: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:73: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:78: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:85: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:93: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:93: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:95: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:96: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:96: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:98: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:98: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:103: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:108: warning: passing argument 1 of 'vf_next_config' from incompatible pointer type
libmpcodecs/vf_lavcmpeg2.c: At top level:
libmpcodecs/vf_lavcmpeg2.c:111: warning: 'struct vf_instance_s' declared inside parameter list
libmpcodecs/vf_lavcmpeg2.c: In function 'put_image':
libmpcodecs/vf_lavcmpeg2.c:114: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:123: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:124: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:124: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:128: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:132: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:132: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:133: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:134: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:135: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:137: error: dereferencing pointer to incomplete type
libmpcodecs/vf_lavcmpeg2.c:139: warning: passing argument 1 of 'vf_next_put_image' from incompatible pointer type
libmpcodecs/vf_lavcmpeg2.c: At top level:
libmpcodecs/vf_lavcmpeg2.c:144: warning: 'struct vf_instance_s' declared inside parameter list
libmpcodecs/vf_lavcmpeg2.c: In function 'query_format':
libmpcodecs/vf_lavcmpeg2.c:149: warning: passing argument 1 of 'vf_next_query_format' from incompatible pointer type
libmpcodecs/vf_lavcmpeg2.c: In function 'open':
libmpcodecs/vf_lavcmpeg2.c:166: warning: assignment from incompatible pointer type
libmpcodecs/vf_lavcmpeg2.c:167: warning: assignment from incompatible pointer type
libmpcodecs/vf_lavcmpeg2.c:168: warning: assignment from incompatible pointer type
make: *** [libmpcodecs/vf_lavcmpeg2.o] Fehler 1
[root@localhost MPlayer-1.0rc4]#
Display More