~ubuntu-branches/ubuntu/raring/totem/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/git_covertart_thumbnail.patch

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-04-11 18:16:52 UTC
  • Revision ID: package-import@ubuntu.com-20130411181652-bq07kguvo1s9f30y
Tags: 3.6.3-0ubuntu6
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu in raring since indicator-appmenu 
    doesn't handle the mix of technologies at the moment and we can't
    have those menu items missing (lp: #1131754)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 0ee69cd1edf0cedd7f4813b4ab9e3085fae60c78 Mon Sep 17 00:00:00 2001
 
2
From: Bastien Nocera <hadess@hadess.net>
 
3
Date: Tue, 18 Dec 2012 10:00:13 +0000
 
4
Subject: thumbnailer: Fix fetching the cover art on some systems
 
5
 
 
6
Initialise the type of image so that we can save the cover
 
7
image even if the image-type isn't defined.
 
8
 
 
9
https://bugzilla.gnome.org/show_bug.cgi?id=690286
 
10
---
 
11
diff --git a/src/gst/totem-gst-pixbuf-helpers.c b/src/gst/totem-gst-pixbuf-helpers.c
 
12
index 37bb493..1edef46 100644
 
13
--- a/src/gst/totem-gst-pixbuf-helpers.c
 
14
+++ b/src/gst/totem-gst-pixbuf-helpers.c
 
15
@@ -157,7 +157,7 @@ totem_gst_tag_list_get_cover_real (GstTagList *tag_list)
 
16
     GstSample *sample;
 
17
     GstCaps *caps;
 
18
     const GstStructure *caps_struct;
 
19
-    int type;
 
20
+    int type = GST_TAG_IMAGE_TYPE_UNDEFINED;
 
21
 
 
22
     if (!gst_tag_list_get_sample_index (tag_list, GST_TAG_IMAGE, i, &sample))
 
23
       break;
 
24
--
 
25
cgit v0.9.1
 
26