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

Marton Balint cus at passwd.hu
Sat Nov 4 20:29:04 EET 2017



On Sun, 29 Oct 2017, Marton Balint wrote:

>
>
> 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.

Applied the series.

Regards,
Marton


More information about the ffmpeg-devel mailing list