mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
sys/ximage/ximagesink.c: For completeness, XSync in the destroy function as xvimage does.
Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy): For completeness, XSync in the destroy function as xvimage does.
This commit is contained in:
parent
771b0248e7
commit
fbfef0cba4
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-09-23 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy):
|
||||
For completeness, XSync in the destroy function as xvimage does.
|
||||
|
||||
2004-09-23 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps):
|
||||
|
|
|
@ -284,6 +284,7 @@ gst_ximagesink_ximage_destroy (GstXImageSink * ximagesink, GstXImage * ximage)
|
|||
if (ximagesink->xcontext->use_xshm) {
|
||||
if (ximage->SHMInfo.shmaddr != ((void *) -1)) {
|
||||
XShmDetach (ximagesink->xcontext->disp, &ximage->SHMInfo);
|
||||
XSync (xcontext->disp, 0);
|
||||
shmdt (ximage->SHMInfo.shmaddr);
|
||||
}
|
||||
if (ximage->SHMInfo.shmid > 0)
|
||||
|
|
Loading…
Reference in a new issue