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 380625 - [x*imagesink] add 'handle-expose' property
[x*imagesink] add 'handle-expose' property
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-29 19:41 UTC by Jorn Baayen
Modified: 2007-07-14 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for ximagesink (2.38 KB, patch)
2006-11-29 19:42 UTC, Jorn Baayen
committed Details | Review
Patch for xvimagesink (2.52 KB, patch)
2006-11-29 19:43 UTC, Jorn Baayen
committed Details | Review

Description Jorn Baayen 2006-11-29 19:41:42 UTC
Attached patches add 'handle-expose' boolean properties to ximagesink and xvimagesink. TRUE (default) maintains present draw current frame on Expose behaviour, FALSE causes the sink not to draw anything on Expose. 

Useful for video widgets which may want to be in control of Expose behaviour.
Comment 1 Jorn Baayen 2006-11-29 19:42:24 UTC
Created attachment 77366 [details] [review]
Patch for ximagesink
Comment 2 Jorn Baayen 2006-11-29 19:43:25 UTC
Created attachment 77368 [details] [review]
Patch for xvimagesink
Comment 3 Wim Taymans 2007-07-14 18:20:45 UTC
        Patch by: Jorn Baayen <jorn at openedhand dot com>

        * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents),
        (gst_ximagesink_set_property), (gst_ximagesink_get_property),
        (gst_ximagesink_init), (gst_ximagesink_class_init):
        * sys/ximage/ximagesink.h:
        * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents),
        (gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
        (gst_xvimagesink_init), (gst_xvimagesink_class_init):
        * sys/xvimage/xvimagesink.h:
        add 'handle-expose' property. Useful for video widgets which may want to
        be in control of Expose behaviour. Fixes #380625