[FFmpeg-devel] [PATCH] Add option to disable termios.h usage
Thu Mar 10 17:09:43 CET 2011
Le decadi 20 vent?se, an CCXIX, Takis Issaris a ?crit?:
> Why would this work? tcsetattr is invoked regardless of where stdin comes
As M?ns said, tcsetattr will be called on /dev/null and fail with no effects.
> Hmm, I do not really like that solution, if I understand correctly, it makes
> sure the shell fixes the terminal settings after an application exits? It
> seems better to me to not mess the terminal up in the first place, instead
> of relying on a specific shell's feature to fix it.
Do both: use this feature to avoid being annoyed by bogus applications and
fix your own application.
But I do not think that ffmpeg needs to be fixed: starting ffmpeg in the
background without redirecting its input is wrong in the first place, since
it uses it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel