aboutsummaryrefslogtreecommitdiffstats
path: root/testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch')
-rw-r--r--testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch b/testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch
new file mode 100644
index 0000000000..ae47fd4723
--- /dev/null
+++ b/testing/subtitleeditor/03-fix-build-gstreamermm-1.8.0.patch
@@ -0,0 +1,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;