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

noreply at tizen.org noreply at tizen.org
Wed Apr 17 09:20:25 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: #2480

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


Message:
Submitter: Zhao Halley <halley.zhao at intel.com>
Comments: support video frame from sw decoder (theora/vp8 for example) in vaapisink
Git project: profile/ivi/gstreamer-vaapi
Tag: submit/2.0/20130417.091434
Commit: daf1180 vaapiupload: reset direct-rendering to zero when changing caps.

State:   new        2013-04-17T01:51:08 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/20130415.084900-0-g077e364
+VCS:        profile/ivi/gstreamer-vaapi#submit/2.0/20130417.091434-0-gdaf1180
 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
--- /NEWS
+++ /NEWS
@@ -10,6 +10,7 @@
 * Fix memory leak in GstVaapiVideoBuffer for images and surfaces (Feng Yuan)
 * Fix symbols collision between built-in codecparsers/ and system library
 * Use GST_PLUGIN_PATH, if set, to install plugin elements (Halley Zhao)
+* Add support for raw YUV buffers in vaapisink (+Halley Zhao)
 
 Version 0.4.1 - 27.Nov.2012
 * Add support for H.264 interlaced streams
--- /gst/vaapi/Makefile.am
+++ /gst/vaapi/Makefile.am
@@ -38,6 +38,7 @@
 	gstvaapipostproc.c	\
 	gstvaapisink.c		\
 	gstvaapiupload.c	\
+	gstvaapiuploader.c	\
 	$(NULL)
 
 noinst_HEADERS =		\
@@ -48,6 +49,7 @@
 	gstvaapipostproc.h	\
 	gstvaapisink.h		\
 	gstvaapiupload.h	\
+	gstvaapiuploader.h	\
 	$(NULL)
 
 if USE_ENCODERS
--- /gst/vaapi/gstvaapisink.c
+++ /gst/vaapi/gstvaapisink.c
@@ -72,12 +72,18 @@
         "Gwenole Beauchesne <gwenole.beauchesne at intel.com>");
 
 /* Default template */
+static const char gst_vaapisink_sink_caps_str[] =
+    "video/x-raw-yuv, "
+    "width  = (int) [ 1, MAX ], "
+    "height = (int) [ 1, MAX ]; "
+    GST_VAAPI_SURFACE_CAPS;
+
 static GstStaticPadTemplate gst_vaapisink_sink_factory =
     GST_STATIC_PAD_TEMPLATE(
         "sink",
         GST_PAD_SINK,
         GST_PAD_ALWAYS,
-        GST_STATIC_CAPS(GST_VAAPI_SURFACE_CAPS));
+        GST_STATIC_CAPS(gst_vaapisink_sink_caps_str));
 
 static void
 gst_vaapisink_implements_iface_init(GstImplementsInterfaceClass *iface);
@@ -268,6 +274,7 @@
     gst_buffer_replace(&sink->video_buffer, NULL);
     g_clear_object(&sink->texture);
     g_clear_object(&sink->display);
+    g_clear_object(&sink->uploader);
 
     gst_caps_replace(&sink->caps, NULL);
 }
@@ -363,6 +370,20 @@
 }
 
 static gboolean
+gst_vaapisink_ensure_uploader(GstVaapiSink *sink)
+{
+    if (!gst_vaapisink_ensure_display(sink))

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list