[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog plugin/klash/klash_part.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog plugin/klash/klash_part.cpp |
Date: |
Sat, 18 Aug 2007 03:02:40 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/08/18 03:02:40
Modified files:
. : ChangeLog
plugin/klash : klash_part.cpp
Log message:
Patch from bug #20608 by Nick Warne <address@hidden>:
* plugin/klash/klash_part.cpp: use the -u switch when invoking
the standalone gnash. Fixes youtube playback for konqueror.
Still missing -U and -P switches.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4017&r2=1.4018
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.cpp?cvsroot=gnash&r1=1.17&r2=1.18
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4017
retrieving revision 1.4018
diff -u -b -r1.4017 -r1.4018
--- ChangeLog 18 Aug 2007 02:54:21 -0000 1.4017
+++ ChangeLog 18 Aug 2007 03:02:39 -0000 1.4018
@@ -1,3 +1,9 @@
+2007-08-18 Nick Warne <address@hidden>
+
+ * plugin/klash/klash_part.cpp: use the -u switch when invoking
+ the standalone gnash. Fixes youtube playback for konqueror.
+ Still missing -U and -P switches.
+
2007-08-18 Sandro Santilli <address@hidden>
* macros/firefox.m4: drop --with-gnashexe and GNASHEXE macro
Index: plugin/klash/klash_part.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/klash_part.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- plugin/klash/klash_part.cpp 31 Jul 2007 20:09:44 -0000 1.17
+++ plugin/klash/klash_part.cpp 18 Aug 2007 03:02:40 -0000 1.18
@@ -178,9 +178,14 @@
if (m_width > 0 && m_height > 0)
dim = QString ("-j ") + QString::number (m_width) +
QString (" -k ") + QString::number (m_height);
+ QString url = m_url.url();
+ QString url_param;
+ if (!url.isEmpty())
+ url_param = QString ("-u ") + KProcess::quote (url);
QString cmd = procname + QString (" -x ") +
QString::number (static_cast <KlashView *> (widget ())->embedId()) +
QChar (' ') + dim +
+ QChar (' ') + url_param +
QChar (' ') + KProcess::quote (m_src_url);
kdDebug () << cmd << endl;
*m_process << cmd;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog plugin/klash/klash_part.cpp,
Sandro Santilli <=