[totem/gnome-2-28] Fix thumbnailer not picking up covers for videos
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-28] Fix thumbnailer not picking up covers for videos
- Date: Mon, 16 Nov 2009 14:06:58 +0000 (UTC)
commit 50076f6ee9efa0a68e5a4aadcb5727f8a4e6ffb1
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 cca11a9..efcf02e 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1672,6 +1672,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]