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 632667 - [ximagesink] added read-only properties window-width and window-height
[ximagesink] added read-only properties window-width and window-height
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal enhancement
: 0.10.32
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-20 09:49 UTC by Andrea Sebastianutti
Modified: 2010-12-02 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xvimagesink.c added with properties window-width and window-height (79.16 KB, text/x-csrc)
2010-10-20 09:49 UTC, Andrea Sebastianutti
  Details
ximagesink added by two new properties: window-width and window-height (1.86 KB, patch)
2010-10-21 16:06 UTC, Andrea Sebastianutti
committed Details | Review

Description Andrea Sebastianutti 2010-10-20 09:49:48 UTC
Created attachment 172822 [details]
xvimagesink.c added with properties window-width and window-height

Added read-only properties window-width and window-height to let know to any application what are the current video window dimensions.
Property window-width is a selector for width field of the GstWindow structure pointed by GstXImageSink structure. The same is for window-height but for field height in GstWindow pointed by GstXImageSink.
The aim of these two properties is to allow application to read the width and the height of the current video window.
Comment 1 Sebastian Dröge (slomo) 2010-10-20 10:31:32 UTC
Please attach this as a patch, see http://www.gstreamer.net/wiki/SubmittingPatches
Comment 2 Andrea Sebastianutti 2010-10-21 16:06:37 UTC
Created attachment 172947 [details] [review]
ximagesink added by two new properties: window-width and window-height
Comment 3 Sebastian Dröge (slomo) 2010-10-25 13:04:07 UTC
The same would probably make sense for xvimagesink too
Comment 4 Sebastian Dröge (slomo) 2010-10-25 13:13:58 UTC
commit 0cdecfe7adb6b4d07414e117ea189037afbfa516
Author: Andrea Sebastianutti <andreailseba@virgilio.it>
Date:   Mon Oct 25 14:09:20 2010 +0100

    xvimagesink: Add read-only properties window-width and window-height

commit 69dade07ca77807fb4420755f0d761aa6b7fb8ae
Author: Andrea Sebastianutti <andreailseba@virgilio.it>
Date:   Mon Oct 25 14:08:43 2010 +0100

    ximagsink: Add read-only properties window-width and window-height


Will push it after release
Comment 5 Sebastian Dröge (slomo) 2010-12-02 18:05:36 UTC
commit 72d6f7f4d652c9524c912987826f9950d9a7eca6
Author: Andrea Sebastianutti <andreailseba@virgilio.it>
Date:   Mon Oct 25 14:09:20 2010 +0100

    xvimagesink: Add read-only properties window-width and window-height

commit 2ad996616301d7379f14e11c08e066d70df1cdd9
Author: Andrea Sebastianutti <andreailseba@virgilio.it>
Date:   Mon Oct 25 14:08:43 2010 +0100

    ximagsink: Add read-only properties window-width and window-height