diff options
Diffstat (limited to 'testing/subtitleeditor/01-fix-build.patch')
-rw-r--r-- | testing/subtitleeditor/01-fix-build.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/testing/subtitleeditor/01-fix-build.patch b/testing/subtitleeditor/01-fix-build.patch deleted file mode 100644 index 706fe65e54..0000000000 --- a/testing/subtitleeditor/01-fix-build.patch +++ /dev/null @@ -1,37 +0,0 @@ -Author: Philip Rinn <rinni@inventati.org> -Description: Fix build -Last-update: 2016-10-15 ---- a/src/vp/gstplayer.cc -+++ b/src/vp/gstplayer.cc -@@ -417,8 +417,13 @@ - } - catch(std::runtime_error &ex) - { -- se_debug_message(SE_DEBUG_VIDEO_PLAYER, "failed to gen_audio_element '%s'", ex.what()); -- GST_ELEMENT_WARNING(m_pipeline->gobj(), RESOURCE, NOT_FOUND, (ex.what()), (NULL)); -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wformat-security" -+ -+ se_debug_message(SE_DEBUG_VIDEO_PLAYER, "failed to gen_audio_element '%s'", ex.what()); -+ GST_ELEMENT_WARNING(m_pipeline->gobj(), RESOURCE, NOT_FOUND, (ex.what()), (NULL)); -+ -+#pragma GCC diagnostic pop - } - // Return an NULL ptr - return Glib::RefPtr<Gst::Element>(); -@@ -507,8 +512,13 @@ - } - catch(std::runtime_error &ex) - { -- se_debug_message(SE_DEBUG_VIDEO_PLAYER, "failed to gen_video_element '%s'", ex.what()); -- GST_ELEMENT_ERROR(m_pipeline->gobj(), RESOURCE, NOT_FOUND, (ex.what()), (NULL)); -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wformat-security" -+ -+ se_debug_message(SE_DEBUG_VIDEO_PLAYER, "failed to gen_audio_element '%s'", ex.what()); -+ GST_ELEMENT_WARNING(m_pipeline->gobj(), RESOURCE, NOT_FOUND, (ex.what()), (NULL)); -+ -+#pragma GCC diagnostic pop - } - // Return an NULL ptr - return Glib::RefPtr<Gst::Element>(); |