[gstreamermm] Examples: build fix



commit b9ec41465531b8e6fcf051d1cb657ccedd23b098
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Sat Aug 27 10:42:45 2016 +0200

    Examples: build fix

 examples/media_player_gtkmm/player_window.cc |    2 +-
 examples/ogg_player_gtkmm/player_window.cc   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/media_player_gtkmm/player_window.cc b/examples/media_player_gtkmm/player_window.cc
index bf29dfd..53c3906 100644
--- a/examples/media_player_gtkmm/player_window.cc
+++ b/examples/media_player_gtkmm/player_window.cc
@@ -186,7 +186,7 @@ bool PlayerWindow::on_bus_message(const Glib::RefPtr<Gst::Bus>& /* bus */,
       Glib::RefPtr<Gst::MessageError> msg_error = Glib::RefPtr<Gst::MessageError>::cast_static(message);
       if(msg_error)
       {
-        Glib::Error err = msg_error->parse();
+        Glib::Error err = msg_error->parse_error();
         std::cerr << "Error: " << err.what() << std::endl;
       }
       else
diff --git a/examples/ogg_player_gtkmm/player_window.cc b/examples/ogg_player_gtkmm/player_window.cc
index d413042..35bc808 100644
--- a/examples/ogg_player_gtkmm/player_window.cc
+++ b/examples/ogg_player_gtkmm/player_window.cc
@@ -115,7 +115,7 @@ bool PlayerWindow::on_bus_message(const Glib::RefPtr<Gst::Bus>& /* bus */, const
       if(error_message)
       {
         Glib::Error err;
-        err = error_message->parse();
+        err = error_message->parse_error();
         std::cerr << "Error: " << err.what() << std::endl;
       }
       else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]