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 736122 - ximagesrc: setting the screen-num property has no effect
ximagesrc: setting the screen-num property has no effect
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal trivial
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-05 11:47 UTC by Antonio Ospite
Modified: 2014-09-16 07:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ximagesrc: Remove unused screen-num property (4.94 KB, patch)
2014-09-15 12:47 UTC, Antonio Ospite
committed Details | Review

Description Antonio Ospite 2014-09-05 11:47:44 UTC
Hi,

the screen-num property exposed by ximagesrc does not seem to have any effect, the value is set but never used by any code AFAICS.

The property should be fixed or removed.

I can try to fix it, but considering that the screen can also be specified as part of the display-name property (e.g. display-name=":0.1") we should think to some scheme for when the screen is specified using both mechanisms at the same time (e.g. display-name="0.0" screen-num=1)

I'd vote for dropping screen-num altogether.

Thanks,
   Antonio
Comment 1 Sebastian Dröge (slomo) 2014-09-12 14:13:20 UTC
Dropping it seems like the best solution, yes. Nobody is going to complain as it had no effect anyway ;)
Comment 2 Antonio Ospite 2014-09-15 12:47:44 UTC
Created attachment 286196 [details] [review]
ximagesrc: Remove unused screen-num property

Here is a patch to remove the screen-num property.

While at it I removed also the internal variables for the screen number, they are not really needed.

The patch is against the 1.4 branch.

Thanks,
   Antonio
Comment 3 Sebastian Dröge (slomo) 2014-09-16 07:36:58 UTC
commit 80fa912b06582722ac20829b7741de66964e721f
Author: Antonio Ospite <ao2@ao2.it>
Date:   Mon Sep 15 14:39:41 2014 +0200

    ximagesrc: Remove unused screen-num property
    
    The screen number can be still specified as part of the display-name
    property (e.g. for screen 1 of display 0 use display-name=":0.1").
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736122