[totem] backend: Reset loaded text subtitles when closing video
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Reset loaded text subtitles when closing video
- Date: Fri, 30 May 2014 14:26:15 +0000 (UTC)
commit 68b174adbb10c302838ee99efe4b897b70a30066
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 28 18:13:04 2014 +0200
backend: Reset loaded text subtitles when closing video
https://bugzilla.gnome.org/show_bug.cgi?id=728339
src/backend/bacon-video-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 8431e96..efe9e90 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -4199,6 +4199,8 @@ bacon_video_widget_close (BaconVideoWidget * bvw)
g_clear_pointer (&bvw->priv->mrl, g_free);
g_clear_pointer (&bvw->priv->subtitle_uri, g_free);
+ g_object_set (G_OBJECT (bvw->priv->play), "suburi", NULL, NULL);
+ g_clear_pointer (&bvw->priv->subtitle_uri, g_free);
g_clear_pointer (&bvw->priv->user_id, g_free);
g_clear_pointer (&bvw->priv->user_pw, g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]