NetBSD Problem Report #51619

From www@NetBSD.org  Wed Nov  9 09:27:21 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1668C7A217
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  9 Nov 2016 09:27:21 +0000 (UTC)
Message-Id: <20161109092719.A67B87A27D@mollari.NetBSD.org>
Date: Wed,  9 Nov 2016 09:27:19 +0000 (UTC)
From: adrien_fernandes2@hotmail.com
Reply-To: adrien_fernandes2@hotmail.com
To: gnats-bugs@NetBSD.org
Subject: ffplay3 won't fullscreen when pressing "f" key
X-Send-Pr-Version: www-1.0

>Number:         51619
>Category:       pkg
>Synopsis:       ffplay3 won't fullscreen when pressing "f" key
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 09 09:30:00 +0000 2016
>Last-Modified:  Sun Nov 20 01:40:00 +0000 2016
>Originator:     Adrien Fernandes
>Release:        pkgsrc-current 5th November 2016
>Organization:
>Environment:
NetBSD 7.99.34 (GENERIC.201607240240Z) amd64
>Description:
I don't know if it is SDL2 related but I tried ioRTCW (Return to Castle Wolfenstein) which is also using SDL2 and fullscreen is correctly working.

When I press "f" on my keyboard, the video should be fullscreen but it flickers for one frame and stay in windowed mode.

I'm using wm/i3 and it always worked before. Someone also tried under another WM and found that he is having the exact same issue than me since last version.

If I start ffplay3 with -fs option, it will start ffplay3 in fullscreen mode correctly but if I return in windowed mode, it won't return in fullscreen at all by pressing "f" key.

I also noticed that when using ffplay3 -fs file.video, it will flickers for one frame before to start ffplay3 in fullscreen.

To let you understand what I mean : I made a script that contains a lot if lines like that

ffplay3 -fs -autoexit file1
ffplay3 -fs -autoexit file2
ffplay3 -fs -autoexit file3
ffplay3 -fs -autoexit file4
etc...

Once one video is over, it will close ffplay3 to re-open it with the next video in fullscreen but since I have this fullscreen bug, the time between each video is around twice longer because of the flickering moment.

I have two monitors and I am using i3 which mean that I can use WINDOWS + f (default Mod4 keys on i3) to put the window in i3-fullscreen. It will work but if I leave the screen displaying the video in fullscreen with my mouse cursor to go on the second screen, it will return in windowed mode (which is totally new, it never did that before). So I have to press twice the i3-fullscren shortcut (once to return in windowed mode even it already appears in windowed mode and once to return in fullscreen) AND... don't touch the computer anymore...

Anyone having a DE won't be able at all to turn his videos in fullscreen mode.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Adrien Fernandes <adrien_fernandes2@hotmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51619: ffplay3 won't fullscreen when pressing "f" key
Date: Tue, 15 Nov 2016 08:54:17 +0100

 Ok so I gave it a try on Arch Linux using pacman as a normal
 Arch user and the problem is also there. It means it is
 absolutely not NetBSD related but a ffmpeg bug.

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51619: ffplay3 won't fullscreen when pressing "f" key
Date: Sun, 20 Nov 2016 01:36:00 +0000

 On Tue, Nov 15, 2016 at 06:55:01AM +0000, Adrien Fernandes wrote:
  >  Ok so I gave it a try on Arch Linux using pacman as a normal
  >  Arch user and the problem is also there. It means it is
  >  absolutely not NetBSD related but a ffmpeg bug.

 Reporting it upstream may help then...

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.