[Ffmpeg-devel] [PATCH] make dvdsub encoder depend on config variables

Guillaume Poirier guillaume.poirier
Mon Nov 21 13:15:09 CET 2005


Hi,

Diego Biurrun wrote:
> On Mon, Nov 21, 2005 at 09:14:57AM +0000, Wolfram Gloger wrote:
>>>On Mon, Nov 21, 2005 at 08:39:45AM +0000, Wolfram Gloger wrote:
>>>>>+ifeq ($(CONFIG_DVBSUB_DECODER)$(CONFIG_DVBSUB_ENCODER),)
>>>>>+   OBJS+= dvbsub.o
>>>>>+endif
>>>>
>>>>This should be if_n_eq, no?
>>>
>>>Huh?  It's supposed to be compiled-in only when those two defines are
>>>set in config.mak ...
>>
>>Yes, and if those two defines are set to "yes", then what will
>>
>>  ifeq (yesyes,)
>>
>>result in?  I think:  false :-)
> 
> 
> Yes, you are right, I take everything back.  It's not the nicest
> solution in any case.  I'll look into finding a cleaner way to achieve
> the same result.

Given that each sub/dec is supposed to be independent the one from the
other, may the attached patch be ok? (I have not tested it though, and
will only be able to do so tonight).

Guillaume
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_dvd_sub_enc.patch
Type: text/x-patch
Size: 1902 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051121/6e793d05/attachment.bin>



More information about the ffmpeg-devel mailing list