summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/gst-plugins-base/files/gst-0.10.32-0014-stridetransform-updates-for-new-extra-anal-compiler-.patch')
-rw-r--r--media-libs/gst-plugins-base/files/gst-0.10.32-0014-stridetransform-updates-for-new-extra-anal-compiler-.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/gst-plugins-base/files/gst-0.10.32-0014-stridetransform-updates-for-new-extra-anal-compiler-.patch b/media-libs/gst-plugins-base/files/gst-0.10.32-0014-stridetransform-updates-for-new-extra-anal-compiler-.patch
new file mode 100644
index 0000000..4e60f32
--- /dev/null
+++ b/media-libs/gst-plugins-base/files/gst-0.10.32-0014-stridetransform-updates-for-new-extra-anal-compiler-.patch
@@ -0,0 +1,61 @@
+From e97373aac252f312c5ac69305228db50886a7c5c Mon Sep 17 00:00:00 2001
+From: Rob Clark <rob@ti.com>
+Date: Thu, 8 Apr 2010 03:30:35 -0500
+Subject: [PATCH 14/24] stridetransform: updates for new extra-anal compiler warning flags
+
+---
+ gst/stride/convert.c | 6 ++++++
+ gst/stride/gststridetransform.c | 13 ++++---------
+ 2 files changed, 10 insertions(+), 9 deletions(-)
+
+diff --git a/gst/stride/convert.c b/gst/stride/convert.c
+index fdb02ae..ad9c0aa 100644
+--- a/gst/stride/convert.c
++++ b/gst/stride/convert.c
+@@ -48,6 +48,12 @@ GST_DEBUG_CATEGORY_EXTERN (stridetransform_debug);
+ * Conversion utilities:
+ */
+
++void stride_copy_zip2 (guchar * new_buf, guchar * orig_buf1,
++ guchar * orig_buf2, gint sz);
++void stride_copy_zip3a (guchar * new_buf, guchar * orig_buf1,
++ guchar * orig_buf2, guchar * orig_buf3, gint sz);
++void stride_copy (guchar * new_buf, guchar * orig_buf, gint sz);
++
+ WEAK void
+ stride_copy_zip2 (guchar *new_buf, guchar *orig_buf1, guchar *orig_buf2, gint sz)
+ {
+diff --git a/gst/stride/gststridetransform.c b/gst/stride/gststridetransform.c
+index c35be73..de07c11 100644
+--- a/gst/stride/gststridetransform.c
++++ b/gst/stride/gststridetransform.c
+@@ -57,14 +57,6 @@
+ /* last entry has GST_VIDEO_FORMAT_UNKNOWN for in/out formats */
+ extern const Conversion stride_conversions[];
+
+-
+-static const GstElementDetails stridetransform_details =
+-GST_ELEMENT_DETAILS ("Stride transform",
+- "Filter/Converter/Video",
+- "Convert between video buffers with and without stride, or with differing stride",
+- "Rob Clark <rob@ti.com>,");
+-
+-
+ /* TODO: add rgb formats too! */
+ #define YUV_SUPPORTED_CAPS \
+ GST_VIDEO_CAPS_YUV_STRIDED ("{I420, YV12, YUY2, UYVY, NV12 }", "[ 0, max ]")
+@@ -117,7 +109,10 @@ gst_stride_transform_base_init (gpointer g_class)
+ GST_DEBUG_CATEGORY_INIT (stridetransform_debug, "stride", 0,
+ "stride transform element");
+
+- gst_element_class_set_details (gstelement_class, &stridetransform_details);
++ gst_element_class_set_details_simple (gstelement_class,
++ "Stride transform", "Filter/Converter/Video",
++ "Convert between video buffers with and without stride, or with differing stride",
++ "Rob Clark <rob@ti.com>,");
+
+ gst_element_class_add_pad_template (gstelement_class,
+ gst_static_pad_template_get (&sink_template));
+--
+1.7.1
+