diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-12-18 11:00:13 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-12-18 11:06:24 +0100 |
commit | c4580672bbaf0a7423144d96b23c1b154ce3f0ac (patch) | |
tree | bc97da5f74476c309192b84b55c9a5acc38b8352 | |
parent | a0220719e839bee8a4066efab54410f04cdcd167 (diff) | |
download | totem-c4580672bbaf0a7423144d96b23c1b154ce3f0ac.tar.gz |
thumbnailer: Fix fetching the cover art on some systems
Initialise the type of image so that we can save the cover
image even if the image-type isn't defined.
https://bugzilla.gnome.org/show_bug.cgi?id=690286
-rw-r--r-- | src/gst/totem-gst-pixbuf-helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gst/totem-gst-pixbuf-helpers.c b/src/gst/totem-gst-pixbuf-helpers.c index 37bb49302..1edef46e7 100644 --- a/src/gst/totem-gst-pixbuf-helpers.c +++ b/src/gst/totem-gst-pixbuf-helpers.c @@ -157,7 +157,7 @@ totem_gst_tag_list_get_cover_real (GstTagList *tag_list) GstSample *sample; GstCaps *caps; const GstStructure *caps_struct; - int type; + int type = GST_TAG_IMAGE_TYPE_UNDEFINED; if (!gst_tag_list_get_sample_index (tag_list, GST_TAG_IMAGE, i, &sample)) break; |