[totem] Fix thumbnailer not picking up covers for videos
- From: Bastien Nocera <hadess src gnome org>
 
- To: svn-commits-list gnome org
 
- Cc: 
 
- Subject: [totem] Fix thumbnailer not picking up covers for videos
 
- Date: Mon, 16 Nov 2009 14:06:28 +0000 (UTC)
 
commit 8b27fddb722435314f49e9bdb6f5392636861358
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 16 13:59:25 2009 +0000
    Fix thumbnailer not picking up covers for videos
    
    When getting updated metadata, and we're in capture mode,
    do send out the "got-metadata" signal otherwise
    the thumbnailer will never know we got a cover.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=598703
 src/backend/bacon-video-widget-gst-0.10.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index bb711dc..9ce7e3f 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1822,6 +1822,9 @@ bvw_update_tags (BaconVideoWidget * bvw, GstTagList *tag_list, const gchar *type
   if (bvw->priv->use_type == BVW_USE_TYPE_VIDEO ||
       bvw->priv->use_type == BVW_USE_TYPE_AUDIO)
     g_signal_emit (bvw, bvw_signals[SIGNAL_GOT_METADATA], 0);
+  else if (bvw->priv->use_type == BVW_USE_TYPE_CAPTURE &&
+	   bvw->priv->cover_pixbuf != NULL)
+    g_signal_emit (bvw, bvw_signals[SIGNAL_GOT_METADATA], 0);
 }
 
 typedef struct {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]