[FFmpeg-devel] [RFC]Revert the default for ffplay to -noautoexit

Michael Niedermayer michaelni at gmx.at
Mon Sep 8 00:04:13 CEST 2014


On Sun, Sep 07, 2014 at 10:39:27PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> I have no strong opinion on this but I wonder if ffplay isn't primarily 
> a test application for which it is very useful not to exit.
> 
> Please comment, Carl Eugen

>  ffplay.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 540b3c9cca41621d50d9f4d0a4b6a7f4774e8893  patchffplay.diff
> diff --git a/ffplay.c b/ffplay.c
> index 06bccce..833b5b1 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -311,7 +311,7 @@ static int fast = 0;
>  static int genpts = 0;
>  static int lowres = 0;
>  static int decoder_reorder_pts = -1;
> -static int autoexit = 1;
> +static int autoexit;
>  static int exit_on_keydown;
>  static int exit_on_mousedown;
>  static int loop = 1;

note, theres also a chnage to the docs & changelog that need reverting
if this is applied
git diff f9bc65e399d1883da21ae03d07b09348a11a5f49^ f9bc65e399d1883da21ae03d07b09348a11a5f49

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140908/8caf3623/attachment.asc>


More information about the ffmpeg-devel mailing list