aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80/files/patch-gcc295
blob: a7a8491067c8bf67110183fc7494b36b5f50fc3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- ext/polyp/polypsink.c.orig	Sat Sep 10 19:39:39 2005
+++ ext/polyp/polypsink.c	Sat Sep 10 19:40:17 2005
@@ -48,18 +48,6 @@
           "width = (int) 16, "
           "depth = (int) 16, "
           "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 16 ]"
-#if 0
-          ";audio/x-raw-float, "
-          "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
-          "width = (int) 32, "
-          "rate = (int) [ 1, MAX ], "
-          "channels = (int) [ 1, 16 ];"
-          "audio/x-raw-int, "
-          "signed = (boolean) FALSE, "
-          "width = (int) 8, "
-          "depth = (int) 8, "
-          "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 16 ]"
-#endif
       )
       );
 
--- ext/pango/gsttextrender.c.orig	Sat Sep 10 19:41:24 2005
+++ ext/pango/gsttextrender.c	Sat Sep 10 19:41:58 2005
@@ -251,6 +251,7 @@
   GstTextRender *overlay = GST_TEXT_RENDER (gst_pad_get_parent (pad));
   guint size = GST_BUFFER_SIZE (buf);
   guint8 *data = GST_BUFFER_DATA (buf);
+  gint n;
 
   /* somehow pango barfs over "\0" buffers... */
   while (size > 0 &&
@@ -274,7 +275,6 @@
   gst_buffer_stamp (out, GST_BUFFER (buf));
 //  gst_buffer_stamp (out, buf);
   data = GST_BUFFER_DATA (out);
-  gint n;
 
   for (n = 0; n < overlay->width * overlay->height; n++) {
     data[n * 4] = 0;
--- ext/ogg/gstoggparse.c.orig	Sat Sep 10 19:43:13 2005
+++ ext/ogg/gstoggparse.c	Sat Sep 10 19:44:04 2005
@@ -365,6 +365,7 @@
   guint32 serialno;
   GstBuffer *pagebuffer;
   GstClockTime buffertimestamp = GST_BUFFER_TIMESTAMP (buffer);
+  page_type type;
 
   ogg = GST_OGG_PARSE (GST_OBJECT_PARENT (pad));
 
@@ -464,7 +465,7 @@
 
         ogg->last_page_not_bos = TRUE;
 
-        page_type type = gst_ogg_parse_is_header (ogg, stream, &page);
+        type = gst_ogg_parse_is_header (ogg, stream, &page);
 
         if (type == PAGE_PENDING && ogg->in_headers) {
           gst_buffer_ref (pagebuffer);
--- ext/gnomevfs/gstgnomevfssrc.c.orig	Sat Sep 10 19:44:44 2005
+++ ext/gnomevfs/gstgnomevfssrc.c	Sat Sep 10 19:45:15 2005
@@ -1114,6 +1114,7 @@
   GstBuffer *buf;
   GnomeVFSFileSize readbytes;
   guint8 *data;
+  GstEvent *event;
 
   g_return_val_if_fail (pad != NULL, NULL);
   src = GST_GNOMEVFSSRC (gst_pad_get_parent (pad));
@@ -1132,7 +1133,7 @@
   /* deal with tag list */
   if (src->icy_taglist) {
     gst_element_found_tags (GST_ELEMENT (src), src->icy_taglist);
-    GstEvent *event = gst_event_new_tag (src->icy_taglist);
+    event = gst_event_new_tag (src->icy_taglist);
 
     gst_object_ref (GST_OBJECT (src));
     event->src = GST_OBJECT (src);