X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fvaapi%2Fgstvaapivideomemory.c;h=1788125573d356379ef0d3c5d04a72cee2bcf308;hb=c3643b42a44f57b76af95596383e3ff2f88c24be;hp=98d5004e1df041c967c8708c2bef26ebd1da2dc0;hpb=f2ce28e4b78afc37da0771bda3830eaa02adef85;p=platform%2Fupstream%2Fgstreamer-vaapi.git diff --git a/gst/vaapi/gstvaapivideomemory.c b/gst/vaapi/gstvaapivideomemory.c index 98d5004..1788125 100644 --- a/gst/vaapi/gstvaapivideomemory.c +++ b/gst/vaapi/gstvaapivideomemory.c @@ -160,7 +160,7 @@ gst_video_meta_map_vaapi_memory(GstVideoMeta *meta, guint plane, goto error_ensure_image; // Check that we can actually map the surface, or image - if ((flags & GST_MAP_READWRITE) == GST_MAP_WRITE && + if ((flags & GST_MAP_READWRITE) == GST_MAP_READWRITE && !mem->use_direct_rendering) goto error_unsupported_map;