summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/gst-plugins-base.spec2
-rw-r--r--sys/xvimage/xvimagesink.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/packaging/gst-plugins-base.spec b/packaging/gst-plugins-base.spec
index 43df33d..e7258bf 100644
--- a/packaging/gst-plugins-base.spec
+++ b/packaging/gst-plugins-base.spec
@@ -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
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 51f145d..a55c9fd 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -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);