]> git.pld-linux.org Git - packages/Thunar-media-tags-plugin.git/blame - crash-with-ogg-video-files.patch
- added patches from upstream (required to fix build with xfce 4.8)
[packages/Thunar-media-tags-plugin.git] / crash-with-ogg-video-files.patch
CommitLineData
69514dda
MB
1Description: Call taglib_file_is_valid() for input audio files
2 Check that the file contains valid audio information to determine whether
3 the plugin should act on it or not.
4Origin: other, http://bugzilla.xfce.org/attachment.cgi?id=2879
5Bug: http://bugzilla.xfce.org/show_bug.cgi?id=6297
6---
7 thunar-plugin/media-tags-provider.c | 5 +++--
8 1 files changed, 3 insertions(+), 2 deletions(-)
9
10diff --git a/thunar-plugin/media-tags-provider.c b/thunar-plugin/media-tags-provider.c
11index a7604ea..2c31a98 100644
12--- a/thunar-plugin/media-tags-provider.c
13+++ b/thunar-plugin/media-tags-provider.c
14@@ -163,10 +163,11 @@ media_tags_get_audio_file_supported (ThunarxFileInfo *info)
15
16 if (G_LIKELY (taglib_file != NULL))
17 {
18+ /* Check that the file contains valid audio info */
19+ supported = taglib_file_is_valid (taglib_file);
20+
21 /* Free the taglib file */
22 taglib_file_free (taglib_file);
23-
24- supported = TRUE;
25 }
26
27 g_free (filename);
28
This page took 0.091471 seconds and 4 git commands to generate.