aboutsummaryrefslogtreecommitdiffstats
path: root/testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch
blob: ae47fd4723c85547c9a10ddf07df01e8593eb528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Author: Philip Rinn <rinni@inventati.org>
Description: Fx build with gstreamermm-1.0 1.8.0
Last-update: 2016-10-15
--- a/plugins/actions/keyframesmanagement/mediadecoder.h
+++ b/plugins/actions/keyframesmanagement/mediadecoder.h
@@ -200,7 +200,7 @@
 	{
 		check_missing_plugins();
 		
-		Glib::ustring error = (msg) ? msg->parse().what() : Glib::ustring();
+		Glib::ustring error = (msg) ? Glib::ustring(msg->parse_debug()) : Glib::ustring();
 		
 		dialog_error(_("Media file could not be played.\n"), error);
 		// Critical error, cancel the work.
@@ -214,7 +214,7 @@
 	{
 		check_missing_plugins();
 		
-		Glib::ustring error = (msg) ? msg->parse().what() : Glib::ustring();
+		Glib::ustring error = (msg) ? Glib::ustring(msg->parse_debug()) : Glib::ustring();
 		dialog_error(_("Media file could not be played.\n"), error);
 
 		return true;
--- a/plugins/actions/waveformmanagement/mediadecoder.h
+++ b/plugins/actions/waveformmanagement/mediadecoder.h
@@ -200,7 +200,7 @@
 	{
 		check_missing_plugins();
 		
-		Glib::ustring error = (msg) ? msg->parse().what() : Glib::ustring();
+		Glib::ustring error = (msg) ? Glib::ustring(msg->parse_debug()) : Glib::ustring();
 		
 		dialog_error(_("Media file could not be played.\n"), error);
 		// Critical error, cancel the work.
@@ -214,7 +214,7 @@
 	{
 		check_missing_plugins();
 		
-		Glib::ustring error = (msg) ? msg->parse().what() : Glib::ustring();
+		Glib::ustring error = (msg) ? Glib::ustring(msg->parse_debug()) : Glib::ustring();
 		dialog_error(_("Media file could not be played.\n"), error);
 
 		return true;