[FFmpeg-devel] [PATCHv6 1/4] Move lavd/v4l2-common.* to lavc

Jorge Ramirez jorge.ramirez-ortiz at linaro.org
Sun Aug 27 19:03:28 EEST 2017


On 08/25/2017 09:03 PM, Paul B Mahol wrote:
>>> Does lavd stuff now depends on lavc?
>> um yes, v4l2 in/out devices (lavd) do use a common file now present in
>> lavc (ie: v4l2_fmt.c).
>>
>> see libavcodec/Makefile:
>>
>> OBJS-$(CONFIG_V4L2)                    += v4l2_fmt.o
>> OBJS-$(CONFIG_V4L2_M2M)                += v4l2_m2m.o v4l2_buffers.o
>>
>> also note that the common file doesn't depend on the new V4L2_M2M
>> decoders/encoders being available (only on V4L2)
> Than relevant devices in lavd should be marked to depend on lavc.
Hi Paul,

could you tell me how please?

I can see that the direct show capture interface (libavdevice/dshow.c) 
has similar dependencies with avcodec but I can't figure out how it 
explicitly flags that it depends on the raw.c codec in the way that you 
suggest.







More information about the ffmpeg-devel mailing list