projects
/
profile
/
ivi
/
gstreamer-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713e609
)
vaapiupload: reset direct-rendering to zero when changing caps.
accepted/2.0/20130417.170005
submit/2.0/20130417.091434
author
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 17:21:41 +0000
(18:21 +0100)
committer
Zhao Halley
<halley.zhao@intel.com>
Wed, 17 Apr 2013 09:10:08 +0000
(17:10 +0800)
Make sure to reset direct-rendering flag to zero when caps are changed,
and only derive it to one when the next checks succeed.
gst/vaapi/gstvaapiuploader.c
patch
|
blob
|
history
diff --git
a/gst/vaapi/gstvaapiuploader.c
b/gst/vaapi/gstvaapiuploader.c
index
451da71
..
e6bf74d
100644
(file)
--- a/
gst/vaapi/gstvaapiuploader.c
+++ b/
gst/vaapi/gstvaapiuploader.c
@@
-333,6
+333,7
@@
gst_vaapi_uploader_ensure_caps(
return FALSE;
priv = uploader->priv;
+ priv->direct_rendering = 0;
structure = gst_caps_get_structure(src_caps, 0);
if (!structure)