After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688190 - waylandsink: Add a 'fullscreen' property
waylandsink: Add a 'fullscreen' property
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.x
Other Linux
: Normal enhancement
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-12 17:29 UTC by Joe Konno
Modified: 2018-05-06 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] wayland: Add support for non-fullscreen playback (4.12 KB, patch)
2012-11-13 16:58 UTC, Rob Bradford
none Details | Review
Practically the same patch, but for 0.10.x (3.66 KB, patch)
2012-12-18 22:33 UTC, Joe Konno
none Details | Review
Practically the same patch, but for 0.10.x (3.66 KB, patch)
2012-12-18 22:38 UTC, Joe Konno
rejected Details | Review
add fullscreen property (4.35 KB, patch)
2014-10-07 08:41 UTC, Benjamin Gaignard
none Details | Review
waylandsink-support-fullscreen (5.30 KB, patch)
2017-02-23 12:53 UTC, Fabien Dessenne
committed Details | Review

Description Joe Konno 2012-11-12 17:29:22 UTC
It would be splendid if the waylandsink had a fullscreen property, as gstreamer-vaapi does:

git://gitorious.org/vaapi/gstreamer-vaapi.git

or,

http://gitorious.org/vaapi/gstreamer-vaapi/blobs/master/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
Comment 1 Rob Bradford 2012-11-13 16:58:18 UTC
Created attachment 228907 [details] [review]
[PATCH] wayland: Add support for non-fullscreen playback


This adds a fullscreen property with which the playback can be made fullscreen
or not. This changes the default behaviour *not* to be fullscreen which I
think aligns better with most other sinks.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=688190
---
 ext/wayland/gstwaylandsink.c | 47 +++++++++++++++++++++++++++++++++++++++++---
 ext/wayland/gstwaylandsink.h |  2 ++
 2 files changed, 46 insertions(+), 3 deletions(-)
Comment 2 sreerenj 2012-11-14 10:48:11 UTC
patch seems fine... +1
Comment 3 Joe Konno 2012-11-14 17:19:33 UTC
+1 from me, looks good

(In reply to comment #1)
> Created an attachment (id=228907) [details] [review]
> [PATCH] wayland: Add support for non-fullscreen playback
> 
> 
> This adds a fullscreen property with which the playback can be made fullscreen
> or not. This changes the default behaviour *not* to be fullscreen which I
> think aligns better with most other sinks.
> 
> Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=688190
> ---
>  ext/wayland/gstwaylandsink.c | 47 +++++++++++++++++++++++++++++++++++++++++---
>  ext/wayland/gstwaylandsink.h |  2 ++
>  2 files changed, 46 insertions(+), 3 deletions(-)
Comment 4 Rob Bradford 2012-11-19 13:27:39 UTC
Hi Tim, do you think your could integrate this patch now that sreerenj has +1'ed it?
Comment 5 Tim-Philipp Müller 2012-11-19 14:14:27 UTC
The issue is not so much a question of +1s, but whether we want to start adding fullscreen properties, which is something we have historically NACKed. Will need to discuss this first. (The issue itself remains of course).
Comment 6 Joe Konno 2012-12-18 22:33:36 UTC
Created attachment 231841 [details] [review]
Practically the same patch, but for 0.10.x
Comment 7 Joe Konno 2012-12-18 22:38:27 UTC
Created attachment 231842 [details] [review]
Practically the same patch, but for 0.10.x
Comment 8 Tim-Philipp Müller 2012-12-23 16:13:59 UTC
Note:

commit aed2c7b4790053e881c0154953eef4265cb2318b
Author: Joe Konno <joe.konno@intel.com>
Date:   Tue Dec 18 09:53:16 2012 -0800

    waylandsink: do not default to a fullscreen canvas
    
    Defer certain canvas particulars to the player (or the Wayland
    compositor). Before this change, a fullscreen canvas was always
    requested. This may not be desirable in all cases.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690442

so that leaves the question of the property.
Comment 9 Joe Konno 2012-12-26 17:23:39 UTC
It didn't take much mailing list searching to see just how worn this property discussion path is. The answer to the "may we have a fullscreen property for this/that sink?" appears to be, "no, implement in a player."

Is there sufficient traction to continue pursuing this waylandsink property?

(In reply to comment #5)
> The issue is not so much a question of +1s, but whether we want to start adding
> fullscreen properties, which is something we have historically NACKed. Will
> need to discuss this first. (The issue itself remains of course).
Comment 10 Tim-Philipp Müller 2013-03-13 22:40:23 UTC
This bug does not "block" anything, certainly not wayland support in GNOME. It's just a convenience interface/property/function at best.
Comment 11 Benjamin Gaignard 2014-10-07 08:41:39 UTC
Created attachment 287931 [details] [review]
add fullscreen property

We (STMicro) have done the same kind of patch for 1.4
Comment 12 Nicolas Dufresne (ndufresne) 2015-08-08 20:17:02 UTC
Comment on attachment 231842 [details] [review]
Practically the same patch, but for 0.10.x

0.10 is no longer supported.
Comment 13 Fabien Dessenne 2017-02-23 12:53:19 UTC
Created attachment 346566 [details] [review]
waylandsink-support-fullscreen

This patch is the original patch ported to gst-1.11.1.

Can we take the decision to accept this patch or to reject and close this ticket?
Comment 14 Nicolas Dufresne (ndufresne) 2017-02-23 15:20:54 UTC
I thought this was nacked and long time buried ?

(In reply to Tim-Philipp Müller from comment #5)
> The issue is not so much a question of +1s, but whether we want to start
> adding fullscreen properties, which is something we have historically
> NACKed. Will need to discuss this first. (The issue itself remains of
> course).
Comment 15 Tim-Philipp Müller 2018-05-06 13:08:07 UTC
I'm happy to drop my objection to "fullscreen" properties on sinks. It's clearly something people want and that's useful, and no one else is likely to work on an alternative solution like an interface. Adding a property also doesn't prevent us from adding an interface in the future.
Comment 16 Nicolas Dufresne (ndufresne) 2018-05-06 13:15:06 UTC
commit f777c66dcc29e3d9d6b56c85fdefc0600333aa0d (HEAD -> master, origin/master, origin/HEAD)
Author: Fabien Dessenne <fabien.dessenne@st.com>
Date:   Thu Feb 23 11:48:13 2017 +0100

    waylandsink: support fullscreen
    
    Add the fullscreen property that makes the sink displayed all across
    the output.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688190