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

Alessandro Grassi alessandro.g89
Wed May 6 00:43:08 CEST 2009


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



More information about the ffmpeg-devel mailing list