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.
Quoted
Original von ronnykornexl
-D__user=
[/CODE]
das ist aber eigentlich nur Symptombekämpfung. Ich glaube, es gibt da ein Problem mit den Linux-Headerfiles.
@Jörg:
gibt es am Anfang Deines video.h so eine Zeile?
#include <linux/compiler.h>
und steht in /usr/include/linux/compiler.h so etwas?
#ifdef __CHECKER__
# define __user __attribute__((noderef, address_space(1)))
...
#else
# define __user
...
#endif
Quoted
Original von ronnykornexl
Hatte sowas ähnliches unter crux, folgendes half in der Make.config.
![]()
Source code
1 2 3 ifeq (exists, $(shell test -x /usr/bin/crux && echo exists)) CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -D__user= endif
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#ifndef _DVBVIDEO_H_
#define _DVBVIDEO_H_
#include <linux/compiler.h>
#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <stdint.h>
#include <time.h>
#endif
typedef enum {
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#ifndef __LINUX_COMPILER_H #define __LINUX_COMPILER_H /* Somewhere in the middle of the GCC 2.96 development cycle, we implemented a mechanism by which the user can annotate likely branch directions and expect the blocks to be reordered appropriately. Define __builtin_expect to nothing for earlier compilers. */ #if __GNUC__ == 2 && __GNUC_MINOR__ < 96 #define __builtin_expect(x, expected_value) (x) #endif #define likely(x) __builtin_expect((x),1) #define unlikely(x) __builtin_expect((x),0) #endif /* __LINUX_COMPILER_H */ |
)
Läuft auch prima.


Hoffe ich stosse durch diese Massnahme nicht auf andere Probleme 

Quoted
Original von jackfritt
(Das ist die ganze Datei !!! Aus aktuellen kernels is sie viel größer und dort steht auch dein Code drin)
Quoted
Ich denke es liegt an meinen include Dateien. Dachte immer die wären auf meine sourcen gelinkt sind sie aber nicht. Kann ich das einfach so machen ? Denke das wäre viel sinnvoller bzw. aktueller ? Die include dateien sind noch von ca. 2003. Aus dem aktuellen Kernel sind sie vom July![]()
This post has been edited 1 times, last edit by "wolfgang61" (Aug 1st 2005, 6:03pm)
Quoted
Original von stevie101
Ist irgendwas an dem Startparameter "-d" geändert wurden ? Ich habe Muggle mit embedded Server laufen und meine Giantdisc Datenbank im MP3 Archiv. Ich starte Muggle mit "-d /mnt/system/vdr/mp3/database, dort liegt die Datenbank und das Verzeichnis GiantDisc.
Quoted
Original von stevie101
Ich starte Muggle mit "-d /mnt/system/vdr/mp3/database, dort liegt die Datenbank und das Verzeichnis GiantDisc. Ging bei der vorherigen Version, jetzt will muggle beim Start immer "/var/home/.muggle/" als Datenbankverzeichnis.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
--- mg_db_gd_mysql.c (revision 792)
+++ mg_db_gd_mysql.c (working copy)
@@ -111,8 +111,6 @@
mgDb* GenerateDB(bool SeparateThread)
{
// \todo should return different backends according to the_setup.Variant
- if (!DbServer)
- DbServer = new mgDbServerMySQL;
return new mgDbGd(SeparateThread);
}
@@ -465,6 +463,8 @@
if (time(0)<m_connect_time+10)
return false;
m_connect_time=time(0);
+ if (!DbServer)
+ DbServer = new mgDbServerMySQL;
m_db = mysql_init (0);
if (!m_db)
return false;
|
Quoted
Original von wolfgang61
Quoted
Original von sigma7
Sind die verschiedenen Display & Background Modes in der Doku beschrieben?
wohl noch nicht. Ich glaube, 0 heisst wie bisher: mit Lifebild im Hintergrund, 1 heisst mit schwarzem Hintergrund, 2 heisst mit Cover. Aber ich probiere es jetzt nicht aus. Lars weiss das genauer.
Quoted
muggle can display cover images. This is how it tries to find them:
1. if the database field album.coverimg contains something: This is
displayed. If the image file does not exist, show an error.
This post has been edited 1 times, last edit by "sigma7" (Aug 7th 2005, 8:53pm)
|
|
Source code |
1 2 |
vdr:/video1/mp3/ACDC/Blow up your video # /usr/local/bin/image_convert.sh ./cover.jpg ./cover.mpg **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: stream requires unsupported features! |
This post has been edited 2 times, last edit by "duc" (Aug 8th 2005, 10:33pm)
|
|
Source code |
1 |
tmpFile = string( the_setup.ImageCacheDir ) + string( "/" ) + filename.substr( 0, dotpos ) + string( ".mpg" ); |
|
|
Source code |
1 |
tmpFile = filename.substr( 0, dotpos ) + string( ".mpg" ); |