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

noreply at tizen.org noreply at tizen.org
Thu Apr 18 12:04:12 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: #2511

  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/20130418.115824
Commit: a2e6481 do more check in _set_caps of vaapisink when _buffer_alloc is not called

State:   new        2013-04-18T04:34:54 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/20130417.091434-0-gdaf1180
+VCS:        profile/ivi/gstreamer-vaapi#submit/2.0/20130418.115824-0-ga2e6481
 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/gstvaapisink.c
+++ /gst/vaapi/gstvaapisink.c
@@ -722,8 +722,14 @@
     sink->video_width  = video_width;
     sink->video_height = video_height;
 
-    if (gst_structure_has_name(structure, "video/x-raw-yuv"))
+    if (gst_structure_has_name(structure, "video/x-raw-yuv")) {
         sink->use_video_raw = TRUE;
+        // in case _buffer_alloc is not called before
+        if (!gst_vaapi_uploader_ensure_display(sink->uploader, sink->display))
+            return GST_FLOW_NOT_SUPPORTED;
+        if (!gst_vaapi_uploader_ensure_caps(sink->uploader, caps, NULL))
+            return GST_FLOW_NOT_SUPPORTED;
+    }
 
     gst_video_parse_caps_pixel_aspect_ratio(caps, &video_par_n, &video_par_d);
     sink->video_par_n  = video_par_n;


More information about the Tizen-submit mailing list