[FFmpeg-devel] [MinGW] build FFplay without "-mwindows"

Baptiste Coudurier baptiste.coudurier
Wed May 6 00:46:08 CEST 2009


Alessandro Grassi wrote:
> 2009/5/6 Baptiste Coudurier <baptiste.coudurier at gmail.com>
> 
>> Hi,
>>
>> Alessandro Grassi wrote:
>>> I think it's a good idea to remove the "-mwindows" switch when FFplay is
>>> built under MinGW. Because of this switch, FFplay doesn't produce any
>>> console output (like help, program info, codec parameters ...). I did it
>> and
>>> works OK, both a console window and a video/waveform window are created.
>>>
>>> P.S. The same may apply to cygwin too, probably. I'm not sure since I
>> only
>>> use MinGW
>> Do you know why this doesn't affect ffmpeg binary ?
>>  <https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel>
>>
> looks like -mwindows is used together with SDL switches (-lSDL, -lSDLmain),
> and SDL is not used in FFmpeg itself

I see, do you know why SDL is adding -mwindows if it seems not necessary ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list