From 3ed2496b0303f48f5bd1c37b6b1844e8c49e516b Mon Sep 17 00:00:00 2001 From: maroy Date: Tue, 9 Nov 2004 20:58:18 +0000 Subject: [PATCH] added .smil extenstion to generated temporary SMIL files --- livesupport/modules/storage/src/TestStorageClient.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/livesupport/modules/storage/src/TestStorageClient.cxx b/livesupport/modules/storage/src/TestStorageClient.cxx index df71d829c..7973d69e8 100644 --- a/livesupport/modules/storage/src/TestStorageClient.cxx +++ b/livesupport/modules/storage/src/TestStorageClient.cxx @@ -21,8 +21,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Author : $Author: fgerlits $ - Version : $Revision: 1.10 $ + Author : $Author: maroy $ + Version : $Revision: 1.11 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storage/src/TestStorageClient.cxx,v $ ------------------------------------------------------------------------------*/ @@ -252,9 +252,10 @@ TestStorageClient :: acquirePlaylist(Ptr::Ref id) const *(audioClip->getUri()) ); ++it; } - + std::string smilFileName = "file://"; smilFileName += tempnam(0, "smil"); + smilFileName += ".smil"; smilDocument->write_to_file(smilFileName, "UTF-8"); Ptr::Ref playlistUri(new std::string(smilFileName));