diff options
Diffstat (limited to 'media-video/subtitleeditor/files')
3 files changed, 0 insertions, 73 deletions
diff --git a/media-video/subtitleeditor/files/subtitleeditor-0.41.0-keyframe-generation.patch b/media-video/subtitleeditor/files/subtitleeditor-0.41.0-keyframe-generation.patch deleted file mode 100644 index b347d4ce4261..000000000000 --- a/media-video/subtitleeditor/files/subtitleeditor-0.41.0-keyframe-generation.patch +++ /dev/null @@ -1,30 +0,0 @@ -Author: Philip Rinn <rinni@inventati.org> -Description: Prevent crash when generating keyframes with gstreamermm 0.10.11 ---- a/plugins/actions/keyframesmanagement/keyframesgenerator.cc -+++ b/plugins/actions/keyframesmanagement/keyframesgenerator.cc -@@ -87,12 +87,20 @@ - if(structure_name.find("video") == Glib::ustring::npos) - return Glib::RefPtr<Gst::Element>(NULL); - -- Glib::RefPtr<Gst::Bin> videobin = Glib::RefPtr<Gst::Bin>::cast_dynamic( -- Gst::Parse::create_bin( -- "ffmpegcolorspace ! fakesink name=vsink", true)); -+ // ffmpegcolorspace -+ Glib::RefPtr<Gst::Element> conv = Gst::ElementFactory::create_element("ffmpegcolorspace", "conv"); -+ // fakesink -+ Glib::RefPtr<Gst::FakeSink> vsink = Gst::FakeSink::create("vsink"); -+ // videobin -+ Glib::RefPtr<Gst::Bin> videobin = Gst::Bin::create("videobin"); - -- Glib::RefPtr<Gst::FakeSink> vsink = Glib::RefPtr<Gst::FakeSink>::cast_dynamic( -- videobin->get_element("vsink")); -+ // Add and link -+ videobin->add(conv)->add(vsink); -+ conv->link_pads("src", vsink, "sink"); -+ -+ // Add sink pad to bin element -+ Glib::RefPtr<Gst::Pad> pad = conv->get_static_pad("sink"); -+ videobin->add_pad(Gst::GhostPad::create(pad, "sink")); - - vsink->set_sync(false); - vsink->property_silent() = true; diff --git a/media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch b/media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch deleted file mode 100644 index eff958fd66cc..000000000000 --- a/media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch +++ /dev/null @@ -1,27 +0,0 @@ -Author: Philip Rinn <rinni@inventati.org> -Description: With glib >= 2.42.0 you need to add interfaces before class_init ---- a/src/gui/textviewcell.cc -+++ b/src/gui/textviewcell.cc -@@ -30,8 +30,8 @@ - * Initialize the widget with the AutomaticSpellChecker. - */ - TextViewCell::TextViewCell() -+: Gtk::CellEditable(), -+ Glib::ObjectBase(typeid(TextViewCell)), --: Glib::ObjectBase(typeid(TextViewCell)), -- Gtk::CellEditable(), - m_editing_canceled(false), - m_used_ctrl_enter_to_confirm_change(false) - { - ---- a/src/gui/textviewcell.h -+++ b/src/gui/textviewcell.h -@@ -29,7 +29,7 @@ - /* - * Cell text editable with multiline support. - */ --class TextViewCell : public Gtk::TextView, public Gtk::CellEditable -+class TextViewCell : public Gtk::CellEditable, public Gtk::TextView - { - public: - diff --git a/media-video/subtitleeditor/files/subtitleeditor-0.41.0-textoverlay.patch b/media-video/subtitleeditor/files/subtitleeditor-0.41.0-textoverlay.patch deleted file mode 100644 index 7a8552c7a71f..000000000000 --- a/media-video/subtitleeditor/files/subtitleeditor-0.41.0-textoverlay.patch +++ /dev/null @@ -1,16 +0,0 @@ -Author: Philip Rinn <rinni@inventati.org> -Description: Get textoverlay working with gstreamermm 0.10.11 ---- a/src/vp/gstplayer.cc -+++ b/src/vp/gstplayer.cc -@@ -656,7 +656,10 @@ - "Please check your GStreamer installation."), "ffmpegcolorspace")); - } - // textoverlay -- textoverlay = Gst::ElementFactory::create_element("textoverlay", "overlay"); -+ // Workaround to prevent getting a NULL pointer from the -+ // cast_dynamic(textoverlay) call under gstreamermm 0.10.11 -+ textoverlay = Gst::TextOverlay::create("overlay"); -+ - if(!textoverlay) - { - throw std::runtime_error( |