[FFmpeg-devel] [PATCH] configure - simplify grab device selection

Ramiro Ribeiro Polla ramiro
Fri Aug 10 22:14:21 CEST 2007


Roman Shaposhnick wrote:
> On Thu, 2007-08-09 at 15:56 -0300, Ramiro Ribeiro Polla wrote:
>   
>> Diego Biurrun wrote:
>>     
>>> On Tue, Aug 07, 2007 at 12:33:06AM -0300, Ramiro Ribeiro Polla wrote:
>>>   
>>>       
>>>> Attached patches simplify configure by treating grab devices like normal 
>>>> demuxers. They have a proper check in configure.
>>>>     
>>>>         
>>> Hmm, what about dc1394 and dv1394?
>>>
>>>   
>>>       
>> dc1394 seems to be easy too. It just needs to be disabled by default.
>>
>> The problem is with dv1394. It looks like a hack. Is it normal that 
>> every program that wants to use dv1394 in linux must have its own 
>> include file with ioctl definitions? Doesn't the kernel supply this? I 
>> don't how to check for it cleanly. Any thoughts, Roman?
>>     
>
>   Short answer is: it is still a mess. The following is a nice
> introduction into how it evolved:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-September/014875.html
>
>   Basically, the problem is that linux/drivers/ieee1394/dv1394.h is
> still not being exported to the /usr/include hierarchy. 
>
>   Now, we can, if we want to make kernel sources to be a requirement
> for building dv1394 capturing support. It is, perhaps, less ugly
> than letting libavformat/dv1394.h bitrot. 
>
>    Should we do that?
>
>   

IMHO it is ok to leave that file there, and not require kernel sources.

Attached patch just removes the configure option. This way it becomes:
configure --disable-demuxer=dv1394

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dv1394.diff
Type: text/x-patch
Size: 3080 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070810/be73d8c7/attachment.bin>



More information about the ffmpeg-devel mailing list