[FFmpeg-devel] [PATCH 1/2] ffplay: create the window and the renderer before starting playback

Marton Balint cus at passwd.hu
Sun Oct 29 01:57:19 EEST 2017



On Sat, 28 Oct 2017, Clément Bœsch wrote:

> On Sat, Oct 28, 2017 at 11:05:15PM +0200, Marton Balint wrote:
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  fftools/ffplay.c | 67 +++++++++++++++++++++++++++++---------------------------
>>  1 file changed, 35 insertions(+), 32 deletions(-)
>>
>
> Won't this prevent using ffplay without a display? Think of playing audio
> with ffplay on a headless machine (no display server).

No, for that, the user have to use -nodisp, and it should work the 
same way as before, because the window/renderer creating code is in an if 
(!display_disable) {...} block.

Regards,
Marton


More information about the ffmpeg-devel mailing list