Fix N_SE-31887 - SelfCamera preview is abnormal when rotate input image while playing
authorJeongmo Yang <jm80.yang@samsung.com>
Fri, 5 Apr 2013 04:47:38 +0000 (13:47 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 5 Apr 2013 04:47:38 +0000 (13:47 +0900)
packaging/gst-plugins-base.spec
sys/xvimage/xvimagesink.c

index 43df33d..e7258bf 100644 (file)
@@ -1,7 +1,7 @@
 Name:       gst-plugins-base
 Summary:    GStreamer streaming media framework base plug-ins
 Version:    0.10.36
-Release:    21
+Release:    22
 Group:      Applications/Multimedia
 License:    LGPLv2+
 Source0:    %{name}-%{version}.tar.gz
index 51f145d..a55c9fd 100644 (file)
@@ -4071,6 +4071,12 @@ reuse_last_caps:
   }
 
   if (!xvimage) {
+#ifdef GST_EXT_XV_ENHANCEMENT
+    /* init aligned size */
+    xvimagesink->aligned_width = 0;
+    xvimagesink->aligned_height = 0;
+#endif /* GST_EXT_XV_ENHANCEMENT */
+
     /* We found no suitable image in the pool. Creating... */
     GST_DEBUG_OBJECT (xvimagesink, "no usable image in pool, creating xvimage");
     xvimage = gst_xvimagesink_xvimage_new (xvimagesink, intersection);