summarylogtreecommitdiffstats
path: root/xplayer_issues_147.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xplayer_issues_147.patch')
-rw-r--r--xplayer_issues_147.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/xplayer_issues_147.patch b/xplayer_issues_147.patch
new file mode 100644
index 000000000000..29480322a74b
--- /dev/null
+++ b/xplayer_issues_147.patch
@@ -0,0 +1,25 @@
+From 30029a515f68290f8e85f4b7344d50fce66d74f8 Mon Sep 17 00:00:00 2001
+From: DJ Sutton <dj@laptop>
+Date: Mon, 13 May 2019 17:55:23 -0600
+Subject: [PATCH] check for bvw->priv->tagcache == NULL in bacon-video-widget.c
+ update_orientation_from_video
+
+---
+ src/backend/bacon-video-widget.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
+index e95dc4b..444413c 100644
+--- a/src/backend/bacon-video-widget.c
++++ b/src/backend/bacon-video-widget.c
+@@ -1715,6 +1715,9 @@ update_orientation_from_video (BaconVideoWidget *bvw)
+ if (bvw->priv->rotation != BVW_ROTATION_R_ZERO)
+ return;
+
++ if (bvw->priv->tagcache == NULL)
++ return;
++
+ ret = gst_tag_list_get_string_index (bvw->priv->tagcache,
+ GST_TAG_IMAGE_ORIENTATION, 0, &orientation_str);
+ if (!ret || !orientation_str || g_str_equal (orientation_str, "rotate-0"))
+