CVSROOT: /sources/gnash Module name: gnash Branch: release_0_8_1 Changes by: Sandro Santilli <strk> 07/08/18 03:02:30
Modified files: . : ChangeLog plugin/klash : klash_part.cpp Log message: Patch from bug #20608 by Nick Warne <[EMAIL PROTECTED]>: * 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&only_with_tag=release_0_8_1&r1=1.3971.2.24&r2=1.3971.2.25 http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.cpp?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.17&r2=1.17.2.1 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3971.2.24 retrieving revision 1.3971.2.25 diff -u -b -r1.3971.2.24 -r1.3971.2.25 --- ChangeLog 18 Aug 2007 02:54:15 -0000 1.3971.2.24 +++ ChangeLog 18 Aug 2007 03:02:29 -0000 1.3971.2.25 @@ -1,3 +1,9 @@ +2007-08-18 Nick Warne <[EMAIL PROTECTED]> + + * 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 <[EMAIL PROTECTED]> * 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.17.2.1 diff -u -b -r1.17 -r1.17.2.1 --- plugin/klash/klash_part.cpp 31 Jul 2007 20:09:44 -0000 1.17 +++ plugin/klash/klash_part.cpp 18 Aug 2007 03:02:30 -0000 1.17.2.1 @@ -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; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit