Author: jaalburqu
Date: Tue Jan 22 02:14:51 2008
New Revision: 1297
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1297&view=rev

Log:
2008-01-21  José Alburquerque  <[EMAIL PROTECTED]>

        * examples/ogg_player/main.cc: moved Gst::QueryPosition cast in
        print_stream_position() inside the if block (after sending Gst::Query)
        to avoid warnings


Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/examples/ogg_player/main.cc

Modified: gstreamermm/trunk/examples/ogg_player/main.cc
==============================================================================
--- gstreamermm/trunk/examples/ogg_player/main.cc       (original)
+++ gstreamermm/trunk/examples/ogg_player/main.cc       Tue Jan 22 02:14:51 2008
@@ -15,12 +15,12 @@
 
  Glib::RefPtr<Gst::Query> query = Gst::QueryPosition::create(fmt);
 
-   Glib::RefPtr<Gst::QueryPosition> posQuery =
-        Glib::RefPtr<Gst::QueryPosition>::cast_dynamic(query);
-
  if (pipeline->query(query)
    && pipeline->query_duration(fmt, len)) {
 
+   Glib::RefPtr<Gst::QueryPosition> posQuery =
+        Glib::RefPtr<Gst::QueryPosition>::cast_dynamic(query);
+
    posQuery->parse(fmt, pos);
 
    std::cout << std::right << "Time: " << std::setfill('0') <<
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to