[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 129792] can't use -vf expand with mplayer
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2006-07-01 10:13:23
Message-ID: 20060701101323.6098.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=129792         




------- Additional Comments From koos.vriezen xs4all nl  2006-07-01 12:13 -------
SVN commit 556698 by vriezen:

We need to reset detected aspect as well

CCBUG: 129792


 M  +3 -1      kmplayerprocess.cpp  


--- trunk/extragear/multimedia/kmplayer/src/kmplayerprocess.cpp #556697:556698
 @ -739,8 +739,10  @
                 if (/*movie_width <= 0 &&*/ m_sizeRegExp.search (out) > -1) {
                     int movie_width = m_sizeRegExp.cap (1).toInt (&ok);
                     int movie_height = ok ? m_sizeRegExp.cap (2).toInt (&ok) : 0;
-                    if (ok && movie_width > 0 && movie_height > 0)
+                    if (ok && movie_width > 0 && movie_height > 0) {
                         m_source->setDimensions(m_mrl,movie_width,movie_height);
+                        m_source->setAspect (m_mrl, 1.0*movie_width/movie_height);
+                    }
                 } else if (m_startRegExp.search (out) > -1) {
                     if (m_settings->mplayerpost090) {
                         if (!m_tmpURL.isEmpty () && m_url != m_tmpURL) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic