[vdr] vdr-xine "buffer usage:" messages
Reinhard Nissl
rnissl at gmx.de
Sun Feb 10 20:42:06 CET 2008
Hi,
Simon Baxter schrieb:
> I run vdr-xine with the following syntax:
> xine --fullscreen -r anamorphic --hide-gui -V xv -A alsa -D --post
> vdr_video --post vdr_audio vdr://tmp/vdr-xine/stream#demux:mpeg_pes
>
> The "post" options seem to cause a continuous stream of the following
> messages:
>
> buffer usage: 62, 0, 7, 0, 0x94aa6f8
> buffer usage: 101, 0, 6, 1, 0x94aa6f8
> buffer usage: 86, 0, 7, 1, 0x94aa6f8
> buffer usage: 75, 0, 7, 0, 0x94aa6f8
> buffer usage: 95, 0, 7, 4, 0x94aa6f8
> buffer usage: 85, 0, 6, 0, 0x94aa6f8
>
> Is there some sort of debugging turned on? How do I stop these messages?
This one was hardcoded to to get an idea of whether a PC is fast
enough for HD decoding. To turn it off, you'll have to comment
out the line with fprintf() in post_vdr_video.c:
{
int a = 0, b = 0, c = 0, d = 0;
if (stream)
_x_query_buffer_usage(stream, &a, &b, &c, &d);
fprintf(stderr, "buffer usage: %3d, %2d, %2d, %2d, %p\n", a,
b, c, d, stream);
}
Another possibility is to put
if (0)
in front of the opening curly brace, which will lead to not
executing any line in the block.
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
More information about the vdr
mailing list