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

Michael Niedermayer michaelni
Wed May 6 01:36:47 CEST 2009


On Tue, May 05, 2009 at 03:46:08PM -0700, Baptiste Coudurier wrote:
> 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 ?

i dont know but i suspect that it is because the S in SDL stands for shit ;)

btw, thats a great opertunity to remind us all how c00l it would be had
ffplay mplayer/libvo support. libcaca/libaa alone should justify that :)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090506/887e5b0d/attachment.pgp>



More information about the ffmpeg-devel mailing list