[gstreamermm] Media Player Example: Typos in source.



commit a0d433813c32d8b140328b2a84171b0138d349bd
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Sun Aug 9 23:11:48 2009 -0400

    	Media Player Example: Typos in source.
    
    	* examples/media_player_gtkmm/player_window.cc: Typos.

 ChangeLog                                    |    6 ++++++
 examples/media_player_gtkmm/player_window.cc |    8 +++++---
 2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index aecc58b..2be090d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-08-09  José Alburquerque  <jaalburqu svn gnome org>
 
+	Media Player Example: Typos in source.
+
+	* examples/media_player_gtkmm/player_window.cc: Typos.
+
+2009-08-09  José Alburquerque  <jaalburqu svn gnome org>
+
 	Media Player Example: Get and save XID when video area is realized.
 
 	* examples/media_player_gtkmm/player_window.cc:
diff --git a/examples/media_player_gtkmm/player_window.cc b/examples/media_player_gtkmm/player_window.cc
index 027ee23..ff467d3 100644
--- a/examples/media_player_gtkmm/player_window.cc
+++ b/examples/media_player_gtkmm/player_window.cc
@@ -121,7 +121,7 @@ void PlayerWindow::on_video_area_realize()
 }
 
 // This function is used to receive asynchronous messages from mainPipeline's
-// bus specifically to prepare the Gst::XOverlay to draw inside the window
+// bus, specifically to prepare the Gst::XOverlay to draw inside the window
 // in which we want it to draw to.
 void PlayerWindow::on_bus_message_sync(
     const Glib::RefPtr<Gst::Message>& message)
@@ -185,7 +185,8 @@ bool PlayerWindow::on_video_pad_got_buffer(const Glib::RefPtr<Gst::Pad>& pad,
 {
   Glib::RefPtr<Gst::Buffer> buffer = Glib::RefPtr<Gst::Buffer>::cast_dynamic(data);
 
-  if(buffer) {
+  if(buffer)
+  {
     int width_value;
     int height_value;
 
@@ -310,7 +311,8 @@ void PlayerWindow::on_button_rewind()
   {
     gint64 newPos = (pos > skipAmount) ? (pos - skipAmount) : 0;
 
-    if(m_play_bin->seek(Gst::FORMAT_TIME, Gst::SEEK_FLAG_FLUSH, newPos)) {
+    if(m_play_bin->seek(Gst::FORMAT_TIME, Gst::SEEK_FLAG_FLUSH, newPos))
+    {
       m_progress_scale.set_value(double(newPos) / m_duration);
       display_label_progress(newPos, m_duration);
     }



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