mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
Disable GLX rendering when vaapisink uses a foreign X window.
This commit is contained in:
parent
9cfa005887
commit
643d08ef23
2 changed files with 8 additions and 1 deletions
5
NEWS
5
NEWS
|
@ -1,6 +1,9 @@
|
|||
gst-vaapi NEWS -- summary of changes. 2010-05-16
|
||||
gst-vaapi NEWS -- summary of changes. 2010-05-DD
|
||||
Copyright (C) 2010 Splitted-Desktop Systems
|
||||
|
||||
Version 0.2.4 - DD.May.2010
|
||||
* Disable GLX rendering when vaapisink uses a foreign X window
|
||||
|
||||
Version 0.2.3 - 16.May.2010
|
||||
* Fix memory leak of encoded buffers
|
||||
* Fix decoder caps to report codec aliases
|
||||
|
|
|
@ -132,6 +132,10 @@ gst_vaapisink_xoverlay_set_xid(GstXOverlay *overlay, XID xid)
|
|||
{
|
||||
GstVaapiSink * const sink = GST_VAAPISINK(overlay);
|
||||
|
||||
/* Disable GLX rendering when vaapisink is using a foreign X
|
||||
window. It's pretty much useless */
|
||||
sink->use_glx = FALSE;
|
||||
|
||||
gst_vaapisink_ensure_window_xid(sink, xid);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue