[Tizen-submit] 2526: Changes to Tizen:2.0:IVI/gstreamer-vaapi

noreply at tizen.org noreply at tizen.org
Fri Apr 19 10:51:15 GMT 2013


Hi,
Zhao Halley have made the following changes to gstreamer-vaapi in project Tizen:2.0:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #2526

  submit:       Tizen:2.0:IVI:build/gstreamer-vaapi(cleanup) -> Tizen:2.0:IVI


Message:
Submitter: Zhao Halley <halley.zhao at intel.com>
Comments: 
Git project: profile/ivi/gstreamer-vaapi
Tag: submit/2.0/20130419.104529
Commit: 1cdbcfe Fix memory leak when doing YUV data upload

State:   new        2013-04-19T03:21:57 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- gstreamer-vaapi.spec
+++ gstreamer-vaapi.spec
@@ -1,7 +1,7 @@
 Name:       gstreamer-vaapi
 Version:    0.4.0.02.f9604f48
 Release:    0
-VCS:        profile/ivi/gstreamer-vaapi#submit/2.0/20130418.115824-0-ga2e6481
+VCS:        profile/ivi/gstreamer-vaapi#submit/2.0/20130419.104529-0-g1cdbcfe
 Summary:    VA-API based plugins for GStreamer and helper libraries
 Group:      Multimedia/Gstreamer
 License:    LGPLv2+ and GPLv2+

other changes:
--------------

++++++ gstreamer-vaapi-0.4.0.02.f9604f48.tar.bz2
--- /gst/vaapi/gstvaapiuploader.c
+++ /gst/vaapi/gstvaapiuploader.c
@@ -441,7 +441,6 @@
 gst_vaapi_uploader_get_buffer(GstVaapiUploader *uploader)
 {
     GstVaapiUploaderPrivate *priv;
-    GstVaapiSurface *surface;
     GstVaapiImage *image;
     GstVaapiVideoBuffer *vbuffer;
     GstBuffer *buffer = NULL;
@@ -457,13 +456,7 @@
     }
     vbuffer = GST_VAAPI_VIDEO_BUFFER(buffer);
 
-    surface = gst_vaapi_video_pool_get_object(priv->surfaces);
-    if (!surface) {
-        GST_WARNING("failed to allocate VA surface");
-        goto error;
-    }
-
-    gst_vaapi_video_buffer_set_surface(vbuffer, surface);
+    gst_vaapi_video_buffer_set_surface_from_pool(vbuffer, priv->surfaces);
 
     image = gst_vaapi_video_buffer_get_image(vbuffer);
     if (!gst_vaapi_image_map(image)) {


More information about the Tizen-submit mailing list