[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer

Måns Rullgård mans
Fri Feb 27 20:29:14 CET 2009

Olivier Guilyardi <list at samalyse.com> writes:

> Reimar D?ffinger wrote:
>> On Fri, Feb 27, 2009 at 06:58:55PM +0100, Olivier Guilyardi wrote:
>>> +jack_demuxer_extralibs="-ljack -lpthread -lrt"
>> just -ljack works just fine for MPlayer...
> Okay, corrected.
>>> +#define _BSD_SOURCE 1
>> what exactly is that one needed for?
> It's for usleep() from unistd.h. For some reason, it doesn't work if
> I add it right above #include <unistd.h>

What do you need usleep() for?  Sleeping in an input handler smells of
bad design.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list