- Helix Player Progress - + + Helix Player Progress [...1003 lines suppressed...] +
  • Helix Player Future
  • +
  • Helix Player Project
  • + +
    + Broken Links? Please email: player-dev@helixcommunity.org
    + CVS version: $Id: progress.html,v 1.5 2005/05/10 20:34:12 rggammon Exp $
    Index: plans.html =================================================================== RCS file: /cvsroot/player/www/2005/dev/plans.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- plans.html 21 Oct 2005 21:13:45 -0000 1.10 +++ plans.html 6 Feb 2006 23:14:52 -0000 1.11 @@ -4,6 +4,8 @@ + + @@ -15,6 +17,7 @@ +

    Helix Player Home > Helix Player Development > Helix Player Plans @@ -22,41 +25,51 @@ +

    +

    Helix Player Plans

    +

    Balto (Helix Player 2.0)

    +

    -Balto is the codename for the next version of the Helix Player, due out -in Q4 of 2005. 

    +Balto is the codename for the next version of the Helix Player currently under development.

    +

    Download a nightly build to test out the features as they become available.  

    +

    Feature Proposals

    + The following are the features to be added in the Helix Player 2.0 release.  See Helix Player Progress for details on the schedule and Helix Player Future for features being considered for the next release.
    + +
  • Play in Helix Player
  • + + @@ -128,29 +159,37 @@ +
  • Send clips playing in a web browser plugin to the stand-alone player (Rahul Lal, C.A.C. Media)
    +
  • + + +
  • 11th generation Helix Client Media Engine, codename Cayenne, including the following new features:
    +
  • + + @@ -158,56 +197,69 @@ +
  • TrueLive - From camera glass to monitor glass in 5 seconds
    +
  • +
  • Auto Bandwidth Detection - Detect the best streaming bitrate for your internet connection
    +
  • +
  • PlayNow - Reduce the amount of time spent initially buffering clips
    +
  • +
  • Open source, cross platform fixed point AAC codec
  • +
  • ALSA support
  • + + + +

    Bingo (Helix Player 1.0)

    +

    Bingo is the codename for the currently shipping Helix Player 1.0. We recently -released an update (10.0.4) which addresses some security +released an update (10.0.6) which addresses some security vulnerabilities. Bingo is in maintainance mode, and we aren't planning any new releases of @@ -218,39 +270,49 @@ +

    Jumping Off

    + +
    + Broken Links? Please email: player-dev@helixcommunity.org
    + CVS version: $Id$
    From bobclark at helixcommunity.org Mon Feb 6 17:45:18 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Mon Feb 6 19:59:37 2006 Subject: [Player-cvs] hxclientkit/src CHXHyperNavFileFormat.cpp, 1.1.4.4, 1.1.4.4.4.1 CHXHyperNavRenderer.cpp, 1.1.4.1, 1.1.4.1.4.1 Message-ID: Update of /cvsroot/player/hxclientkit/src In directory cvs:/tmp/cvs-serv7151/src Modified Files: Tag: hxclient_1_2_2i_neptune CHXHyperNavFileFormat.cpp CHXHyperNavRenderer.cpp Log Message: explicitly cast for gcc4 Index: CHXHyperNavRenderer.cpp =================================================================== RCS file: /cvsroot/player/hxclientkit/src/CHXHyperNavRenderer.cpp,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.1.4.1 diff -u -d -r1.1.4.1 -r1.1.4.1.4.1 --- CHXHyperNavRenderer.cpp 14 Oct 2004 20:44:37 -0000 1.1.4.1 +++ CHXHyperNavRenderer.cpp 7 Feb 2006 01:45:15 -0000 1.1.4.1.4.1 @@ -276,7 +276,7 @@ CHXHyperNavRenderer::GetRendererInfo( REF(const char**) /*OUT*/ pStreamMimeTypes, REF(UINT32) /*OUT*/ unInitialGranularity ) { // printf( "CHXHyperNavRenderer( %x ) GetRendererInfo called\n", this ); - pStreamMimeTypes = kMimeTypes; + pStreamMimeTypes = (const char**)kMimeTypes; unInitialGranularity = 1000; // OnTimeSync() every 1000ms. This shouldn't get called more than once anyway. return HXR_OK; Index: CHXHyperNavFileFormat.cpp =================================================================== RCS file: /cvsroot/player/hxclientkit/src/CHXHyperNavFileFormat.cpp,v retrieving revision 1.1.4.4 retrieving revision 1.1.4.4.4.1 diff -u -d -r1.1.4.4 -r1.1.4.4.4.1 --- CHXHyperNavFileFormat.cpp 24 Feb 2005 20:53:16 -0000 1.1.4.4 +++ CHXHyperNavFileFormat.cpp 7 Feb 2006 01:45:15 -0000 1.1.4.4.4.1 @@ -247,7 +247,7 @@ { // printf( "CHXHyperNavFileFormat( %x ) GetFileFormatInfo called\n", this ); pFileMimeTypes = NULL; // CHXHTMLFileValidator::kMimeTypes; text/html causing problems with RealPix content. - pFileExtensions = CHXHTMLFileValidator::kExtensions; + pFileExtensions = (const char**)CHXHTMLFileValidator::kExtensions; pFileOpenNames = NULL; return HXR_OK; From cdunn at helixcommunity.org Tue Feb 7 16:33:29 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Tue Feb 7 18:47:36 2006 Subject: [Player-cvs] kit/jsr135/javax/microedition/media TimeBaseImp.java, NONE, 1.1 _TimeBase.java, 1.1, 1.2 _VideoControl.java, 1.3, 1.4 mmapiJNI.java, 1.7, 1.8 Message-ID: Update of /cvsroot/player/kit/jsr135/javax/microedition/media In directory cvs:/tmp/cvs-serv29059/javax/microedition/media Modified Files: _TimeBase.java _VideoControl.java mmapiJNI.java Added Files: TimeBaseImp.java Log Message: Add changes for atlas, etc. Index: _TimeBase.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/_TimeBase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- _TimeBase.java 24 Jan 2006 02:50:20 -0000 1.1 +++ _TimeBase.java 8 Feb 2006 00:33:27 -0000 1.2 @@ -34,7 +34,11 @@ } public _TimeBase() { - this(mmapiJNI.new__TimeBase(), true); + this(mmapiJNI.new__TimeBase__SWIG_0(), true); + } + + public _TimeBase(SWIGTYPE_p_IHXPlayer pPlayer) { + this(mmapiJNI.new__TimeBase__SWIG_1(SWIGTYPE_p_IHXPlayer.getCPtr(pPlayer)), true); } public long getTime() { Index: _VideoControl.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/_VideoControl.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- _VideoControl.java 15 Jan 2006 03:17:47 -0000 1.3 +++ _VideoControl.java 8 Feb 2006 00:33:27 -0000 1.4 @@ -17,7 +17,7 @@ swigCPtr = cPtr; } - public static long getCPtr(_VideoControl obj) { + protected static long getCPtr(_VideoControl obj) { return (obj == null) ? 0 : obj.swigCPtr; } --- NEW FILE: TimeBaseImp.java --- package javax.microedition.media; import javax.microedition.media.*; public class TimeBaseImp implements TimeBase { private _TimeBase tb; public TimeBaseImp(_TimeBase tb) { this.tb = tb; } public long getTime() { return tb.getTime(); } } Index: mmapiJNI.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/mmapiJNI.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- mmapiJNI.java 3 Feb 2006 22:27:12 -0000 1.7 +++ mmapiJNI.java 8 Feb 2006 00:33:27 -0000 1.8 @@ -93,7 +93,8 @@ public final static native void delete__StopTimeControl(long jarg1); public final static native void _StopTimeControl_setStopTime(long jarg1, long jarg2); public final static native long _StopTimeControl_getStopTime(long jarg1); - public final static native long new__TimeBase(); + public final static native long new__TimeBase__SWIG_0(); + public final static native long new__TimeBase__SWIG_1(long jarg1); public final static native void delete__TimeBase(long jarg1); public final static native long _TimeBase_getTime(long jarg1); public final static native long new__MetaDataControl(long jarg1); From cdunn at helixcommunity.org Tue Feb 7 16:33:29 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Tue Feb 7 18:47:36 2006 Subject: [Player-cvs] kit/jsr135 hxjadvsnk.cpp, 1.2, 1.3 manager.cpp, 1.3, 1.4 manager_wrap.cpp, 1.8, 1.9 player.cpp, 1.7, 1.8 ratecontrol.cpp, 1.2, 1.3 Message-ID: Update of /cvsroot/player/kit/jsr135 In directory cvs:/tmp/cvs-serv29059 Modified Files: hxjadvsnk.cpp manager.cpp manager_wrap.cpp player.cpp ratecontrol.cpp Log Message: Add changes for atlas, etc. Index: player.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/player.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- player.cpp 3 Feb 2006 22:27:11 -0000 1.7 +++ player.cpp 8 Feb 2006 00:33:27 -0000 1.8 @@ -60,8 +60,7 @@ m_pToneControl(NULL), m_pStopTimeControl(NULL), m_pGUIControl(NULL), - m_pTimeBase(NULL), - m_ulCachedSeekTime(TIME_UNKNOWN) + m_pTimeBase(NULL) { printf("_Player:_Player(%s)\n", locator); m_url = (const char*)locator; @@ -382,7 +381,7 @@ { //m_eTransState = TransState_eState; - printf("Blocking: %s\n", TransStateString(eState)); + //printf("Blocking: %s\n", TransStateString(eState)); m_pEvents[eState]->Wait(); } @@ -393,7 +392,7 @@ { m_eTransState = TransState_Idle; } - printf("Unblocking: %s\n", TransStateString(eState)); + //printf("Unblocking: %s\n", TransStateString(eState)); m_pEvents[eState]->SignalEvent(); m_pEvents[eState]->ResetEvent(); } @@ -603,11 +602,6 @@ // Must be in the prefetched state to start if (m_state == PREFETCHED) { - if (m_ulCachedSeekTime != TIME_UNKNOWN) - { - m_pPlayer->Seek(m_ulCachedSeekTime); - m_ulCachedSeekTime = TIME_UNKNOWN; - } if (m_pPlayer->Begin() != HXR_OK) { Unblock(TransState_Starting); @@ -825,16 +819,11 @@ if (m_pPlayer) { now /= 1000; // convert from microseconds to milliseconds - //if (m_state == STARTED) + if (!SUCCEEDED( m_pPlayer->Seek(now) )) { - if (!SUCCEEDED( m_pPlayer->Seek(now) )) - { - throw _MediaException("Media time cannot be set."); - } - return m_pPlayer->GetCurrentPlayTime() * 1000; + throw _MediaException("Media time cannot be set."); } - m_ulCachedSeekTime = now; - return now; + return m_pPlayer->GetCurrentPlayTime() * 1000; } return TIME_UNKNOWN; Index: manager.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/manager.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- manager.cpp 3 Feb 2006 22:27:11 -0000 1.3 +++ manager.cpp 8 Feb 2006 00:33:26 -0000 1.4 @@ -1,332 +1,412 @@ - -#include "manager.h" -#include - -#define INITGUID 1 - -#include "hxassert.h" -#include "hxstring.h" -#include "hlxclib/string.h" -#include "hxstrutl.h" - -#include "hxcom.h" -#include "hxcomm.h" -#include "hxcore.h" -#include "hxtick.h" -#include "hxtypes.h" -#include "enginedriver.h" -#include "exceptions.h" -#include "timebase.h" - - -#if defined (_UNIX) && defined (USE_XWINDOWS) -#include -#endif - -#include "dllpath.h" -#ifndef MAX_PATH -#define MAX_PATH 1024 -#endif - -ENABLE_DLLACCESS_PATHS(g_HXJEngine); - - -// _Manager static variables -DLLAccess _Manager::m_dllHXCore; -CHXString _Manager::m_pHelixLibsPath; -CHXString _Manager::m_pHelixPluginsPath; -CHXString _Manager::m_pHelixCodecsPath; -CHXString _Manager::m_pHelixEngineName; - -HXBOOL _Manager::m_bInitialized = false; -IHXClientEngine* _Manager::m_pClientEngine = NULL; -HXEngineDriver* _Manager::m_pEngineDriver = NULL; -_TimeBase* _Manager::m_pTimeBase = NULL; - - -_Manager::_Manager() -{ - printf("_Manager::_Manager in constructor\n"); - StartEngineDriver(); -} - -_Manager::~_Manager() -{ - printf("_Manager::~_Manager in destructor\n"); - - HX_DELETE(m_pEngineDriver); - CloseEngine(); -} - -///////////////////////////////////////////////////////////////////////// -void -_Manager::StartEngineDriver() -{ - if (m_pEngineDriver == NULL) - { - // Create player thread, call _Manager::HXInit, start the event loop - // Blocks until the engine has been created - m_pEngineDriver = new HXEngineDriver(); - m_pEngineDriver->Start(); - } -} -///////////////////////////////////////////////////////////////////////// - -HX_RESULT -_Manager::HXInit() -{ - printf("_Manager::HXInit\n"); - HX_RESULT hr=HXR_OK; - if (!m_bInitialized) - { - InitDLLAccessPaths(); - hr = CreateEngine(); - } - return hr; -} - - - -void -_Manager::playTone(int note, int duration, int volume) -{ - printf("in playTone\n"); - printf("values: %d %d %d\n", note, duration, volume); -} - -// Create a Player from an input locator. -_Player* -_Manager::createPlayer(char* locator) -{ - printf("_Manager::createPlayer(locator)\n"); - if (!m_bInitialized) - { - StartEngineDriver(); - } - _Player* p = new _Player(m_pClientEngine, locator); - if (p == NULL) - { - throw _MediaException("Cannot create player for the given locator."); - } - return p; -} - -char** -_Manager::getSupportedContentTypes(char* protocol) -{ - printf("in getSupportedContentTypes\n"); - return NULL; -} - - -// Return the list of supported protocols given the content type. -char** -_Manager::getSupportedProtocols(char* content_type) -{ - return NULL; -} - -_TimeBase* -_Manager::getSystemTimeBase() -{ - if (m_pTimeBase == NULL) - { - m_pTimeBase = new _TimeBase(NULL); - } - return m_pTimeBase; -} - -/* - * Method: InitDLLAccessPaths() - * Description: Initialize the client core dll - */ -HX_RESULT -_Manager::InitDLLAccessPaths() -{ - HX_RESULT hr=HXR_OK; - - if (m_bInitialized) - return hr; - - m_bInitialized = true; - printf("_Manager::InitDLLAccessPaths\n"); - -#ifdef _MACINTOSH - char dllhome[MAX_PATH] = {'\0'}; -#elif defined(_SYMBIAN) - char dllhome[MAX_PATH] = "c:"; -#else - char dllhome[MAX_PATH] = {'.','\0'}; -#endif - DLLAccess* pDLLAccess = NULL; - char libPath[MAX_PATH] = {0}; -#ifdef _WINDOWS - HINSTANCE hDll = NULL; -#endif - - - //See if the user has set their HELIX_LIBS env var. - const char* pszHelixLibs = getenv("HELIX_LIBS"); - const char* pszHelixPlugins = getenv("HELIX_PLUGINS"); - const char* pszHelixCodecs = getenv("HELIX_CODECS"); - const char* pszHelixCore = getenv("HELIX_ENGINE"); - - if (!m_pHelixEngineName.IsEmpty()) - { - pszHelixCore = m_pHelixEngineName; - } - else if (pszHelixCore == NULL) - { - pszHelixCore = "clntcore"; - } - - if (!m_pHelixLibsPath.IsEmpty()) - { - SafeStrCpy( dllhome, m_pHelixLibsPath, MAX_PATH); - } - else if( pszHelixLibs ) - { - SafeStrCpy( dllhome, pszHelixLibs, MAX_PATH); - } - - const char* pluginsPath; - if (!m_pHelixPluginsPath.IsEmpty()) - pluginsPath = m_pHelixPluginsPath; - else if (pszHelixPlugins) - pluginsPath = pszHelixPlugins; - else - pluginsPath = dllhome; - - const char* codecsPath; - if (!m_pHelixCodecsPath.IsEmpty()) - codecsPath = m_pHelixCodecsPath; - else if (pszHelixCodecs) - codecsPath = pszHelixCodecs; - else - codecsPath = dllhome; - - GetDLLAccessPath()->SetPath(DLLTYPE_PLUGIN, pluginsPath); - GetDLLAccessPath()->SetPath(DLLTYPE_CODEC, codecsPath); - - printf("Looking for plugins at: %s\n", pluginsPath); - printf("Looking for codecs at : %s\n", codecsPath); - -# if defined(_MAC_UNIX) - SafeSprintf(libPath, MAX_PATH, "%s/%s.bundle", dllhome, pszHelixCore); -# elif defined(_UNIX) - SafeSprintf(libPath, MAX_PATH, "%s/%s.so", dllhome, pszHelixCore); -# elif defined(_WINDOWS) || defined(_SYMBIAN) - SafeSprintf(libPath, MAX_PATH, "%s\\%s.dll", dllhome, pszHelixCore); -# elif defined(_MACINTOSH) -#ifdef _MAC_MACHO - SafeSprintf(libPath, MAX_PATH, "%s.bundle", pszHelixCore); -#else - if (strlen(dllhome) > 0 ) - { - SafeSprintf(libPath, MAX_PATH, "%s:%s.shlib", dllhome, pszHelixCore); - } - else - { - SafeSprintf(libPath, MAX_PATH, "%s.shlib", pszHelixCore); - } -#endif -# endif - - printf("Looking for the client core at %s\n", libPath ); - - if (DLLAccess::DLL_OK != m_dllHXCore.open(libPath)) - { - const char* pErrorString = NULL; - pErrorString = m_dllHXCore.getErrorString(); - printf("eng: %s\n\n", pErrorString); - hr = HXR_COULDNOTINITCORE; - } - - printf ("Status: %x.\n", hr); - - return hr; - -} - -//------------------------------------------------------------------------------ -// Method : _Manager::CreateEngine -// Description : Create a client engine, initialize the client core library -// Create the client environment object, which stores the players -// Returns : HX_RESULT & nEngineID -//------------------------------------------------------------------------------ -HX_RESULT -_Manager::CreateEngine() -{ - if (m_pClientEngine != NULL) - return HXR_OK; - - printf("_Manager::CreateEngine()\n"); - HX_RESULT hr = HXR_OK; - - if (!m_bInitialized) // || !m_dllHXCore.IsOpen() - { - hr = InitDLLAccessPaths(); - if (!SUCCEEDED(hr)) - return hr; - } - - FPRMCREATEENGINE pCreateEngine = (FPRMCREATEENGINE)m_dllHXCore.getSymbol("CreateEngine"); - if (pCreateEngine) - { - IHXClientEngine* pClientEngine; - hr = pCreateEngine(&pClientEngine); - // If engine was not created, we should receive a reason. - HX_ASSERT((NULL != pClientEngine) || (FAILED(hr))); - - if (SUCCEEDED(hr) && pClientEngine) - { - printf("Created engine.\n"); - m_pClientEngine = pClientEngine; - IHXClientEngineSetup* pSetup; - m_pClientEngine->QueryInterface(IID_IHXClientEngineSetup, (void**)&pSetup); - if (pSetup) - { - // Start the scheduler - pSetup->Setup(NULL); - HX_RELEASE(pSetup); - } - } - } - else - { - hr = HXR_COULDNOTINITCORE; - } - - return hr; -} - -//------------------------------------------------------------------------------ -// Method : _Manager::CloseEngine -// Description : Close the engine and all of its players -// Returns : HX_RESULT -//------------------------------------------------------------------------------ -HX_RESULT -_Manager::CloseEngine() -{ - printf("_Manager::CloseEngine()\n"); - HX_RESULT hr = HXR_OK; - FPRMCLOSEENGINE pCloseEngine = (FPRMCLOSEENGINE)m_dllHXCore.getSymbol("CloseEngine"); - if (m_pClientEngine) - { - //pEngineEnv->ClosePlayers(); - pCloseEngine(m_pClientEngine); - m_pClientEngine = NULL; - } - - return hr; -} - -void -_Manager::EventOccurred(HXxEvent* pEvent) -{ - if (m_pClientEngine) - { - m_pClientEngine->EventOccurred(pEvent); - } -} - + +#include "manager.h" + +#define INITGUID 1 + +#include "hxassert.h" +#include "hxstring.h" +#include "hlxclib/string.h" +#include "hxstrutl.h" + +#include "hxcom.h" +#include "hxcomm.h" +#include "hxcore.h" +#include "hxtick.h" +#include "hxtypes.h" +#include "enginedriver.h" +#include "exceptions.h" +#include "timebase.h" + + +#if defined (_UNIX) && defined (USE_XWINDOWS) +#include +#endif + +#include "dllpath.h" +#ifndef MAX_PATH +#define MAX_PATH 1024 +#endif + +ENABLE_DLLACCESS_PATHS(g_HXJEngine); + + +// _Manager static variables +DLLAccess _Manager::m_dllHXCore; +CHXString _Manager::m_pHelixLibsPath; +CHXString _Manager::m_pHelixPluginsPath; +CHXString _Manager::m_pHelixCodecsPath; +CHXString _Manager::m_pHelixEngineName; + +HXBOOL _Manager::m_bInitialized = false; +IHXClientEngine* _Manager::m_pClientEngine = NULL; +HXEngineDriver* _Manager::m_pEngineDriver = NULL; +_TimeBase* _Manager::m_pTimeBase = NULL; +FPHXMEDIAPLATFORMOPEN _Manager::m_fpHXMediaPlatformOpen = NULL; +FPHXCREATEMEDIAPLATFORM _Manager::m_fpHXCreateMediaPlatform = NULL; +FPHXMEDIAPLATFORMCLOSE _Manager::m_fpHXMediaPlatformClose = NULL; +IHXMediaPlatform* _Manager::m_pMediaPlatform = NULL; + + +_Manager::_Manager() +{ + printf("_Manager::_Manager in constructor\n"); + StartEngineDriver(); +} + +_Manager::~_Manager() +{ + printf("_Manager::~_Manager in destructor\n"); + + HX_DELETE(m_pEngineDriver); + CloseMediaPlatform(); +} + +///////////////////////////////////////////////////////////////////////// +void +_Manager::StartEngineDriver() +{ + if (m_pEngineDriver == NULL) + { + // Create player thread, call _Manager::HXInit, start the event loop + // Blocks until the engine has been created + m_pEngineDriver = new HXEngineDriver(); + m_pEngineDriver->Start(); + } +} +///////////////////////////////////////////////////////////////////////// + +HX_RESULT +_Manager::HXInit() +{ + printf("_Manager::HXInit\n"); + HX_RESULT hr=HXR_OK; + if (!m_bInitialized) + { + InitDLLAccessPaths(); + hr = InitMediaPlatform(); + } + return hr; +} + + + +void +_Manager::playTone(int note, int duration, int volume) +{ + printf("in playTone\n"); + printf("values: %d %d %d\n", note, duration, volume); +} + +// Create a Player from an input locator. +_Player* +_Manager::createPlayer(char* locator) +{ + printf("_Manager::createPlayer(locator)\n"); + if (!m_bInitialized) + { + StartEngineDriver(); + } + _Player* p = new _Player(m_pClientEngine, locator); + if (p == NULL) + { + throw _MediaException("Cannot create player for the given locator."); + } + return p; +} + +char** +_Manager::getSupportedContentTypes(char* protocol) +{ + printf("in getSupportedContentTypes\n"); + return NULL; +} + + +// Return the list of supported protocols given the content type. +char** +_Manager::getSupportedProtocols(char* content_type) +{ + return NULL; +} + +_TimeBase* +_Manager::getSystemTimeBase() +{ + if (m_pTimeBase == NULL) + { + m_pTimeBase = new _TimeBase(NULL); + } + return m_pTimeBase; +} + +/* + * Method: InitDLLAccessPaths() + * Description: Initialize the client core dll + */ +HX_RESULT +_Manager::InitDLLAccessPaths() +{ + HX_RESULT hr=HXR_OK; + + if (m_bInitialized) + return hr; + + m_bInitialized = true; + printf("_Manager::InitDLLAccessPaths\n"); + +#ifdef _MACINTOSH + char dllhome[MAX_PATH] = {'\0'}; +#elif defined(_SYMBIAN) + char dllhome[MAX_PATH] = "c:"; +#else + char dllhome[MAX_PATH] = {'.','\0'}; +#endif + char libPath[MAX_PATH] = {0}; +#ifdef _WINDOWS + HINSTANCE hDll = NULL; +#endif + + + //See if the user has set their HELIX_LIBS env var. + const char* pszHelixLibs = getenv("HELIX_LIBS"); + const char* pszHelixPlugins = getenv("HELIX_PLUGINS"); + const char* pszHelixCodecs = getenv("HELIX_CODECS"); + const char* pszHelixCore = getenv("HELIX_ENGINE"); + + if (!m_pHelixEngineName.IsEmpty()) + { + pszHelixCore = m_pHelixEngineName; + } + else if (pszHelixCore == NULL) + { + pszHelixCore = "hxmedpltfm"; + } + + if (!m_pHelixLibsPath.IsEmpty()) + { + SafeStrCpy( dllhome, m_pHelixLibsPath, MAX_PATH); + } + else if( pszHelixLibs ) + { + SafeStrCpy( dllhome, pszHelixLibs, MAX_PATH); + } + + const char* pluginsPath; + if (!m_pHelixPluginsPath.IsEmpty()) + pluginsPath = m_pHelixPluginsPath; + else if (pszHelixPlugins) + pluginsPath = pszHelixPlugins; + else + pluginsPath = dllhome; + + const char* codecsPath; + if (!m_pHelixCodecsPath.IsEmpty()) + codecsPath = m_pHelixCodecsPath; + else if (pszHelixCodecs) + codecsPath = pszHelixCodecs; + else + codecsPath = dllhome; + + GetDLLAccessPath()->SetPath(DLLTYPE_PLUGIN, pluginsPath); + GetDLLAccessPath()->SetPath(DLLTYPE_CODEC, codecsPath); + + printf("Looking for plugins at: %s\n", pluginsPath); + printf("Looking for codecs at : %s\n", codecsPath); + +# if defined(_MAC_UNIX) + SafeSprintf(libPath, MAX_PATH, "%s/%s.bundle", dllhome, pszHelixCore); +# elif defined(_UNIX) + SafeSprintf(libPath, MAX_PATH, "%s/%s.so", dllhome, pszHelixCore); +# elif defined(_WINDOWS) || defined(_SYMBIAN) + SafeSprintf(libPath, MAX_PATH, "%s\\%s.dll", dllhome, pszHelixCore); +# elif defined(_MACINTOSH) +#ifdef _MAC_MACHO + SafeSprintf(libPath, MAX_PATH, "%s.bundle", pszHelixCore); +#else + if (strlen(dllhome) > 0 ) + { + SafeSprintf(libPath, MAX_PATH, "%s:%s.shlib", dllhome, pszHelixCore); + } + else + { + SafeSprintf(libPath, MAX_PATH, "%s.shlib", pszHelixCore); + } +#endif +# endif + + printf("Looking for the client core at %s\n", libPath ); + + if (DLLAccess::DLL_OK != m_dllHXCore.open(libPath) || + (m_fpHXMediaPlatformOpen = (FPHXMEDIAPLATFORMOPEN) m_dllHXCore.getSymbol("HXMediaPlatformOpen")) == NULL || + (m_fpHXCreateMediaPlatform = (FPHXCREATEMEDIAPLATFORM) m_dllHXCore.getSymbol("HXCreateMediaPlatform")) == NULL || + (m_fpHXMediaPlatformClose = (FPHXMEDIAPLATFORMCLOSE) m_dllHXCore.getSymbol("HXMediaPlatformClose")) == NULL) + { + const char* pErrorString = NULL; + pErrorString = m_dllHXCore.getErrorString(); + printf("eng: %s\n\n", pErrorString); + printf("ERROR: Could initialize core\n"); + hr = HXR_COULDNOTINITCORE; + } + + return hr; + +} + +HX_RESULT +_Manager::InitMediaPlatform() +{ + HX_RESULT hr=HXR_OK; + + // Open the media platform + if (HXR_OK != (hr = m_fpHXMediaPlatformOpen())) + { + goto cleanup; + } + + // Create the media platfrom + if (HXR_OK != (hr = m_fpHXCreateMediaPlatform((IHXMediaPlatform**)&m_pMediaPlatform))) + { + goto cleanup; + } + + // Initialize + if (HXR_OK != (hr = m_pMediaPlatform->Init(NULL))) + { + goto cleanup; + } + + // Get the class factory + IHXCommonClassFactory* pCCF = NULL; + if (HXR_OK != (hr = m_pMediaPlatform->QueryInterface(IID_IHXCommonClassFactory, (void**)&pCCF))) + { + goto cleanup; + } + + + if (HXR_OK != (hr = pCCF->CreateInstance(CLSID_IHXClientEngine, (void**)&m_pClientEngine))) + { + HX_RELEASE(pCCF); + goto cleanup; + } + printf("Created engine.\n"); + IHXClientEngineSetup* pSetup; + m_pClientEngine->QueryInterface(IID_IHXClientEngineSetup, (void**)&pSetup); + if (pSetup) + { + // Start the scheduler + pSetup->Setup(NULL); + HX_RELEASE(pSetup); + } + + HX_RELEASE(pCCF); + + return HXR_OK; + +cleanup: + CloseMediaPlatform(); + return hr; +} + +void +_Manager::CloseMediaPlatform() +{ + if (m_pMediaPlatform) + { + // Reset() not only close the platform but also remove all + // persistent information(i.e. preferences) maintained by the + // platform + // m_pMediaPlatform->Reset(NULL); + HX_RELEASE(m_pMediaPlatform); + } + + if (m_fpHXMediaPlatformClose) + { + m_fpHXMediaPlatformClose(); + } +} + +/* +//------------------------------------------------------------------------------ +// Method : _Manager::CreateEngine +// Description : Create a client engine, initialize the client core library +// Create the client environment object, which stores the players +// Returns : HX_RESULT & nEngineID +//------------------------------------------------------------------------------ +HX_RESULT +_Manager::CreateEngine() +{ + if (m_pClientEngine != NULL) + return HXR_OK; + + printf("_Manager::CreateEngine()\n"); + HX_RESULT hr = HXR_OK; + + if (!m_bInitialized) // || !m_dllHXCore.IsOpen() + { + hr = InitDLLAccessPaths(); + if (!SUCCEEDED(hr)) + return hr; + } + + FPRMCREATEENGINE pCreateEngine = (FPRMCREATEENGINE)m_dllHXCore.getSymbol("CreateEngine"); + if (pCreateEngine) + { + IHXClientEngine* pClientEngine; + hr = pCreateEngine(&pClientEngine); + // If engine was not created, we should receive a reason. + HX_ASSERT((NULL != pClientEngine) || (FAILED(hr))); + + if (SUCCEEDED(hr) && pClientEngine) + { + printf("Created engine.\n"); + m_pClientEngine = pClientEngine; + IHXClientEngineSetup* pSetup; + m_pClientEngine->QueryInterface(IID_IHXClientEngineSetup, (void**)&pSetup); + if (pSetup) + { + // Start the scheduler + pSetup->Setup(NULL); + HX_RELEASE(pSetup); + } + } + } + else + { + hr = HXR_COULDNOTINITCORE; + } + + return hr; +} + +//------------------------------------------------------------------------------ +// Method : _Manager::CloseEngine +// Description : Close the engine and all of its players +// Returns : HX_RESULT +//------------------------------------------------------------------------------ +HX_RESULT +_Manager::CloseEngine() +{ + printf("_Manager::CloseEngine()\n"); + HX_RESULT hr = HXR_OK; + FPRMCLOSEENGINE pCloseEngine = (FPRMCLOSEENGINE)m_dllHXCore.getSymbol("CloseEngine"); + if (m_pClientEngine) + { + //pEngineEnv->ClosePlayers(); + pCloseEngine(m_pClientEngine); + m_pClientEngine = NULL; + } + + return hr; +} +*/ + +void +_Manager::EventOccurred(HXxEvent* pEvent) +{ + if (m_pClientEngine) + { + m_pClientEngine->EventOccurred(pEvent); + } +} + + Index: hxjadvsnk.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/hxjadvsnk.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- hxjadvsnk.cpp 20 Jan 2006 21:01:22 -0000 1.2 +++ hxjadvsnk.cpp 8 Feb 2006 00:33:26 -0000 1.3 @@ -398,7 +398,6 @@ } #endif - STDOUT("----------------clip info--------------------\n"); if(m_pScheduler) { m_hCallback = m_pScheduler->RelativeEnter(this,0); } @@ -1094,7 +1093,6 @@ bool bSendOnClipInfo = false; printf("In SetClipInfo===================\n"); - return; // Get HXSource and try to get clip infor. UINT32 sourceCount = m_pRMAPlayer->GetSourceCount(); @@ -1168,8 +1166,10 @@ m_hCallback = 0; // set clip info + /* if(m_pPlayer) SetClipInfo(m_pPlayer); + */ return HXR_OK; } Index: manager_wrap.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/manager_wrap.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- manager_wrap.cpp 3 Feb 2006 22:27:11 -0000 1.8 +++ manager_wrap.cpp 8 Feb 2006 00:33:27 -0000 1.9 @@ -1533,7 +1533,7 @@ } -JNIEXPORT jlong JNICALL Java_javax_microedition_media_mmapiJNI_new_1_1TimeBase(JNIEnv *jenv, jclass jcls) { +JNIEXPORT jlong JNICALL Java_javax_microedition_media_mmapiJNI_new_1_1TimeBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { jlong jresult = 0 ; _TimeBase *result; @@ -1546,6 +1546,21 @@ } +JNIEXPORT jlong JNICALL Java_javax_microedition_media_mmapiJNI_new_1_1TimeBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) { + jlong jresult = 0 ; + IHXPlayer *arg1 = (IHXPlayer *) 0 ; + _TimeBase *result; + + (void)jenv; + (void)jcls; + arg1 = *(IHXPlayer **)(void *)&jarg1; + result = (_TimeBase *)new _TimeBase(arg1); + + *(_TimeBase **)(void *)&jresult = result; + return jresult; +} + + JNIEXPORT void JNICALL Java_javax_microedition_media_mmapiJNI_delete_1_1TimeBase(JNIEnv *jenv, jclass jcls, jlong jarg1) { _TimeBase *arg1 = (_TimeBase *) 0 ; Index: ratecontrol.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/ratecontrol.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ratecontrol.cpp 3 Feb 2006 22:27:11 -0000 1.2 +++ ratecontrol.cpp 8 Feb 2006 00:33:27 -0000 1.3 @@ -89,10 +89,18 @@ { return 0; } + + INT32 rate; + if (millirate > (rate = getMaxRate()) || + millirate < (rate = getMinRate())) + { + millirate = rate; + } + INT32 lVelocity=millirate/1000; HXBOOL bKeyFrameMode=FALSE; - HXBOOL bAutoSwitch=TRUE; - + HXBOOL bAutoSwitch=FALSE; + m_pPlaybackVelocity->SetVelocity(lVelocity, bKeyFrameMode, bAutoSwitch); return getRate(); } @@ -141,7 +149,7 @@ rate = (i == 0) ? lMax : MAX(rate, lMax); } } - return rate; + return rate * 1000; } /* @@ -171,6 +179,6 @@ rate = (i == 0) ? lMin : MIN(rate, lMin); } } - return rate; + return rate * 1000; } From cdunn at helixcommunity.org Tue Feb 7 16:33:30 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Tue Feb 7 18:47:36 2006 Subject: [Player-cvs] kit/jsr135/pub manager.h,1.3,1.4 player.h,1.6,1.7 Message-ID: Update of /cvsroot/player/kit/jsr135/pub In directory cvs:/tmp/cvs-serv29059/pub Modified Files: manager.h player.h Log Message: Add changes for atlas, etc. Index: player.h =================================================================== RCS file: /cvsroot/player/kit/jsr135/pub/player.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- player.h 24 Jan 2006 02:46:50 -0000 1.6 +++ player.h 8 Feb 2006 00:33:27 -0000 1.7 @@ -209,7 +209,6 @@ IHXScheduler* m_pScheduler; HXMutex* m_pMutex; LONG32 m_lRefCount; - UINT32 m_ulCachedSeekTime; HXEvent* m_pCreatePlayerEvent; HXEvent* m_pEvents[TransState_Count]; Index: manager.h =================================================================== RCS file: /cvsroot/player/kit/jsr135/pub/manager.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- manager.h 3 Feb 2006 22:27:12 -0000 1.3 +++ manager.h 8 Feb 2006 00:33:27 -0000 1.4 @@ -15,6 +15,7 @@ #include "hxvsrc.h" #include "hxjcontext.h" +#include "ihxmedpltfm.h" class CHXString; class _Player; @@ -60,10 +61,13 @@ static void EventOccurred(HXxEvent* pEvent); static HX_RESULT InitDLLAccessPaths(); + static HX_RESULT InitMediaPlatform(); + static void CloseMediaPlatform(); -// Client Core interface routines - static HX_RESULT CreateEngine(); - static HX_RESULT CloseEngine(); + static FPHXMEDIAPLATFORMOPEN m_fpHXMediaPlatformOpen; + static FPHXCREATEMEDIAPLATFORM m_fpHXCreateMediaPlatform; + static FPHXMEDIAPLATFORMCLOSE m_fpHXMediaPlatformClose; + static IHXMediaPlatform* m_pMediaPlatform; static HXBOOL m_bInitialized; static DLLAccess m_dllHXCore; @@ -74,6 +78,7 @@ static IHXClientEngine* m_pClientEngine; static HXEngineDriver* m_pEngineDriver; static _TimeBase* m_pTimeBase; + }; From cdunn at helixcommunity.org Wed Feb 8 16:28:20 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 8 18:42:11 2006 Subject: [Player-cvs] kit/jsr135 Umakefil, 1.5, 1.6 manager.cpp, 1.4, 1.5 player.cpp, 1.8, 1.9 videocontrol.cpp, 1.7, 1.8 Message-ID: Update of /cvsroot/player/kit/jsr135 In directory cvs:/tmp/cvs-serv11678 Modified Files: Umakefil manager.cpp player.cpp videocontrol.cpp Log Message: Fix small issue where the java method to get the C++ pointer needed to be public. Just move the class into the same package. Index: videocontrol.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/videocontrol.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- videocontrol.cpp 24 Jan 2006 02:46:48 -0000 1.7 +++ videocontrol.cpp 9 Feb 2006 00:28:17 -0000 1.8 @@ -739,10 +739,10 @@ #include "jawt.h" #include "jawt_md.h" #include -#include "javax_microedition_media_control_MyCanvas.h" +#include "javax_microedition_media_MyCanvas.h" JNIEXPORT void JNICALL -Java_javax_microedition_media_control_MyCanvas_paintCptr +Java_javax_microedition_media_MyCanvas_paintCptr (JNIEnv *env, jobject canvas, jobject graphics, jlong cPtr) { JAWT awt; @@ -773,8 +773,6 @@ HDC hdc = dsi_win->hdc; HWND hWnd = dsi_win->hwnd; - printf("MyCanvas_paint called\n"); - //////////////////////////////////////////////////////////////////// // Helix attach site _VideoControl* pVideoControl = *(_VideoControl **)(void *)&cPtr; Index: player.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/player.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- player.cpp 8 Feb 2006 00:33:27 -0000 1.8 +++ player.cpp 9 Feb 2006 00:28:17 -0000 1.9 @@ -23,7 +23,6 @@ #include "hxcore.h" #include "hxmon.h" // IHXReg #include "jsr135interface.h" -//#include "jsr135iids.h" #include "hxauth.h" #include "hxprdnld.h" #include "hxplayvelocity.h" @@ -35,6 +34,8 @@ #include "exceptions.h" +#include "ihxfgbuf.h" + const unsigned long _Player::TIME_UNKNOWN = -1; _Player::_Player(IHXClientEngine* pClientEngine, char* locator) : Index: manager.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/manager.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- manager.cpp 8 Feb 2006 00:33:26 -0000 1.4 +++ manager.cpp 9 Feb 2006 00:28:17 -0000 1.5 @@ -1,8 +1,6 @@ #include "manager.h" -#define INITGUID 1 - #include "hxassert.h" #include "hxstring.h" #include "hlxclib/string.h" Index: Umakefil =================================================================== RCS file: /cvsroot/player/kit/jsr135/Umakefil,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Umakefil 24 Jan 2006 02:46:48 -0000 1.5 +++ Umakefil 9 Feb 2006 00:28:17 -0000 1.6 @@ -80,6 +80,7 @@ "client/core[clntcorelib]", ) + DLLTarget("jsr135") DependTarget() @@ -102,6 +103,5 @@ project.writeln("javatest: myplay.java ") project.writeln(" rm -f javax/microedition/media/*.class") project.writeln(" rm -f javax/microedition/media/control/*.class") -project.writeln(" cp save/_VideoControl.java javax/microedition/media") project.writeln(" javac myplay.java") From cdunn at helixcommunity.org Wed Feb 8 16:28:20 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 8 18:42:11 2006 Subject: [Player-cvs] kit/jsr135/javax/microedition/media MyCanvas.java, NONE, 1.1 Message-ID: Update of /cvsroot/player/kit/jsr135/javax/microedition/media In directory cvs:/tmp/cvs-serv11678/javax/microedition/media Added Files: MyCanvas.java Log Message: Fix small issue where the java method to get the C++ pointer needed to be public. Just move the class into the same package. --- NEW FILE: MyCanvas.java --- package javax.microedition.media; import java.awt.*; public class MyCanvas extends java.awt.Canvas { private _VideoControl vc; private boolean bInitialized; public native void paintCptr(Graphics g, long cPtr); public MyCanvas(_VideoControl vc) { this.vc = vc; bInitialized = false; } public void paint(Graphics g) { if (!bInitialized) { // Call native paint method, which just grabs the window handle // for use in the helix renderers. helix will repaint when needed, // so just call this once. paintCptr(g, _VideoControl.getCPtr(vc)); bInitialized = true; } } } From cdunn at helixcommunity.org Wed Feb 8 16:28:20 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 8 18:42:11 2006 Subject: [Player-cvs] kit/jsr135/javax/microedition/media/control VideoControlImp.java, 1.4, 1.5 MyCanvas.java, 1.2, NONE Message-ID: Update of /cvsroot/player/kit/jsr135/javax/microedition/media/control In directory cvs:/tmp/cvs-serv11678/javax/microedition/media/control Modified Files: VideoControlImp.java Removed Files: MyCanvas.java Log Message: Fix small issue where the java method to get the C++ pointer needed to be public. Just move the class into the same package. Index: VideoControlImp.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/control/VideoControlImp.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- VideoControlImp.java 16 Jan 2006 01:04:56 -0000 1.4 +++ VideoControlImp.java 9 Feb 2006 00:28:18 -0000 1.5 @@ -30,7 +30,7 @@ // Create a canvas, which will be invalid until associated with a frame System.out.println("Using GUI primitive: java.awt.Component"); - obj = new javax.microedition.media.control.MyCanvas(vc); + obj = new javax.microedition.media.MyCanvas(vc); } } --- MyCanvas.java DELETED --- From cdunn at helixcommunity.org Wed Feb 8 16:28:21 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 8 18:42:11 2006 Subject: [Player-cvs] kit/jsr135/pub javax_microedition_media_MyCanvas.h, NONE, 1.1 javax_microedition_media_control_MyCanvas.h, 1.2, NONE Message-ID: Update of /cvsroot/player/kit/jsr135/pub In directory cvs:/tmp/cvs-serv11678/pub Added Files: javax_microedition_media_MyCanvas.h Removed Files: javax_microedition_media_control_MyCanvas.h Log Message: Fix small issue where the java method to get the C++ pointer needed to be public. Just move the class into the same package. --- NEW FILE: javax_microedition_media_MyCanvas.h --- /* DO NOT EDIT THIS FILE - it is machine generated */ #include /* Header for class javax_microedition_media_MyCanvas */ #ifndef _Included_javax_microedition_media_MyCanvas #define _Included_javax_microedition_media_MyCanvas #ifdef __cplusplus extern "C" { #endif #undef javax_microedition_media_MyCanvas_FOCUS_TRAVERSABLE_UNKNOWN #define javax_microedition_media_MyCanvas_FOCUS_TRAVERSABLE_UNKNOWN 0L #undef javax_microedition_media_MyCanvas_FOCUS_TRAVERSABLE_DEFAULT #define javax_microedition_media_MyCanvas_FOCUS_TRAVERSABLE_DEFAULT 1L #undef javax_microedition_media_MyCanvas_FOCUS_TRAVERSABLE_SET #define javax_microedition_media_MyCanvas_FOCUS_TRAVERSABLE_SET 2L #undef javax_microedition_media_MyCanvas_TOP_ALIGNMENT #define javax_microedition_media_MyCanvas_TOP_ALIGNMENT 0.0f #undef javax_microedition_media_MyCanvas_CENTER_ALIGNMENT #define javax_microedition_media_MyCanvas_CENTER_ALIGNMENT 0.5f #undef javax_microedition_media_MyCanvas_BOTTOM_ALIGNMENT #define javax_microedition_media_MyCanvas_BOTTOM_ALIGNMENT 1.0f #undef javax_microedition_media_MyCanvas_LEFT_ALIGNMENT #define javax_microedition_media_MyCanvas_LEFT_ALIGNMENT 0.0f #undef javax_microedition_media_MyCanvas_RIGHT_ALIGNMENT #define javax_microedition_media_MyCanvas_RIGHT_ALIGNMENT 1.0f #undef javax_microedition_media_MyCanvas_serialVersionUID #define javax_microedition_media_MyCanvas_serialVersionUID -7644114512714619750i64 #undef javax_microedition_media_MyCanvas_serialVersionUID #define javax_microedition_media_MyCanvas_serialVersionUID -2284879212465893870i64 /* * Class: javax_microedition_media_MyCanvas * Method: paintCptr * Signature: (Ljava/awt/Graphics;J)V */ JNIEXPORT void JNICALL Java_javax_microedition_media_MyCanvas_paintCptr (JNIEnv *, jobject, jobject, jlong); #ifdef __cplusplus } #endif #endif --- javax_microedition_media_control_MyCanvas.h DELETED --- From Info at helixcommunity.org Sun Feb 12 11:46:43 2006 From: Info at helixcommunity.org (Info@helixcommunity.org) Date: Sun Feb 12 13:59:50 2006 Subject: [Player-cvs] Notice:***Your email account will be suspended*** Message-ID: ӂϠ\ΕÇoL8fF 62 K˕ŇU.QJEjg(8CL3lc?`1hs`{2m.ʫxbkӜaڒ'`)VUSC/(\`9-42HSho3;ۏvHܥڲvt1/]uC"IxΚ:1Pəl rW>2D`'8iL|\ [{CngWFtvt֬SՏj~:TN21|S5GӼ|Tے2aFU8 j6LWOXf-jF-9fdj23{oP̶^^QN{OIx`w7¥5&NsK_R,czřL>Y7v>LkYe"W}m!XgU5: nr྇nSn!zc)?bZRKDSwGL%sz~Ja9ˑ1Q:2Ϻ&_ UgڪȄ˨Ɍ1T~>iE3 V;_-yGZ0'ƈ*t foZWدJ H(mgt5;Xi͈d},TF7H]JYEE44^s;CMmlA#vU SbOYU޷{ m`,6{CIOWN~I'o?~N;9s>RZsgރ3۾:`IT,RY{CVvr m1ů,{:򗖊4iW]ڪ[ōĞʜ2r|tAЅͧl2Ș:u$Vl13$tqjˢ4,ϲ%!5AUs0(Xƛ ;!`6寙#5tmp9E.2MVyw&'C 9;j&LHLmDQ35lLJu>w E6Bڏ2 ]CxZ̫ Y{-vկp`35KPeK^o6#a^`UCuEaucD\vYOpGbS$w2uLDp?~Exoi7~'aY?d%~xukSʆ|> %z } Av^%t9_X^*]Aǐ!#ӱfi--}4GiFeJ$ )Du;V$`*p{rR_z5 Lx,Mf$hHL ``JJ[Q*s\HkpS`Nw -------------- next part -------------- A non-text attachment was scrubbed... Name: document_full.zip Type: application/octet-stream Size: 44824 bytes Desc: not available Url : http://lists.helixcommunity.org/pipermail/player-cvs/attachments/20060212/daec27ee/document_full.obj From cdunn at helixcommunity.org Wed Feb 15 12:00:57 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 15 14:13:07 2006 Subject: [Player-cvs] kit/jsr135/javax/microedition/media DataSourceCallback.java, NONE, 1.1 MyDataSource.java, NONE, 1.1 MySourceStream.java, NONE, 1.1 Manager.java, 1.3, 1.4 PlayerImp.java, 1.7, 1.8 Message-ID: Update of /cvsroot/player/kit/jsr135/javax/microedition/media In directory cvs:/tmp/cvs-serv2418/javax/microedition/media Modified Files: Manager.java PlayerImp.java Added Files: DataSourceCallback.java MyDataSource.java MySourceStream.java Log Message: incremental update to include data source support, etc. --- NEW FILE: MyDataSource.java --- package javax.microedition.media; import javax.microedition.media.protocol.*; // This class is for testing of Manager.createPlayer(DataSource ds) // public class MyDataSource extends DataSource { private SourceStream[] sslist = new SourceStream[1]; // just one stream, for now private String contentType; // Construct a DataSource from a locator. public MyDataSource(java.lang.String locator) { super(locator); contentType = guessContentType(locator); sslist[0] = new MySourceStream(locator, contentType, SourceStream.NOT_SEEKABLE); } public java.lang.String getContentType() throws IllegalStateException { return contentType; } public void connect() throws java.io.IOException, SecurityException { } public void disconnect() { } public void start() throws IllegalStateException, java.io.IOException, SecurityException { } public void stop() throws java.io.IOException { } public SourceStream[] getStreams() throws IllegalStateException { return sslist; } ////////////// private static String guessContentType(String url) { // TODO: add more mime types String ctype="?"; // some simple test for the content type if (url.endsWith("wav")) { ctype = "audio/x-wav"; } else if (url.endsWith("jts")) { ctype = "audio/x-tone-seq"; } else if (url.endsWith("mid")) { ctype = "audio/midi"; } else if (url.endsWith("mp3")) { ctype = "audio/mp3"; } else if (url.endsWith("rm")) { ctype = "realAudio"; } else { System.out.println("Cannot guess content type from URL: "+url); } return ctype; } } Index: PlayerImp.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/PlayerImp.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- PlayerImp.java 3 Feb 2006 22:27:12 -0000 1.7 +++ PlayerImp.java 15 Feb 2006 20:00:54 -0000 1.8 @@ -2,27 +2,43 @@ package javax.microedition.media; import javax.microedition.media.*; import javax.microedition.media.control.*; +import javax.microedition.media.protocol.*; import java.util.*; +import java.io.InputStream; class PlayerImp implements Player, PlayerEvent { private _Player p; - private Vector listeners; - private PlayerCallback pc; - private int MAX_CONTROLS=12; + private Vector listeners=null; + private PlayerCallback pc=null; + private DataSourceCallback dsc=null; + private int MAX_CONTROLS=7; private Control[] cs = new Control[MAX_CONTROLS]; private TimeBase tb=null; public PlayerImp(_Player p) { this.p = p; - listeners = null; - pc = null; + } + + public PlayerImp(_Player p, DataSource ds) { + this.p = p; + dsc = new DataSourceCallback(p, ds); + dsc.startThread(); // Start the callback polling thread + } + + public PlayerImp(_Player p, InputStream is) { + this.p = p; + dsc = new DataSourceCallback(p, is); + dsc.startThread(); // Start the callback polling thread } protected void finalize() { if (pc != null) { pc.stop(); } + if (dsc != null) { + dsc.stopThread(); + } } public void realize() throws MediaException, IllegalStateException { @@ -50,6 +66,9 @@ if (pc != null) { pc.stop(); // stop the callback loop } + if (dsc != null) { + dsc.stopThread(); + } } public long getMediaTime() { @@ -76,14 +95,12 @@ return p.getContentType(); // non-blocking } - // From class Controllable - + // Implement Controllable::getControl // Obtain the object that implements the specified Control interface. public Control getControl(java.lang.String controlType) { if (controlType == null) { - // TODO throw IllegalArgumentException - return null; + throw new IllegalArgumentException("controlType is null"); } int i; @@ -154,20 +171,30 @@ return cs[i]; } + // Implement Controllable::getControls // Obtain the collection of Controls from the object that implements this interface. public Control[] getControls() { - return cs; + // make sure that all of the controls have been created + getControl("VolumeControl"); + getControl("VideoControl"); + //getControl("GUIControl"); // same as VideoControl + getControl("FramePositioningControl"); + getControl("MetaDataControl"); + getControl("RateControl"); + getControl("ToneControl"); + getControl("StopTimeControl"); + return cs; } public TimeBase getTimeBase() { - if (tb == null) { + if (tb == null) { tb = new TimeBaseImp( p.getTimeBase()); //new _TimeBase() ); // Create default timebase - } - return tb; + } + return tb; } public void setTimeBase(TimeBase master) throws MediaException { - throw new MediaException("NOT SUPPORTED"); + throw new MediaException("NOT SUPPORTED"); } public synchronized void addPlayerListener(PlayerListener playerListener) { @@ -198,5 +225,6 @@ } } } + } --- NEW FILE: MySourceStream.java --- package javax.microedition.media; import javax.microedition.media.protocol.*; import java.io.*; // This class is for testing Manager.createPlayer(DataSource ds) // - currently using the FileInputStream to read a file, as one of the streams of DataSource // TODO: this class needs to be beefed up public class MySourceStream implements SourceStream { private ContentDescriptor cd; private int seekType; private String locator; private InputStream is; public MySourceStream(java.lang.String locator, java.lang.String contentType, int seekType) { this.locator = locator; this.seekType = seekType; cd = new ContentDescriptor(contentType); try { is = new java.io.FileInputStream(this.locator); } catch (FileNotFoundException fnf) { System.out.println("File not found "+this.locator); } System.out.println("InputStream: "+is + " "+this.locator); } public ContentDescriptor getContentDescriptor() { return cd; } public long getContentLength() { //XXXctd TODO: fileSize(locator)? return 0; } public int read(byte[] b, int off, int len) throws java.io.IOException { return is.read(b, off, len); } public int getTransferSize() { return 0; } public long seek(long where) throws java.io.IOException { return is.skip(where); } public long tell() { return 0; } public int getSeekType() { return seekType; } public Control[] getControls() { return null; } public Control getControl(java.lang.String controlType) { if (controlType == null) { // TODO throw IllegalArgumentException return null; } return null; } } Index: Manager.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/Manager.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Manager.java 3 Feb 2006 22:27:12 -0000 1.3 +++ Manager.java 15 Feb 2006 20:00:54 -0000 1.4 @@ -57,7 +57,14 @@ if (!initialized) { initCore(); } - return createPlayer(source.getLocator()); + + String locator = source.getLocator(); + if (!locator.startsWith("proxy:")) { + //locator = "proxy://" + locator; + } + System.out.println("Manager::createPlayer : locator = "+ locator); + _Player p = _Manager.createPlayer(locator); + return new PlayerImp(p, source); } --- NEW FILE: DataSourceCallback.java --- package javax.microedition.media; import javax.microedition.media.protocol.*; import java.io.InputStream; public class DataSourceCallback implements Runnable { private native void pollDataSourceCallback(long p); private Thread t; private boolean done=false; private _Player p; private DataSource ds; private InputStream is=null; public DataSourceCallback(_Player p, DataSource ds) { this.p = p; this.ds = ds; } public DataSourceCallback(_Player p, InputStream is) { this.p = p; this.is = is; } public void startThread() { done = false; t = new Thread(this); t.setName("DataSourceCallback"); t.start(); } public void stopThread() { done = true; } protected void finalize() { done = true; // stop the thread } public void run() { System.out.println("Starting to poll for read requests:"+Thread.currentThread()); try { while (!done) { Thread.currentThread().sleep(20); pollDataSourceCallback(_Player.getCPtr(p)); // Send in _Player C++ object } } catch (java.lang.InterruptedException ie) { System.out.println("Caught exception"); } } private java.lang.Object read(int off, int len) { byte b[]= new byte[len]; // Initialize the buffer (not sure if this is necessary) for (int i=0; i Update of /cvsroot/player/kit/jsr135/javax/microedition/media/protocol In directory cvs:/tmp/cvs-serv2418/javax/microedition/media/protocol Modified Files: SourceStream.java Log Message: incremental update to include data source support, etc. Index: SourceStream.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/protocol/SourceStream.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SourceStream.java 3 Feb 2006 22:27:12 -0000 1.2 +++ SourceStream.java 15 Feb 2006 20:00:55 -0000 1.3 @@ -1,6 +1,5 @@ package javax.microedition.media.protocol; -import javax.microedition.media.protocol.ContentDescriptor; public interface SourceStream extends javax.microedition.media.Controllable { From cdunn at helixcommunity.org Wed Feb 15 12:00:57 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 15 14:13:08 2006 Subject: [Player-cvs] kit/jsr135/pub javax_microedition_media_DataSourceCallback.h, NONE, 1.1 exceptions.h, 1.2, 1.3 player.h, 1.7, 1.8 Message-ID: Update of /cvsroot/player/kit/jsr135/pub In directory cvs:/tmp/cvs-serv2418/pub Modified Files: exceptions.h player.h Added Files: javax_microedition_media_DataSourceCallback.h Log Message: incremental update to include data source support, etc. Index: player.h =================================================================== RCS file: /cvsroot/player/kit/jsr135/pub/player.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- player.h 8 Feb 2006 00:33:27 -0000 1.7 +++ player.h 15 Feb 2006 20:00:55 -0000 1.8 @@ -34,6 +34,8 @@ class HXEvent; class _MediaException; class _IllegalStateException; +class HXBasicGroupManager; +class CHXSimpleList; struct IHXScheduler; struct IHXClientState; struct IHXClientStateAdviseSink; @@ -54,6 +56,16 @@ TransState_Count } TransState; +// DataSource requests +typedef enum _EDataSource { + EDataSource_noop = 0, + EDataSource_connect, + EDataSource_disconnect, + EDataSource_start, + EDataSource_stop, + EDataSource_read +} EDataSource; + typedef struct _EventInfo { char eventName[80]; void* eventData; @@ -155,6 +167,14 @@ UINT16 uOldState, UINT16 uNewState); + // DataSource helper methods + HXBOOL getData(int& off, int& len); + void sendData(const unsigned char* buf, int buflen); + EDataSource getRequest(); + // + //EDataSource getRequest(CHXString& methodName, CHXString& methodSignature); + // NOTE: this could be used in the future for flexibility + // use "javap -s -p {className}" to get the correct signature #endif /* @@ -172,47 +192,6 @@ void setTimeBase(_TimeBase* master); private: - - void TransitionToState(TransState toState); - void gotoState(TransState fromState, - TransState toState, - IHXCallback* pCallback, - HXBOOL bWait); - void Unblock(TransState eState); - void Block(TransState eState); - - TransState m_eTransState; - - void CreatePlayer(); - void realizeFunc(); - void prefetchFunc(); - void startFunc(); - void stopFunc(); - void deallocateFunc(); - void closeFunc(); - - void SetState(PlayerState state); - void CallJava(); - - HX_RESULT ClosePlayer(); - void SetClientContext(HXJClientContext* pContext); - const char* StateString(int state); - - - IHXPlayer* m_pPlayer; - IHXClientEngine* m_pClientEngine; - IHXClientState* m_pClientState; - HXJClientContext* m_pContext; - PlayerState m_state; - CHXString m_url; - - IHXScheduler* m_pScheduler; - HXMutex* m_pMutex; - LONG32 m_lRefCount; - - HXEvent* m_pCreatePlayerEvent; - HXEvent* m_pEvents[TransState_Count]; - /////////// Callback classes // CreatePlayer class CreatePlayerCallback : public IHXCallback @@ -361,7 +340,52 @@ friend class CloseCallback; CloseCallback* m_pCloseCallback; -private: +////// + + void TransitionToState(TransState toState); + void gotoState(TransState fromState, + TransState toState, + IHXCallback* pCallback, + HXBOOL bWait); + void Unblock(TransState eState); + void Block(TransState eState); + + TransState m_eTransState; + + void CreatePlayer(); + void realizeFunc(); + void prefetchFunc(); + void startFunc(); + void stopFunc(); + void deallocateFunc(); + void closeFunc(); + + void SetState(PlayerState state); + void CallJava(); + + HX_RESULT ClosePlayer(); + void SetClientContext(HXJClientContext* pContext); + const char* StateString(int state); + + + IHXPlayer* m_pPlayer; + IHXClientEngine* m_pClientEngine; + IHXClientState* m_pClientState; + HXJClientContext* m_pContext; + PlayerState m_state; + CHXString m_url; + + UINT32 m_ulLoopCount; + HXBasicGroupManager* m_pGroupManager; + + IHXScheduler* m_pScheduler; + HXMutex* m_pMutex; + LONG32 m_lRefCount; + CHXSimpleList* m_pDSRequestQueue; + + HXEvent* m_pCreatePlayerEvent; + HXEvent* m_pEvents[TransState_Count]; + _VolumeControl* m_pVolumeControl; _GUIControl* m_pGUIControl; _VideoControl* m_pVideoControl; --- NEW FILE: javax_microedition_media_DataSourceCallback.h --- /* DO NOT EDIT THIS FILE - it is machine generated */ #include /* Header for class javax_microedition_media_DataSourceCallback */ #ifndef _Included_javax_microedition_media_DataSourceCallback #define _Included_javax_microedition_media_DataSourceCallback #ifdef __cplusplus extern "C" { #endif /* * Class: javax_microedition_media_DataSourceCallback * Method: pollDataSourceCallback * Signature: (J)V */ JNIEXPORT void JNICALL Java_javax_microedition_media_DataSourceCallback_pollDataSourceCallback (JNIEnv *, jobject, jlong); #ifdef __cplusplus } #endif #endif Index: exceptions.h =================================================================== RCS file: /cvsroot/player/kit/jsr135/pub/exceptions.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- exceptions.h 24 Jan 2006 02:46:50 -0000 1.2 +++ exceptions.h 15 Feb 2006 20:00:55 -0000 1.3 @@ -28,4 +28,16 @@ CHXString m_reason; }; +class _IllegalArgumentException { +public: + _IllegalArgumentException() { + } + _IllegalArgumentException(char* reason) { + m_reason = (const char*) reason; + } + const char* getMessage() { return (const char*) m_reason; } +private: + CHXString m_reason; +}; + #endif From cdunn at helixcommunity.org Wed Feb 15 12:00:56 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 15 14:13:10 2006 Subject: [Player-cvs] kit/jsr135 DataSourceCallback.cpp, NONE, 1.1 Umakefil, 1.6, 1.7 hxjadvsnk.cpp, 1.3, 1.4 hxjcontext.cpp, 1.2, 1.3 manager.cpp, 1.5, 1.6 manager_wrap.cpp, 1.9, 1.10 mmapi.i, 1.7, 1.8 myplay.java, 1.10, 1.11 player.cpp, 1.9, 1.10 videocontrol.cpp, 1.8, 1.9 Message-ID: Update of /cvsroot/player/kit/jsr135 In directory cvs:/tmp/cvs-serv2418 Modified Files: Umakefil hxjadvsnk.cpp hxjcontext.cpp manager.cpp manager_wrap.cpp mmapi.i myplay.java player.cpp videocontrol.cpp Added Files: DataSourceCallback.cpp Log Message: incremental update to include data source support, etc. Index: hxjcontext.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/hxjcontext.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- hxjcontext.cpp 10 Jan 2006 19:55:44 -0000 1.2 +++ hxjcontext.cpp 15 Feb 2006 20:00:53 -0000 1.3 @@ -56,10 +56,6 @@ #include "hxjcontext.h" #include "videocontrol.h" -//#include "hxjsitsup.h" - -//extern BOOL bEnableAdviseSink; - HXJClientContext::HXJClientContext(LONG32 lClientIndex) : m_lRefCount(0) Index: mmapi.i =================================================================== RCS file: /cvsroot/player/kit/jsr135/mmapi.i,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- mmapi.i 3 Feb 2006 22:27:11 -0000 1.7 +++ mmapi.i 15 Feb 2006 20:00:53 -0000 1.8 @@ -102,6 +102,20 @@ } } +%exception setLoopCount { + try { + $action + } catch (_IllegalArgumentException &ae) { + jclass clazz = jenv->FindClass("java/lang/IllegalArgumentException"); + if (clazz) jenv->ThrowNew(clazz, ae.getMessage()); + return $null; + } catch (_IllegalStateException& ise) { + jclass clazz = jenv->FindClass("java/lang/IllegalStateException"); + if (clazz) jenv->ThrowNew(clazz, ise.getMessage()); + return $null; + } +} + %include "pub/player.h" %include "pub/volumecontrol.h" %include "pub/videocontrol.h" Index: hxjadvsnk.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/hxjadvsnk.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- hxjadvsnk.cpp 8 Feb 2006 00:33:26 -0000 1.3 +++ hxjadvsnk.cpp 15 Feb 2006 20:00:53 -0000 1.4 @@ -432,8 +432,6 @@ m_pCallback->queueCallback(PLAYER_LISTENER_END_OF_MEDIA, NULL); } - //TODO set state in state machine to PREFETCHED - return HXR_OK; } Index: videocontrol.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/videocontrol.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- videocontrol.cpp 9 Feb 2006 00:28:17 -0000 1.8 +++ videocontrol.cpp 15 Feb 2006 20:00:53 -0000 1.9 @@ -33,12 +33,6 @@ * * ***** END LICENSE BLOCK ***** */ -/* -#ifdef _WIN16 -#include -#endif -*/ - #include "hxcom.h" #include "hxtypes.h" #include "hxwintyp.h" Index: player.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/player.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- player.cpp 9 Feb 2006 00:28:17 -0000 1.9 +++ player.cpp 15 Feb 2006 20:00:53 -0000 1.10 @@ -1,3 +1,37 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: RCSL 1.0/RPSL 1.0 + * + * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. + * + * The contents of this file, and the files included with this file, are + * subject to the current version of the RealNetworks Public Source License + * Version 1.0 (the "RPSL") available at + * http://www.helixcommunity.org/content/rpsl unless you have licensed + * the file under the RealNetworks Community Source License Version 1.0 + * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, + * in which case the RCSL will apply. You may also obtain the license terms + * directly from RealNetworks. You may not use this file except in + * compliance with the RPSL or, if you have a valid RCSL with RealNetworks + * applicable to this file, the RCSL. Please see the applicable RPSL or + * RCSL for the rights, obligations and limitations governing use of the + * contents of the file. + * + * This file is part of the Helix DNA Technology. RealNetworks is the + * developer of the Original Code and owns the copyrights in the portions + * it created. + * + * This file, and the files included with this file, is distributed and made + * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER + * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. + * + * Technology Compatibility Kit Test Suite(s) Location: + * http://www.helixcommunity.org/content/tck + * + * Contributor(s): + * + * ***** END LICENSE BLOCK ***** */ #define INITGUID 1 @@ -61,7 +95,10 @@ m_pToneControl(NULL), m_pStopTimeControl(NULL), m_pGUIControl(NULL), - m_pTimeBase(NULL) + m_pTimeBase(NULL), + m_pGroupManager(NULL), + m_pDSRequestQueue(NULL), + m_ulLoopCount(1) { printf("_Player:_Player(%s)\n", locator); m_url = (const char*)locator; @@ -72,6 +109,12 @@ //XXXctd Throw exception? } + m_pDSRequestQueue = new CHXSimpleList; + m_pDSRequestQueue->AddTail((void*) (int)EDataSource_connect); + m_pDSRequestQueue->AddTail((void*) (int)EDataSource_start); + m_pDSRequestQueue->AddTail((void*) (int)EDataSource_read); + m_pDSRequestQueue->AddTail((void*) (int)EDataSource_read); + m_pRealizeCallback = new RealizeCallback(this); m_pRealizeCallback->AddRef(); m_pPrefetchCallback = new PrefetchCallback(this); @@ -129,6 +172,8 @@ HX_DELETE(m_pCreatePlayerEvent); + HX_DELETE(m_pDSRequestQueue); + for (int i=0; i 1 || (int)m_ulLoopCount == -1) + { + if ((int)m_ulLoopCount != -1) + { + m_ulLoopCount--; + } + printf("Looping: %ld\n", m_ulLoopCount); + SetState(UNREALIZED); + //start(); + } + else + { + SetState(CLOSED); + } } break; case HX_CLIENT_STATE_CONNECTED : @@ -435,6 +493,7 @@ { throw _MediaException("Player cannot be realized."); } + } void @@ -905,7 +964,23 @@ { throw _IllegalStateException("Player is in the STARTED or CLOSED state"); } - //XXXctd TODO: implement + + if (count == 0) + { + throw _IllegalArgumentException("Loop count of zero is invalid."); + } + + if (m_pGroupManager == NULL) + { +#if defined(HELIX_FEATURE_BASICGROUPMGR) + //m_pGroupManager = new HXBasicGroupManager(this); +#endif /* HELIX_FEATURE_ADVANCEDGROUPMGR */ + } + if (m_pGroupManager == NULL) + { + // implement in middleware + m_ulLoopCount = count; + } } // Get the content type of the media that's being played back by this Player. @@ -1494,7 +1569,7 @@ void _Player::TransitionToState(TransState toState) { - printf("TransitionToState: %s -> %s\n", TransStateString(m_eTransState), TransStateString(toState)); + //printf("TransitionToState: %s -> %s\n", TransStateString(m_eTransState), TransStateString(toState)); if (toState == TransState_Closing) { @@ -1721,3 +1796,40 @@ printf("NOT_SUPPORTED: Player::setTimeBase\n"); } +HXBOOL +_Player::getData(int& off, int& len) +{ + HXBOOL bNeedData=FALSE; + // Ask the core if we need more data + if (TRUE) //databuf.getlen < low water mark) + { + bNeedData = TRUE; + off = 0; + len = 256; //CHUNK_SIZE; + } + else + { + off = 0; + len = 256; + } + return bNeedData; +} + +void +_Player::sendData(const unsigned char* buf, int buflen) +{ + // queue up the data, send to core + +} + +// Get a request from the queue +EDataSource +_Player::getRequest() +{ + if (m_pDSRequestQueue->IsEmpty()) + { + return EDataSource_noop; + } + EDataSource req = (EDataSource) (int)m_pDSRequestQueue->RemoveHead(); + return req; +} Index: myplay.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/myplay.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- myplay.java 3 Feb 2006 22:27:11 -0000 1.10 +++ myplay.java 15 Feb 2006 20:00:53 -0000 1.11 @@ -8,6 +8,7 @@ import java.io.*; import javax.microedition.media.*; import javax.microedition.media.control.*; +import javax.microedition.media.protocol.*; import javax.microedition.lcdui.*; import javax.swing.*; @@ -16,7 +17,8 @@ public static void main(String[] args) { if (args.length < 1) { System.out.println("Using default url.."); - new MyPlayer().playUrl("c:\\src\\music\\alice.rm"); + new MyPlayer().playDataSource("c:\\src\\music\\alice.rm"); + //new MyPlayer().playUrl("c:\\src\\music\\alice.rm"); //new MyPlayer().playUrl("rtsp://clientqa.dev.prognet.com/alice.rm"); //new MyPlayer().playUrl("c:\\src\\music\\buena1.rm"); //new MyPlayer().playUrl("c:\\src\\music\\laika.mp3"); @@ -55,6 +57,51 @@ class MyPlayer extends java.awt.Container implements javax.microedition.media.PlayerListener { + java.awt.Component comp=null; + JWindow win = null; + + public void playDataSource(String url) { + + try { + DataSource ds = (DataSource) new MyDataSource(url); + Player player = Manager.createPlayer(ds); + + player.start(); + + System.out.println("Playing for 4s..."); + Thread.currentThread().sleep(4000); + + player.close(); + + } catch (MediaException pe) { + } catch (IOException ioe) { + } catch (InterruptedException ie) { + } + } + public void playInputStream(String url, String mimeType) { + + try { + if (url == "") { + url = "c:\\src\\music\\audio.wav"; + mimeType = "audio/X-wav"; + } + + InputStream is = getClass().getResourceAsStream(url); + Player player = Manager.createPlayer(is, mimeType); + + player.start(); + + System.out.println("Playing for 4s..."); + Thread.currentThread().sleep(4000); + + player.close(); + + } catch (MediaException pe) { + } catch (IOException ioe) { + } catch (InterruptedException ie) { + } + } + public void playUrl(String url) { Player p=null; @@ -63,7 +110,7 @@ Control[] controls=null; VideoControl video=null; VolumeControl volume=null; - GUIControl gc; + GUIControl gc=null; FramePositioningControl fc=null; MetaDataControl mc=null; RateControl rc=null; @@ -75,8 +122,6 @@ boolean fullscreen = false; int t; long l; - java.awt.Component comp=null; - JWindow win = null; try { p = Manager.createPlayer(url); @@ -104,7 +149,7 @@ //Player p2 = Manager.createPlayer(url); //p2.start(); - //p.addPlayerListener(this); + p.addPlayerListener(this); printUsage(); System.out.print(">>> "); @@ -156,6 +201,11 @@ } break; } + else if (line.compareTo("reset") == 0) { + p.close(); + p = null; + System.out.println("Player is null. Call createPlayer to make a new one."); + } else if (line.compareTo("state") == 0 || line.compareTo("getState") == 0) { System.out.println("Calling getState ..."); @@ -171,6 +221,10 @@ t = getInt(in); System.out.println("Current media time: "+ p.setMediaTime(t*1000)); } + else if (line.compareTo("setLoopCount") == 0) { + System.out.print("Enter number of times to loop (-1 for infinite): "); + p.setLoopCount(getInt(in)); + } else if (line.compareTo("getDuration") == 0 || line.compareTo("len") == 0) { System.out.println("Duration: " + p.getDuration()/1000 + "ms"); @@ -180,6 +234,30 @@ System.out.println("Controls: " + controls); for (int i=0; i #include "javax_microedition_media_DataSourceCallback.h" #include "player.h" JNIEXPORT void JNICALL Java_javax_microedition_media_DataSourceCallback_pollDataSourceCallback (JNIEnv *pEnv, jobject obj, jlong cPtr) { jclass cls = pEnv->GetObjectClass(obj); if (cls == 0) { return; } jmethodID mid=0; // Get the C++ Player object, check if we need more data _Player* pPlayer = *(_Player **)(void *)&cPtr; if (pPlayer) { int req = pPlayer->getRequest(); switch (req) { case EDataSource_connect : mid = pEnv->GetMethodID(cls, "connect", "()V"); break; case EDataSource_disconnect : mid = pEnv->GetMethodID(cls, "disconnect", "()V"); break; case EDataSource_start : mid = pEnv->GetMethodID(cls, "start", "()V"); break; case EDataSource_stop : mid = pEnv->GetMethodID(cls, "stop", "()V"); break; case EDataSource_read : mid = pEnv->GetMethodID(cls, "read", "(II)Ljava/lang/Object;"); break; } if (mid == 0) { return; } int off=0; int len=0; jbyteArray byteArray; const unsigned char* buf; int buflen; if (req == EDataSource_read && pPlayer->getData(off, len) && len > 0) { // Call the java method, read byteArray = (jbyteArray)pEnv->CallObjectMethod(obj, mid, off, len); // Process the returned data buf = (const unsigned char *) pEnv->GetByteArrayElements(byteArray, NULL); buflen = pEnv->GetArrayLength(byteArray); // Send data to the player pPlayer->sendData(buf, buflen); pEnv->ReleaseByteArrayElements(byteArray, (jbyte*)buf, JNI_ABORT); } else { pEnv->CallObjectMethod(obj, mid, off, len); } } } Index: manager_wrap.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/manager_wrap.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- manager_wrap.cpp 8 Feb 2006 00:33:27 -0000 1.9 +++ manager_wrap.cpp 15 Feb 2006 20:00:53 -0000 1.10 @@ -658,8 +658,20 @@ (void)jcls; arg1 = *(_Player **)(void *)&jarg1; arg2 = (int)jarg2; - (arg1)->setLoopCount(arg2); - + { + try { + (arg1)->setLoopCount(arg2); + + } catch (_IllegalArgumentException &ae) { + jclass clazz = jenv->FindClass("java/lang/IllegalArgumentException"); + if (clazz) jenv->ThrowNew(clazz, ae.getMessage()); + return ; + } catch (_IllegalStateException& ise) { + jclass clazz = jenv->FindClass("java/lang/IllegalStateException"); + if (clazz) jenv->ThrowNew(clazz, ise.getMessage()); + return ; + } + } } From cdunn at helixcommunity.org Thu Feb 16 13:05:39 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Thu Feb 16 15:17:35 2006 Subject: [Player-cvs] jsr135kit PlayerCallback.cpp, 1.2, NONE Umakefil, 1.3, NONE enginedriver.cpp, 1.3, NONE fivemmap.cpp, 1.1.1.1, NONE hxjabd.cpp, 1.1.1.1, NONE hxjadvsnk.cpp, 1.4, NONE hxjaumgr.cpp, 1.1.1.1, NONE hxjcontext.cpp, 1.3, NONE hxjerror.cpp, 1.1.1.1, NONE hxjprdnld.cpp, 1.1.1.1, NONE hxjsitsup.cpp, 1.1.1.1, NONE manager.cpp, 1.3, NONE manager_wrap.cpp, 1.4, NONE mmapi.i, 1.1.1.1, NONE myplay.java, 1.4, NONE player.cpp, 1.3, NONE win32.pcf, 1.1.1.1, NONE Message-ID: Update of /cvsroot/player/jsr135kit In directory cvs:/tmp/cvs-serv17325 Removed Files: PlayerCallback.cpp Umakefil enginedriver.cpp fivemmap.cpp hxjabd.cpp hxjadvsnk.cpp hxjaumgr.cpp hxjcontext.cpp hxjerror.cpp hxjprdnld.cpp hxjsitsup.cpp manager.cpp manager_wrap.cpp mmapi.i myplay.java player.cpp win32.pcf Log Message: --- mmapi.i DELETED --- --- fivemmap.cpp DELETED --- --- manager_wrap.cpp DELETED --- --- hxjabd.cpp DELETED --- --- PlayerCallback.cpp DELETED --- --- hxjcontext.cpp DELETED --- --- hxjprdnld.cpp DELETED --- --- win32.pcf DELETED --- --- hxjadvsnk.cpp DELETED --- --- hxjsitsup.cpp DELETED --- --- hxjaumgr.cpp DELETED --- --- player.cpp DELETED --- --- myplay.java DELETED --- --- manager.cpp DELETED --- --- Umakefil DELETED --- --- enginedriver.cpp DELETED --- --- hxjerror.cpp DELETED --- From cdunn at helixcommunity.org Thu Feb 16 13:05:40 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Thu Feb 16 15:17:35 2006 Subject: [Player-cvs] jsr135kit/javax/microedition/media Control.java, 1.1, NONE Controllable.java, 1.1, NONE Manager.java, 1.2, NONE MediaException.java, 1.1, NONE Player.java, 1.1, NONE PlayerCallback.java, 1.2, NONE PlayerEvent.java, 1.1, NONE PlayerImp.java, 1.2, NONE PlayerListener.java, 1.1, NONE TimeBase.java, 1.1, NONE mmapi.java, 1.1, NONE mmapiJNI.java, 1.4, NONE Message-ID: Update of /cvsroot/player/jsr135kit/javax/microedition/media In directory cvs:/tmp/cvs-serv17325/javax/microedition/media Removed Files: Control.java Controllable.java Manager.java MediaException.java Player.java PlayerCallback.java PlayerEvent.java PlayerImp.java PlayerListener.java TimeBase.java mmapi.java mmapiJNI.java Log Message: --- MediaException.java DELETED --- --- mmapi.java DELETED --- --- Player.java DELETED --- --- mmapiJNI.java DELETED --- --- PlayerListener.java DELETED --- --- TimeBase.java DELETED --- --- Controllable.java DELETED --- --- PlayerImp.java DELETED --- --- Manager.java DELETED --- --- PlayerEvent.java DELETED --- --- PlayerCallback.java DELETED --- --- Control.java DELETED --- From cdunn at helixcommunity.org Thu Feb 16 13:05:40 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Thu Feb 16 15:17:35 2006 Subject: [Player-cvs] jsr135kit/javax/microedition/media/control GUIControl.java, 1.1, NONE MetaDataControl.java, 1.1, NONE Message-ID: Update of /cvsroot/player/jsr135kit/javax/microedition/media/control In directory cvs:/tmp/cvs-serv17325/javax/microedition/media/control Removed Files: GUIControl.java MetaDataControl.java Log Message: --- MetaDataControl.java DELETED --- --- GUIControl.java DELETED --- From cdunn at helixcommunity.org Thu Feb 16 13:05:40 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Thu Feb 16 15:17:36 2006 Subject: [Player-cvs] jsr135kit/javax/microedition/media/protocol ContentDescriptor.java, 1.1, NONE DataSource.java, 1.1, NONE SourceStream.java, 1.1, NONE Message-ID: Update of /cvsroot/player/jsr135kit/javax/microedition/media/protocol In directory cvs:/tmp/cvs-serv17325/javax/microedition/media/protocol Removed Files: ContentDescriptor.java DataSource.java SourceStream.java Log Message: --- ContentDescriptor.java DELETED --- --- SourceStream.java DELETED --- --- DataSource.java DELETED --- From cdunn at helixcommunity.org Thu Feb 16 13:05:41 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Thu Feb 16 15:17:36 2006 Subject: [Player-cvs] jsr135kit/pub enginedriver.h, 1.3, NONE fivemmap.h, 1.1.1.1, NONE globals.h, 1.2, NONE hxjabd.h, 1.1.1.1, NONE hxjadvsnk.h, 1.2, NONE hxjaumgr.h, 1.1.1.1, NONE hxjcontext.h, 1.3, NONE hxjerror.h, 1.1.1.1, NONE hxjprdnld.h, 1.1.1.1, NONE hxjsitsup.h, 1.1.1.1, NONE javax_microedition_media_PlayerCallback.h, 1.1.1.1, NONE manager.h, 1.3, NONE player.h, 1.4, NONE Message-ID: Update of /cvsroot/player/jsr135kit/pub In directory cvs:/tmp/cvs-serv17325/pub Removed Files: enginedriver.h fivemmap.h globals.h hxjabd.h hxjadvsnk.h hxjaumgr.h hxjcontext.h hxjerror.h hxjprdnld.h hxjsitsup.h javax_microedition_media_PlayerCallback.h manager.h player.h Log Message: --- hxjerror.h DELETED --- --- player.h DELETED --- --- hxjaumgr.h DELETED --- --- hxjsitsup.h DELETED --- --- fivemmap.h DELETED --- --- hxjprdnld.h DELETED --- --- javax_microedition_media_PlayerCallback.h DELETED --- --- hxjabd.h DELETED --- --- hxjcontext.h DELETED --- --- manager.h DELETED --- --- globals.h DELETED --- --- hxjadvsnk.h DELETED --- --- enginedriver.h DELETED --- From idefix at helixcommunity.org Mon Feb 20 18:16:41 2006 From: idefix at helixcommunity.org (idefix@helixcommunity.org) Date: Mon Feb 20 20:27:33 2006 Subject: [Player-cvs] app/gtk README.realplay.in,1.1.2.8.4.1,1.1.2.8.4.2 Message-ID: Update of /cvsroot/player/app/gtk In directory cvs:/tmp/cvs-serv29491 Modified Files: Tag: hxclient_1_4_4_neptunex README.realplay.in Log Message: Modified by: Chris.wang@sun.com Reviewed by: Date: <02:16:06> Project: Synopsis: Some bug fix and known issue should be added to Readme file Overview: There are three bug fixes * Core dump when given illegal options after "-e" or "-c" has been fixed. * One known Xerror on Sparc has been fixed. * The output of -h option has been changed from 'hxplayer' to 'realplay' Also, there are there new known issue found * Garble messages displayed when executing realplay ?-help in gnome-terminal with zh_CN/zh_TW/ja locale. To solve this problem, use UTF-8 locale instead in gnome-terminal. * Licence is only available in English currently. * Realplayer for Solaris has been given the I18N waiver for Swedish. These changes should reflect in the Readme file in the new release Realplayer package for Solaris. Files Added: [File 1] - None Files Modified: player/app/gtk/README.realplay Image Size and Heap Use impact (Client -Only): Platforms and Profiles Affected: Tested on X86 with helix-client-all-defines profile Distribution Libraries Affected: Distribution library impact and planned action: Platforms and Profiles Build Verified: Platforms and Profiles Functionality verified: Platform - x86. bash-3.00$ uname -a SunOS game 5.10 Generic_118844-28 i86pc i386 i86pc Profile:helix-client-all-defines Platforms and Profiles Functionality verified: Same as above Branch: hxclient_1_4_4_neptunex Copyright assignment: 1. In consideration for RealNetworks' hosting and maintenance of my modification, I agree to assign to RealNetworks full copyright ownership of the code included in the attached patch, and agree that RealNetworks has no duty of accounting to me for it. I warrant that this code is entirely original to and owned by me, that I can legally grant the copyright assignment, and that my contribution does not violate any other person's rights, and laws or breach any contract. I understand that RealNetworks may license this code under RPSL, RCSL, and/or any other license at RealNetworks' discretion, and use the code in any way. 2. I have signed and delivered a Joint Copyright Assignment to RealNetworks, and received acknowledgment that the agreement was received. 3. My company (company name here) submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement. 4. I am a RealNetworks employee or contractor QA Instructions: Index: README.realplay.in =================================================================== RCS file: /cvsroot/player/app/gtk/README.realplay.in,v retrieving revision 1.1.2.8.4.1 retrieving revision 1.1.2.8.4.2 diff -u -d -r1.1.2.8.4.1 -r1.1.2.8.4.2 --- README.realplay.in 23 Jan 2006 04:19:49 -0000 1.1.2.8.4.1 +++ README.realplay.in 21 Feb 2006 02:16:39 -0000 1.1.2.8.4.2 @@ -3,7 +3,7 @@ Release Notes - February 2005 + February 2006 System Requirements @@ -55,6 +55,11 @@ been moved so that WAV and PCM files now work. * Chained Ogg support has been added. * Some memory leaks have been fixed. + * Core dump when given illegal options after "-e" + or "-c" has been fixed. + * One known Xerror on Sparc has been fixed. + * The output of -h option has been changed from + 'hxplayer' to 'realplay' Known Issues @@ -107,6 +112,30 @@ Setting it to a single number will result in a player crash. + * Multiple instances of Real Player + result in a hang of second instance + when you start up Realplayer from menu + or from command line. + You can use "-n" option to start up + multiple Players. + * If you click "General", "FAQ", etc. under + help menu you probably get error "Couldn't + display...", and then the file browser is + launched. + To solve this problem you can specify the + location of web browser in Realplayer + preference->General, Realplayer will launch + web browser instead of file browser and go + to the specified document on internet if you + already set the proxy. + * Garble messages displayed when executing + realplay ?-help in gnome-terminal with + zh_CN/zh_TW/ja locale. + To solve this problem, use UTF-8 locale + instead in gnome-terminal. + * Licence is only available in English currently. + * Realplayer for Solaris has been given the L10N waiver + for Swedish. Technical Support @@ -117,7 +146,7 @@ To reach the development team please send email to - users@player.helixcommunity.org. + sun-realplayer@Sun.COM. You can check the player help page in the Helix Player project: From jerrytansun at helixcommunity.org Wed Feb 22 18:34:37 2006 From: jerrytansun at helixcommunity.org (jerrytansun@helixcommunity.org) Date: Wed Feb 22 20:44:59 2006 Subject: [Player-cvs] installer/srv4 Umakefil,1.1.2.6,1.1.2.6.2.1 Message-ID: Update of /cvsroot/player/installer/srv4 In directory cvs:/tmp/cvs-serv11915 Modified Files: Tag: hxclient_1_4_4_neptunex Umakefil Log Message: bug = 4811 patch by jerry.tan reviewed by Eric Hyche fix some postinstall script error in solaris srv4 package on helixcommunity.org Index: Umakefil =================================================================== RCS file: /cvsroot/player/installer/srv4/Umakefil,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.6.2.1 diff -u -d -r1.1.2.6 -r1.1.2.6.2.1 --- Umakefil 2 Apr 2005 01:38:02 -0000 1.1.2.6 +++ Umakefil 23 Feb 2006 02:34:35 -0000 1.1.2.6.2.1 @@ -124,10 +124,6 @@ "\tcp -R ../archive/temp/* %s\n" % work_dir, # don't use the Bin dir, which only contains the installer's setup program "\trm -rf %s/%s\n" % (work_dir, "Bin"), - # create bin dir, move player program/script into it - "\ttest -d %s/bin || mkdir %s/bin\n" % (work_dir, work_dir), - "\tmv %s/%s %s/bin\n" % (work_dir, var_map["__SHORT_NAME"], work_dir), - "\tmv %s/%s.bin %s/bin\n" % (work_dir, var_map["__SHORT_NAME"], work_dir), # make the package "package: stage\n", From jerrytansun at helixcommunity.org Wed Feb 22 18:34:38 2006 From: jerrytansun at helixcommunity.org (jerrytansun@helixcommunity.org) Date: Wed Feb 22 20:44:59 2006 Subject: [Player-cvs] installer/srv4/devel prototype.in, 1.1.2.1, 1.1.2.1.2.1 postinstall.in, 1.1.2.1, 1.1.2.1.2.1 Message-ID: Update of /cvsroot/player/installer/srv4/devel In directory cvs:/tmp/cvs-serv11915/devel Modified Files: Tag: hxclient_1_4_4_neptunex prototype.in postinstall.in Log Message: bug = 4811 patch by jerry.tan reviewed by Eric Hyche fix some postinstall script error in solaris srv4 package on helixcommunity.org Index: prototype.in =================================================================== RCS file: /cvsroot/player/installer/srv4/devel/Attic/prototype.in,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.1.2.1 diff -u -d -r1.1.2.1 -r1.1.2.1.2.1 --- prototype.in 2 Apr 2005 00:42:13 -0000 1.1.2.1 +++ prototype.in 23 Feb 2006 02:34:35 -0000 1.1.2.1.2.1 @@ -21,10 +21,8 @@ d none local/__LONG_NAME 0755 root bin f none local/__LONG_NAME/README f none local/__LONG_NAME/LICENSE - -d none local/__LONG_NAME/bin 0755 root bin -f none local/__LONG_NAME/bin/__SHORT_NAME.bin 0555 root bin -f none local/__LONG_NAME/bin/__SHORT_NAME 0555 root bin +f none local/__LONG_NAME/__SHORT_NAME.bin 0555 root bin +f none local/__LONG_NAME/__SHORT_NAME 0555 root bin d none local/__LONG_NAME/common 0755 root bin f none local/__LONG_NAME/common/clntcore.so Index: postinstall.in =================================================================== RCS file: /cvsroot/player/installer/srv4/devel/Attic/postinstall.in,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.1.2.1 diff -u -d -r1.1.2.1 -r1.1.2.1.2.1 --- postinstall.in 2 Apr 2005 00:42:13 -0000 1.1.2.1 +++ postinstall.in 23 Feb 2006 02:34:35 -0000 1.1.2.1.2.1 @@ -137,11 +137,13 @@ for LANGUAGE in `ls $INSTDIR/share/locale` ; do if [ -f $INSTDIR/share/locale/$LANGUAGE/player.mo ] ; then rm -f "$LOCALEPATH/$LANGUAGE/LC_MESSAGES/$TARGET.mo" - install -m 644 "$INSTDIR/share/locale/$LANGUAGE/player.mo" "$LOCALEPATH/$LANGUAGE/LC_MESSAGES/$TARGET.mo" + cp "$INSTDIR/share/locale/$LANGUAGE/player.mo" "$LOCALEPATH/$LANGUAGE/LC_MESSAGES/$TARGET.mo" + chmod 644 $LOCALEPATH/$LANGUAGE/LC_MESSAGES/$TARGET.mo fi if [ -f $INSTDIR/share/locale/$LANGUAGE/widget.mo ] ; then rm -f "$LOCALEPATH/$LANGUAGE/LC_MESSAGES/libgtkhx.mo" - install -m 644 "$INSTDIR/share/locale/$LANGUAGE/widget.mo" "$LOCALEPATH/$LANGUAGE/LC_MESSAGES/libgtkhx.mo" + cp "$INSTDIR/share/locale/$LANGUAGE/widget.mo" "$LOCALEPATH/$LANGUAGE/LC_MESSAGES/libgtkhx.mo" + chmod 644 $LOCALEPATH/$LANGUAGE/LC_MESSAGES/libgtkhx.mo fi done fi @@ -176,8 +178,8 @@ ( cd $INSTDIR ; EXPR="s%#[ \t]*HELIX_LIBS[ \t]*=.*$%HELIX_LIBS=`pwd` ; export HELIX_LIBS%" - cp bin/$TARGET bin/$TARGET.bak - sed -e "$EXPR" bin/$TARGET.bak > bin/$TARGET + cp $TARGET $TARGET.bak + sed -e "$EXPR" $TARGET.bak > $TARGET ) # check the display. From cdunn at helixcommunity.org Wed Feb 22 19:14:08 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 22 21:24:30 2006 Subject: [Player-cvs] kit/jsr135 hxsimpleringbuf.cpp, NONE, 1.1 DataSourceCallback.cpp, 1.1, 1.2 Umakefil, 1.7, 1.8 manager.cpp, 1.6, 1.7 manager_wrap.cpp, 1.10, 1.11 mmapi.i, 1.8, 1.9 myplay.java, 1.11, 1.12 player.cpp, 1.10, 1.11 Message-ID: Update of /cvsroot/player/kit/jsr135 In directory cvs:/tmp/cvs-serv32268 Modified Files: DataSourceCallback.cpp Umakefil manager.cpp manager_wrap.cpp mmapi.i myplay.java player.cpp Added Files: hxsimpleringbuf.cpp Log Message: Update.. Index: mmapi.i =================================================================== RCS file: /cvsroot/player/kit/jsr135/mmapi.i,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- mmapi.i 15 Feb 2006 20:00:53 -0000 1.8 +++ mmapi.i 23 Feb 2006 03:14:05 -0000 1.9 @@ -20,6 +20,21 @@ %include "various.i" %apply char **STRING_ARRAY { char ** }; +%typemap(jni) unsigned char* BYTE "jbyteArray" +%typemap(jtype) unsigned char* BYTE "byte[]" +%typemap(jstype) unsigned char* BYTE "byte[]" +%typemap(in) unsigned char* BYTE { + $1 = (unsigned char* ) JCALL2(GetByteArrayElements, jenv, $input, 0); +} +%typemap(argout) unsigned char* BYTE { + JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *) $1, 0); +} +%typemap(javain) unsigned char* BYTE "$javainput" +%typemap(freearg) unsigned char* BYTE "" + +%apply unsigned char* BYTE { unsigned char* }; + + %javaexception("javax.microedition.media.MediaException") createPlayer { try { $action Index: manager_wrap.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/manager_wrap.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- manager_wrap.cpp 15 Feb 2006 20:00:53 -0000 1.10 +++ manager_wrap.cpp 23 Feb 2006 03:14:05 -0000 1.11 @@ -812,6 +812,57 @@ } +JNIEXPORT jboolean JNICALL Java_javax_microedition_media_mmapiJNI__1Player_1IsRingBufferFull(JNIEnv *jenv, jclass jcls, jlong jarg1) { + jboolean jresult = 0 ; + _Player *arg1 = (_Player *) 0 ; + bool result; + + (void)jenv; + (void)jcls; + arg1 = *(_Player **)(void *)&jarg1; + result = (bool)(arg1)->IsRingBufferFull(); + + jresult = (jboolean)result; + return jresult; +} + + +JNIEXPORT void JNICALL Java_javax_microedition_media_mmapiJNI__1Player_1storeData(JNIEnv *jenv, jclass jcls, jlong jarg1, jbyteArray jarg2, jint jarg3) { + _Player *arg1 = (_Player *) 0 ; + unsigned char *arg2 = (unsigned char *) 0 ; + int arg3 ; + + (void)jenv; + (void)jcls; + arg1 = *(_Player **)(void *)&jarg1; + { + arg2 = (unsigned char* ) jenv->GetByteArrayElements(jarg2, 0); + } + arg3 = (int)jarg3; + (arg1)->storeData(arg2,arg3); + + { + jenv->ReleaseByteArrayElements(jarg2, (jbyte *) arg2, 0); + } + +} + + +JNIEXPORT jlong JNICALL Java_javax_microedition_media_mmapiJNI__1Player_1getRequest(JNIEnv *jenv, jclass jcls, jlong jarg1) { + jlong jresult = 0 ; + _Player *arg1 = (_Player *) 0 ; + EDataSource result; + + (void)jenv; + (void)jcls; + arg1 = *(_Player **)(void *)&jarg1; + result = (arg1)->getRequest(); + + *(EDataSource **)(void *)&jresult = new EDataSource((EDataSource &)result); + return jresult; +} + + JNIEXPORT jobjectArray JNICALL Java_javax_microedition_media_mmapiJNI__1Player_1getControls(JNIEnv *jenv, jclass jcls, jlong jarg1) { jobjectArray jresult = 0 ; _Player *arg1 = (_Player *) 0 ; @@ -1186,8 +1237,8 @@ } -JNIEXPORT jlong JNICALL Java_javax_microedition_media_mmapiJNI__1VideoControl_1getSnapshot(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) { - jlong jresult = 0 ; +JNIEXPORT jbyteArray JNICALL Java_javax_microedition_media_mmapiJNI__1VideoControl_1getSnapshot(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) { + jbyteArray jresult = 0 ; _VideoControl *arg1 = (_VideoControl *) 0 ; char *arg2 = (char *) 0 ; unsigned char *result; @@ -1478,16 +1529,22 @@ } -JNIEXPORT void JNICALL Java_javax_microedition_media_mmapiJNI__1ToneControl_1setSequence(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { +JNIEXPORT void JNICALL Java_javax_microedition_media_mmapiJNI__1ToneControl_1setSequence(JNIEnv *jenv, jclass jcls, jlong jarg1, jbyteArray jarg2) { _ToneControl *arg1 = (_ToneControl *) 0 ; unsigned char *arg2 = (unsigned char *) 0 ; (void)jenv; (void)jcls; arg1 = *(_ToneControl **)(void *)&jarg1; - arg2 = *(unsigned char **)(void *)&jarg2; + { + arg2 = (unsigned char* ) jenv->GetByteArrayElements(jarg2, 0); + } (arg1)->setSequence(arg2); + { + jenv->ReleaseByteArrayElements(jarg2, (jbyte *) arg2, 0); + } + } --- NEW FILE: hxsimpleringbuf.cpp --- #include "hlxclib/stdio.h" #include "hxresult.h" #include "hxsimpleringbuf.h" HXSimpleRingBuffer::HXSimpleRingBuffer(UINT32 uBufSize, UINT32 uReservedBytes) : m_uBufSize(uBufSize) , m_uReservedBytes(uReservedBytes) , m_uNextGet(0) , m_uNextPut(0) , m_uReserveGet(0) , m_bEmpty(TRUE) { m_pRingBuffer = (BYTE*) malloc(uBufSize * sizeof(BYTE)); } HXSimpleRingBuffer::~HXSimpleRingBuffer() { HX_DELETE(m_pRingBuffer); } HXBOOL HXSimpleRingBuffer::Put(const BYTE* buf, UINT32 uLen, HXBOOL bWithReserved/*=FALSE*/) { if (IsFull() || uLen > AvailablePutBytes(bWithReserved)) { return FALSE; } if ((uLen + m_uNextPut) <= m_uBufSize) { // no ring memcpy((m_pRingBuffer + m_uNextPut), buf, uLen); } else { // ring it UINT32 uFirstChunkLen = (uLen - (m_uBufSize - m_uNextPut)); memcpy((m_pRingBuffer + m_uNextPut), buf, uFirstChunkLen); memcpy(m_pRingBuffer, (buf + uFirstChunkLen), (uLen - uFirstChunkLen)); } m_uNextPut = (m_uNextPut + uLen) % m_uBufSize; m_bEmpty = FALSE; return TRUE; } HXBOOL HXSimpleRingBuffer::Get(BYTE* buf, UINT32& uLen, HXBOOL bWithReserved/*=FALSE*/) { HXBOOL status = TRUE; UINT32 uAvailableGetBytes = AvailableGetBytes(bWithReserved); if (uAvailableGetBytes < uLen) { uLen = uAvailableGetBytes; status = FALSE; } UINT32 uCopyFrom = (bWithReserved) ? m_uReserveGet : m_uNextGet; if ((uCopyFrom + uLen) <= m_uBufSize ) { // no ring memcpy(buf, (m_pRingBuffer + uCopyFrom), uLen); m_uNextGet += uLen; } else { // ring UINT32 uFirstChunkLen = (m_uBufSize - uCopyFrom); memcpy(buf, (m_pRingBuffer + uCopyFrom), uFirstChunkLen); memcpy((buf + uFirstChunkLen), m_pRingBuffer, uLen - uFirstChunkLen); m_uNextGet = uLen - uFirstChunkLen; } m_bEmpty = (uLen == uAvailableGetBytes); // Set the reserve position UINT32 uValidLen; uValidLen = MIN(m_uReservedBytes, (((m_uNextGet - m_uReserveGet) + m_uBufSize) % m_uBufSize)); m_uReserveGet = (((m_uNextGet - uValidLen) + m_uBufSize) % m_uBufSize); return status; } UINT32 HXSimpleRingBuffer::AvailablePutBytes(HXBOOL bWithReserved/*=FALSE*/) { if (m_bEmpty) { return m_uBufSize; } UINT32 uEnd = (bWithReserved) ? m_uNextGet : m_uReserveGet; return ((uEnd - m_uNextPut) + m_uBufSize) % m_uBufSize; } UINT32 HXSimpleRingBuffer::AvailableGetBytes(HXBOOL bWithReserved/*=FALSE*/) { if (m_bEmpty) { return 0; } UINT32 uStart = (bWithReserved) ? m_uReserveGet : m_uNextGet; if (m_uNextPut == uStart) return m_uBufSize; // full return ((m_uNextPut - uStart) + m_uBufSize) % m_uBufSize; } HXBOOL HXSimpleRingBuffer::IsFull(HXBOOL bWithReserved/*=FALSE*/) { return (AvailablePutBytes(bWithReserved) == 0); } Index: player.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/player.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- player.cpp 15 Feb 2006 20:00:53 -0000 1.10 +++ player.cpp 23 Feb 2006 03:14:05 -0000 1.11 @@ -51,6 +51,7 @@ #include "hxstring.h" #include "hlxclib/string.h" #include "hxstrutl.h" +//#include "datasource.h" #include "hxcom.h" #include "hxcomm.h" @@ -97,7 +98,8 @@ m_pGUIControl(NULL), m_pTimeBase(NULL), m_pGroupManager(NULL), - m_pDSRequestQueue(NULL), + //m_pDataSource(NULL), + m_bUsingProxy(FALSE), m_ulLoopCount(1) { printf("_Player:_Player(%s)\n", locator); @@ -109,11 +111,18 @@ //XXXctd Throw exception? } - m_pDSRequestQueue = new CHXSimpleList; - m_pDSRequestQueue->AddTail((void*) (int)EDataSource_connect); - m_pDSRequestQueue->AddTail((void*) (int)EDataSource_start); - m_pDSRequestQueue->AddTail((void*) (int)EDataSource_read); - m_pDSRequestQueue->AddTail((void*) (int)EDataSource_read); + if ( m_url.Find("proxy://") == 0) + { + m_url = (const char*)(locator+strlen("proxy://")); + m_bUsingProxy = TRUE; + //m_pDataSource = new _DataSource((char*)(const char*)m_url); + } + else if ( m_url.Find("mimeType:") == 0) + { + m_bUsingProxy = TRUE; + // TODO handle input stream + } + m_pRealizeCallback = new RealizeCallback(this); m_pRealizeCallback->AddRef(); @@ -172,8 +181,6 @@ HX_DELETE(m_pCreatePlayerEvent); - HX_DELETE(m_pDSRequestQueue); - for (int i=0; iWait(); } @@ -451,7 +463,7 @@ { m_eTransState = TransState_Idle; } - //printf("Unblocking: %s\n", TransStateString(eState)); + printf("Unblocking: %s\n", TransStateString(eState)); m_pEvents[eState]->SignalEvent(); m_pEvents[eState]->ResetEvent(); } @@ -762,7 +774,6 @@ } TransitionToState(TransState_Deallocating); // wait for READY - printf("XXXXXXXXXXXXXXReturned from DEALLOCATING\n"); } void @@ -818,7 +829,6 @@ } TransitionToState(TransState_Closing); - printf("XXXXXXXXXXXXXXReturned from CLOSING\n"); } void @@ -1796,40 +1806,25 @@ printf("NOT_SUPPORTED: Player::setTimeBase\n"); } -HXBOOL -_Player::getData(int& off, int& len) +////////////////////////////////////// +// DataSource helper methods TODO: move to _DataSource +void +_Player::storeData(unsigned char* buf, int buflen) { - HXBOOL bNeedData=FALSE; - // Ask the core if we need more data - if (TRUE) //databuf.getlen < low water mark) - { - bNeedData = TRUE; - off = 0; - len = 256; //CHUNK_SIZE; - } - else - { - off = 0; - len = 256; - } - return bNeedData; +// m_pDataSource->storeData(buf, buflen); } -void -_Player::sendData(const unsigned char* buf, int buflen) +bool +_Player::IsRingBufferFull() { - // queue up the data, send to core - + return false; + //return m_pDataSource->IsRingBufferFull(); } // Get a request from the queue EDataSource _Player::getRequest() { - if (m_pDSRequestQueue->IsEmpty()) - { return EDataSource_noop; - } - EDataSource req = (EDataSource) (int)m_pDSRequestQueue->RemoveHead(); - return req; + //return m_pDataSource->getRequest(); } Index: myplay.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/myplay.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- myplay.java 15 Feb 2006 20:00:53 -0000 1.11 +++ myplay.java 23 Feb 2006 03:14:05 -0000 1.12 @@ -9,7 +9,7 @@ import javax.microedition.media.*; import javax.microedition.media.control.*; import javax.microedition.media.protocol.*; -import javax.microedition.lcdui.*; +//import javax.microedition.lcdui.*; import javax.swing.*; class play { @@ -17,8 +17,7 @@ public static void main(String[] args) { if (args.length < 1) { System.out.println("Using default url.."); - new MyPlayer().playDataSource("c:\\src\\music\\alice.rm"); - //new MyPlayer().playUrl("c:\\src\\music\\alice.rm"); + new MyPlayer().playUrl("c:\\src\\music\\alice.rm"); //new MyPlayer().playUrl("rtsp://clientqa.dev.prognet.com/alice.rm"); //new MyPlayer().playUrl("c:\\src\\music\\buena1.rm"); //new MyPlayer().playUrl("c:\\src\\music\\laika.mp3"); @@ -42,7 +41,23 @@ if (args.length > 1) { new MyPlayer().playUrlVideo(args[1]); } else { - new MyPlayer().playUrlVideo("c:\\src\\music\\buena1.rm"); + new MyPlayer().playUrlVideo("c:\\src\\music\\alice.rm"); + } + return; + } + else if (args.length > 0 && args[0].compareTo("-ds") == 0) { + if (args.length > 1) { + new MyPlayer().playDataSource(args[1]); + } else { + new MyPlayer().playDataSource("c:\\src\\music\\alice.rm"); + } + return; + } + else if (args.length > 0 && args[0].compareTo("-3") == 0) { + if (args.length > 1) { + new MyMMAPIPlayer().playScenario3(args[1]); + } else { + new MyMMAPIPlayer().playScenario3("c:\\src\\music\\alice.rm"); } return; } @@ -55,6 +70,7 @@ } + class MyPlayer extends java.awt.Container implements javax.microedition.media.PlayerListener { java.awt.Component comp=null; @@ -68,8 +84,8 @@ player.start(); - System.out.println("Playing for 4s..."); - Thread.currentThread().sleep(4000); + System.out.println("Playing for 40s..."); + Thread.currentThread().sleep(40000); player.close(); @@ -78,6 +94,7 @@ } catch (InterruptedException ie) { } } + public void playInputStream(String url, String mimeType) { try { @@ -770,3 +787,52 @@ } +class Listener implements PlayerListener { + + public static final long SECS_TO_MICROSECS = 1000000L; + public void playerUpdate(Player p, String event, Object eventData) { + + if (event == END_OF_MEDIA || event == STOPPED_AT_TIME) { + System.out.println("Done processing"); + try { + p.setMediaTime(5 * SECS_TO_MICROSECS); + p.start(); + } catch (MediaException me) { } + } + } +} + +class MyMMAPIPlayer { + public static final long SECS_TO_MICROSECS = 1000000L; + + public void playScenario3(String url) { + + Player p; + VolumeControl vc; + long SECS_TO_MICROSECS = 1000000L; + + try { + p = Manager.createPlayer(url); + p.realize(); + + // Set a listener. + p.addPlayerListener(new Listener()); + // Grab volume control for the player. + // Set Volume to max. + vc = (VolumeControl)p.getControl("VolumeControl"); + if (vc != null) + vc.setLevel(100); + + // Set a start time. + p.setMediaTime(5 * SECS_TO_MICROSECS); + + // Guarantee that the player can start with the smallest latency. + p.prefetch(); + + // Non-blocking start + p.start(); + } catch (IOException ioe) { + } catch (MediaException me) { } + + } +} Index: manager.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/manager.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- manager.cpp 15 Feb 2006 20:00:53 -0000 1.6 +++ manager.cpp 23 Feb 2006 03:14:05 -0000 1.7 @@ -288,6 +288,7 @@ _Manager::InitMediaPlatform() { HX_RESULT hr=HXR_OK; + IHXCommonClassFactory* pCCF = NULL; // Open the media platform if (HXR_OK != (hr = m_fpHXMediaPlatformOpen())) @@ -308,13 +309,11 @@ } // Get the class factory - IHXCommonClassFactory* pCCF = NULL; if (HXR_OK != (hr = m_pMediaPlatform->QueryInterface(IID_IHXCommonClassFactory, (void**)&pCCF))) { goto cleanup; } - if (HXR_OK != (hr = pCCF->CreateInstance(CLSID_IHXClientEngine, (void**)&m_pClientEngine))) { HX_RELEASE(pCCF); Index: Umakefil =================================================================== RCS file: /cvsroot/player/kit/jsr135/Umakefil,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Umakefil 15 Feb 2006 20:00:53 -0000 1.7 +++ Umakefil 23 Feb 2006 03:14:05 -0000 1.8 @@ -66,6 +66,7 @@ 'enginedriver.cpp', 'PlayerCallback.cpp', 'DataSourceCallback.cpp', + 'hxsimpleringbuf.cpp', ) project.AddModuleLibraries("common/dbgtool[debuglib]", @@ -92,8 +93,9 @@ project.writeln('PACKAGEDIR="javax/microedition/media"') project.writeln("PACKAGENAME=javax.microedition.media") project.writeln("SWIGFLAGS=-java -c++") -project.writeln("mmapi.i: pub/manager.h pub/player.h") -project.writeln("manager_wrap.cpp: mmapi.i $(PACKAGEDIR)") +#project.writeln("mmapi.i: pub/manager.h pub/player.h") +#project.writeln("manager_wrap.cpp: mmapi.i") +project.writeln("swiggen: mmapi.i pub/manager.h pub/player.h") project.writeln(" $(SWIG) $(SWIGFLAGS) -outdir $(PACKAGEDIR) -package $(PACKAGENAME) -o manager_wrap.cpp mmapi.i") project.writeln("javatest: myplay.java ") Index: DataSourceCallback.cpp =================================================================== RCS file: /cvsroot/player/kit/jsr135/DataSourceCallback.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- DataSourceCallback.cpp 15 Feb 2006 20:00:53 -0000 1.1 +++ DataSourceCallback.cpp 23 Feb 2006 03:14:05 -0000 1.2 @@ -1,9 +1,9 @@ #include -#include "javax_microedition_media_DataSourceCallback.h" +#include "javax_microedition_media_DataSourceHelper.h" #include "player.h" -JNIEXPORT void JNICALL Java_javax_microedition_media_DataSourceCallback_pollDataSourceCallback +JNIEXPORT void JNICALL Java_javax_microedition_media_DataSourceHelper_pollDataSourceCallback (JNIEnv *pEnv, jobject obj, jlong cPtr) { jclass cls = pEnv->GetObjectClass(obj); @@ -15,10 +15,10 @@ // Get the C++ Player object, check if we need more data _Player* pPlayer = *(_Player **)(void *)&cPtr; + int req; - if (pPlayer) + while (pPlayer && (req = pPlayer->getRequest()) && req != EDataSource_noop) { - int req = pPlayer->getRequest(); switch (req) { case EDataSource_connect : mid = pEnv->GetMethodID(cls, "connect", "()V"); @@ -32,15 +32,16 @@ case EDataSource_stop : mid = pEnv->GetMethodID(cls, "stop", "()V"); break; - case EDataSource_read : - mid = pEnv->GetMethodID(cls, "read", "(II)Ljava/lang/Object;"); - break; +// case EDataSource_read : + // mid = pEnv->GetMethodID(cls, "read", "(II)Ljava/lang/Object;"); +// break; } if (mid == 0) { return; } + /* int off=0; int len=0; jbyteArray byteArray; @@ -62,8 +63,9 @@ pEnv->ReleaseByteArrayElements(byteArray, (jbyte*)buf, JNI_ABORT); } else + */ { - pEnv->CallObjectMethod(obj, mid, off, len); + pEnv->CallObjectMethod(obj, mid); } } From cdunn at helixcommunity.org Wed Feb 22 19:14:08 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 22 21:24:31 2006 Subject: [Player-cvs] kit/jsr135/javax/microedition/media DataSourceHelper.java, NONE, 1.1 DataSourceCallback.java, 1.1, 1.2 Manager.java, 1.4, 1.5 MyDataSource.java, 1.1, 1.2 PlayerImp.java, 1.8, 1.9 _Player.java, 1.6, 1.7 _ToneControl.java, 1.1, 1.2 _VideoControl.java, 1.4, 1.5 mmapiJNI.java, 1.8, 1.9 Message-ID: Update of /cvsroot/player/kit/jsr135/javax/microedition/media In directory cvs:/tmp/cvs-serv32268/javax/microedition/media Modified Files: DataSourceCallback.java Manager.java MyDataSource.java PlayerImp.java _Player.java _ToneControl.java _VideoControl.java mmapiJNI.java Added Files: DataSourceHelper.java Log Message: Update.. Index: _Player.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/_Player.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- _Player.java 3 Feb 2006 22:27:12 -0000 1.6 +++ _Player.java 23 Feb 2006 03:14:06 -0000 1.7 @@ -129,6 +129,18 @@ return (cPtr == 0) ? null : new _GUIControl(cPtr, false); } + public boolean IsRingBufferFull() { + return mmapiJNI._Player_IsRingBufferFull(swigCPtr); + } + + public void storeData(byte[] buf, int buflen) { + mmapiJNI._Player_storeData(swigCPtr, buf, buflen); + } + + public SWIGTYPE_p_EDataSource getRequest() { + return new SWIGTYPE_p_EDataSource(mmapiJNI._Player_getRequest(swigCPtr), true); + } + public String[] getControls() { return mmapiJNI._Player_getControls(swigCPtr); } Index: _VideoControl.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/_VideoControl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- _VideoControl.java 8 Feb 2006 00:33:27 -0000 1.4 +++ _VideoControl.java 23 Feb 2006 03:14:06 -0000 1.5 @@ -86,9 +86,8 @@ return mmapiJNI._VideoControl_getDisplayHeight(swigCPtr); } - public SWIGTYPE_p_unsigned_char getSnapshot(String imageType) { - long cPtr = mmapiJNI._VideoControl_getSnapshot(swigCPtr, imageType); - return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + public byte[] getSnapshot(String imageType) { + return mmapiJNI._VideoControl_getSnapshot(swigCPtr, imageType); } } Index: PlayerImp.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/PlayerImp.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- PlayerImp.java 15 Feb 2006 20:00:54 -0000 1.8 +++ PlayerImp.java 23 Feb 2006 03:14:06 -0000 1.9 @@ -11,10 +11,11 @@ private _Player p; private Vector listeners=null; private PlayerCallback pc=null; - private DataSourceCallback dsc=null; + private DataSourceHelper dsc=null; private int MAX_CONTROLS=7; private Control[] cs = new Control[MAX_CONTROLS]; private TimeBase tb=null; + private String mimeType; public PlayerImp(_Player p) { this.p = p; @@ -22,13 +23,14 @@ public PlayerImp(_Player p, DataSource ds) { this.p = p; - dsc = new DataSourceCallback(p, ds); + dsc = new DataSourceHelper(p, ds); dsc.startThread(); // Start the callback polling thread } - public PlayerImp(_Player p, InputStream is) { + public PlayerImp(_Player p, InputStream is, String type) { this.p = p; - dsc = new DataSourceCallback(p, is); + mimeType = type; + dsc = new DataSourceHelper(p, is); dsc.startThread(); // Start the callback polling thread } Index: Manager.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/Manager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Manager.java 15 Feb 2006 20:00:54 -0000 1.4 +++ Manager.java 23 Feb 2006 03:14:06 -0000 1.5 @@ -60,7 +60,7 @@ String locator = source.getLocator(); if (!locator.startsWith("proxy:")) { - //locator = "proxy://" + locator; + locator = "proxy://" + locator; } System.out.println("Manager::createPlayer : locator = "+ locator); _Player p = _Manager.createPlayer(locator); @@ -75,8 +75,10 @@ initCore(); } System.out.println("Manager::createPlayer(InputStream)"); - System.out.println(" NOT IMPLEMENTED"); - return null; + System.out.println(" PARTIALLY IMPLEMENTED "); + String mimeType = "mimeType:"+type; + _Player p = _Manager.createPlayer(mimeType); + return new PlayerImp(p, stream, type); } public static void playTone(int note, int duration, int volume) Index: _ToneControl.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/_ToneControl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- _ToneControl.java 20 Jan 2006 21:01:26 -0000 1.1 +++ _ToneControl.java 23 Feb 2006 03:14:06 -0000 1.2 @@ -37,8 +37,8 @@ this(mmapiJNI.new__ToneControl(SWIGTYPE_p_IHXPlayer.getCPtr(pPlayer)), true); } - public void setSequence(SWIGTYPE_p_unsigned_char sequence) { - mmapiJNI._ToneControl_setSequence(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(sequence)); + public void setSequence(byte[] sequence) { + mmapiJNI._ToneControl_setSequence(swigCPtr, sequence); } } Index: MyDataSource.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/MyDataSource.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- MyDataSource.java 15 Feb 2006 20:00:54 -0000 1.1 +++ MyDataSource.java 23 Feb 2006 03:14:06 -0000 1.2 @@ -10,6 +10,7 @@ private SourceStream[] sslist = new SourceStream[1]; // just one stream, for now private String contentType; + private boolean bConnectedState=false; // Construct a DataSource from a locator. public MyDataSource(java.lang.String locator) { @@ -23,15 +24,42 @@ } public void connect() throws java.io.IOException, SecurityException { + bConnectedState = true; + /* + try { + } catch (java.io.IOException ioe) { + System.out.println("Could not connect to data source. " + ioe.getMessage()); + } + */ } public void disconnect() { + try { + stop(); // implicitly call stop data transfer + } catch (java.io.IOException ioe) { + } + bConnectedState = false; } public void start() throws IllegalStateException, java.io.IOException, SecurityException { + if (bConnectedState == false) { + throw new IllegalStateException("DataSource has not been connected."); + } + /* + try { + } catch (java.io.IOException ioe) { + System.out.println("Could not start data transfer of data source. " + ioe.getMessage()); + } + */ } public void stop() throws java.io.IOException { + /* + try { + } catch (java.io.IOException ioe) { + System.out.println("Could not stop data transfer of data source. " + ioe.getMessage()); + } + */ } public SourceStream[] getStreams() throws IllegalStateException { Index: DataSourceCallback.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/DataSourceCallback.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- DataSourceCallback.java 15 Feb 2006 20:00:54 -0000 1.1 +++ DataSourceCallback.java 23 Feb 2006 03:14:06 -0000 1.2 @@ -3,22 +3,25 @@ import javax.microedition.media.protocol.*; import java.io.InputStream; -public class DataSourceCallback implements Runnable { - - private native void pollDataSourceCallback(long p); +public class DataSourceHelper implements Runnable { private Thread t; private boolean done=false; private _Player p; private DataSource ds; private InputStream is=null; + private SourceStream ss0=null; - public DataSourceCallback(_Player p, DataSource ds) { + public DataSourceHelper(_Player p, DataSource ds) { this.p = p; this.ds = ds; + SourceStream ss[] = ds.getStreams(); + if (ss != null) { + ss0 = ss[0]; + } } - public DataSourceCallback(_Player p, InputStream is) { + public DataSourceHelper(_Player p, InputStream is) { this.p = p; this.is = is; } @@ -27,7 +30,7 @@ public void startThread() { done = false; t = new Thread(this); - t.setName("DataSourceCallback"); + t.setName("DataSourceHelper"); t.start(); } @@ -41,18 +44,64 @@ public void run() { - System.out.println("Starting to poll for read requests:"+Thread.currentThread()); + System.out.println("Starting to read from source/input stream:"+Thread.currentThread()); + int off = 0; // p.getOffset() ? + int len = 1024 * 2; // p.getMaxBufLen(); ? + int bytesRead; + int totalBytesRead=0; + byte[] b= new byte[len]; try { while (!done) { - Thread.currentThread().sleep(20); - pollDataSourceCallback(_Player.getCPtr(p)); // Send in _Player C++ object + if (p.getState() == Player.CLOSED) { + done = true; + } else if (p.IsRingBufferFull()) { + Thread.currentThread().sleep(20); + } else { + bytesRead = read(b, off, len); + if (bytesRead > 0) { + p.storeData(b, bytesRead); + totalBytesRead += bytesRead; + } else if (bytesRead == -1) { + // end of file + System.out.println("DataSourceHelper: Reached end of file. Total bytes read: "+totalBytesRead); + //done = true; + + } else { // progressive download when bytesRead == 0? + Thread.currentThread().sleep(20); + } + + } } } catch (java.lang.InterruptedException ie) { - System.out.println("Caught exception"); + System.out.println("Thread interrupted: " + ie.getMessage()); } } + private int read(byte[] b, int off, int len) { + + int bytesRead=0; + + if (ds != null) { + // Read from the DataSource (SourceStream) + try { + bytesRead = ss0.read(b, off, len); + } catch (java.io.IOException ioe) { + System.out.println("Could not read " + ioe.getMessage()); + } + + } else if (is != null) { + // Read from the InputStream + try { + bytesRead = is.read(b, off, len); + } catch (java.io.IOException ioe) { + System.out.println("Could not read " + ioe.getMessage()); + } + } + + return bytesRead; + } + /* private java.lang.Object read(int off, int len) { byte b[]= new byte[len]; @@ -86,6 +135,7 @@ return (Object)b; } + */ public void dispatch(String methodName) { /* @@ -98,7 +148,7 @@ } public void connect() { - System.out.println("DataSourceCallback::connect"); + System.out.println("DataSourceHelper::connect"); if (ds != null) { try { ds.connect(); @@ -109,7 +159,7 @@ } public void disconnect() { - System.out.println("DataSourceCallback::disconnect"); + System.out.println("DataSourceHelper::disconnect"); try { if (ds != null) { ds.stop(); // implicitly call stop data transfer @@ -123,7 +173,7 @@ } public void start() { - System.out.println("DataSourceCallback::start"); + System.out.println("DataSourceHelper::start"); if (ds != null) { try { ds.start(); @@ -134,7 +184,7 @@ } public void stop() { - System.out.println("DataSourceCallback::stop"); + System.out.println("DataSourceHelper::stop"); if (ds != null) { try { ds.stop(); // stop data transfer --- NEW FILE: DataSourceHelper.java --- package javax.microedition.media; import javax.microedition.media.protocol.*; import java.io.InputStream; public class DataSourceHelper implements Runnable { private native void pollDataSourceCallback(long p); private Thread t; private boolean done=false; private _Player p; private DataSource ds; private InputStream is=null; private SourceStream ss0=null; public DataSourceHelper(_Player p, DataSource ds) { this.p = p; this.ds = ds; SourceStream ss[] = ds.getStreams(); if (ss != null) { ss0 = ss[0]; } } public DataSourceHelper(_Player p, InputStream is) { this.p = p; this.is = is; } public void startThread() { done = false; t = new Thread(this); t.setName("DataSourceHelper"); t.start(); } public void stopThread() { done = true; } protected void finalize() { done = true; // stop the thread } public void run() { System.out.println("Starting to read from source/input stream:"+Thread.currentThread()); int off = 0; // p.getOffset() ? int len = 1024 * 2; // p.getMaxBufLen(); ? int bytesRead; int totalBytesRead=0; byte[] b= new byte[len]; try { while (!done) { pollDataSourceCallback(_Player.getCPtr(p)); // Send in _Player C++ object if (p.getState() == Player.CLOSED) { done = true; } else if (p.IsRingBufferFull()) { Thread.currentThread().sleep(20); } else { bytesRead = read(b, off, len); if (bytesRead > 0) { p.storeData(b, bytesRead); totalBytesRead += bytesRead; } else if (bytesRead == -1) { // end of file System.out.println("DataSourceHelper: Reached end of file. Total bytes read: "+totalBytesRead); done = true; } else { // progressive download when bytesRead == 0? Thread.currentThread().sleep(20); } } } } catch (java.lang.InterruptedException ie) { System.out.println("Thread interrupted: " + ie.getMessage()); } } private int read(byte[] b, int off, int len) { int bytesRead=0; if (ds != null) { // Read from the DataSource (SourceStream) try { bytesRead = ss0.read(b, off, len); } catch (java.io.IOException ioe) { System.out.println("Could not read " + ioe.getMessage()); } } else if (is != null) { // Read from the InputStream try { bytesRead = is.read(b, off, len); } catch (java.io.IOException ioe) { System.out.println("Could not read " + ioe.getMessage()); } } return bytesRead; } public void dispatch(String methodName) { /* if (methodName.equals("stop")) { ds.stop(); } else if (methodName.equals("start")) { ds.start(); } */ } public void connect() throws java.io.IOException { System.out.println("DataSourceHelper::connect"); if (ds != null) { ds.connect(); } } public void disconnect() throws java.io.IOException { System.out.println("DataSourceHelper::disconnect"); if (ds != null) { ds.disconnect(); // disconnect from the data source } else if (is != null) { is.close(); // close the InputStream } } public void start() throws java.io.IOException { System.out.println("DataSourceHelper::start"); if (ds != null) { ds.start(); } } public void stop() throws java.io.IOException { System.out.println("DataSourceHelper::stop"); if (ds != null) { ds.stop(); // stop data transfer } } } Index: mmapiJNI.java =================================================================== RCS file: /cvsroot/player/kit/jsr135/javax/microedition/media/mmapiJNI.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- mmapiJNI.java 8 Feb 2006 00:33:27 -0000 1.8 +++ mmapiJNI.java 23 Feb 2006 03:14:06 -0000 1.9 @@ -45,6 +45,9 @@ public final static native long _Player_getToneControl(long jarg1); public final static native long _Player_getStopTimeControl(long jarg1); public final static native long _Player_getGUIControl(long jarg1); + public final static native boolean _Player_IsRingBufferFull(long jarg1); + public final static native void _Player_storeData(long jarg1, byte[] jarg2, int jarg3); + public final static native long _Player_getRequest(long jarg1); public final static native String[] _Player_getControls(long jarg1); public final static native long _Player_getTimeBase(long jarg1); public final static native void _Player_setTimeBase(long jarg1, long jarg2); @@ -69,7 +72,7 @@ public final static native int _VideoControl_getSourceHeight(long jarg1); public final static native int _VideoControl_getDisplayWidth(long jarg1); public final static native int _VideoControl_getDisplayHeight(long jarg1); - public final static native long _VideoControl_getSnapshot(long jarg1, String jarg2); + public final static native byte[] _VideoControl_getSnapshot(long jarg1, String jarg2); public final static native long new__GUIControl(long jarg1); public final static native void delete__GUIControl(long jarg1); public final static native int get__GUIControl_USE_GUI_PRIMITIVE(); @@ -88,7 +91,7 @@ public final static native int _RateControl_getMinRate(long jarg1); public final static native long new__ToneControl(long jarg1); public final static native void delete__ToneControl(long jarg1); - public final static native void _ToneControl_setSequence(long jarg1, long jarg2); + public final static native void _ToneControl_setSequence(long jarg1, byte[] jarg2); public final static native long new__StopTimeControl(long jarg1); public final static native void delete__StopTimeControl(long jarg1); public final static native void _StopTimeControl_setStopTime(long jarg1, long jarg2); From cdunn at helixcommunity.org Wed Feb 22 19:14:09 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 22 21:24:31 2006 Subject: [Player-cvs] kit/jsr135/pub hxsimpleringbuf.h, NONE, 1.1 javax_microedition_media_DataSourceHelper.h, NONE, 1.1 player.h, 1.8, 1.9 Message-ID: Update of /cvsroot/player/kit/jsr135/pub In directory cvs:/tmp/cvs-serv32268/pub Modified Files: player.h Added Files: hxsimpleringbuf.h javax_microedition_media_DataSourceHelper.h Log Message: Update.. --- NEW FILE: hxsimpleringbuf.h --- #ifndef __HXSIMPLERINGBUF_H_ #define __HXSIMPLERINGBUF_H_ #include "hxtypes.h" class HXSimpleRingBuffer { public: HXSimpleRingBuffer(UINT32 uBufSize, UINT32 uReserveSize=0); ~HXSimpleRingBuffer(); void Reset() { m_uNextGet = 0; m_uNextPut = 0; m_uReserveGet = 0; m_bEmpty = TRUE; } HXBOOL Get(BYTE* buf, UINT32& uLen, HXBOOL bWithReserved=FALSE); HXBOOL Put(const BYTE* buf, UINT32 uLen, HXBOOL bWithReserved=FALSE); HXBOOL IsFull(HXBOOL bWithReserved=FALSE); HXBOOL IsEmpty() { return m_bEmpty; } // returns true if there is no data in the buffer, at all UINT32 AvailablePutBytes(HXBOOL bWithReserved=FALSE); UINT32 AvailableGetBytes(HXBOOL bWithReserved=FALSE); private: BYTE* m_pRingBuffer; UINT32 m_uBufSize; // size of the ring buffer UINT32 m_uReservedBytes; // number of bytes to reserve in the ring, for seeking UINT32 m_uNextGet; // Index to Next position to get bytes (start) UINT32 m_uNextPut; // Index to Next position to put bytes (end) UINT32 m_uReserveGet; // position behind the next get to reserve for seeking, start position of valid data HXBOOL m_bEmpty; // Indicates if there is any data in the ring buffer, usually after reset, or on init }; #endif // __HXSIMPLERINGBUF_H_ Index: player.h =================================================================== RCS file: /cvsroot/player/kit/jsr135/pub/player.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- player.h 15 Feb 2006 20:00:55 -0000 1.8 +++ player.h 23 Feb 2006 03:14:06 -0000 1.9 @@ -35,7 +35,7 @@ class _MediaException; class _IllegalStateException; class HXBasicGroupManager; -class CHXSimpleList; +//class _DataSource; struct IHXScheduler; struct IHXClientState; struct IHXClientStateAdviseSink; @@ -138,6 +138,12 @@ _ToneControl* getToneControl(); _StopTimeControl* getStopTimeControl(); _GUIControl* getGUIControl(); + + // DataSource helper methods + bool IsRingBufferFull(); + void storeData(unsigned char* buf, int buflen); + EDataSource getRequest(); + #ifdef SWIG char** getControls(); #else @@ -167,11 +173,6 @@ UINT16 uOldState, UINT16 uNewState); - // DataSource helper methods - HXBOOL getData(int& off, int& len); - void sendData(const unsigned char* buf, int buflen); - EDataSource getRequest(); - // //EDataSource getRequest(CHXString& methodName, CHXString& methodSignature); // NOTE: this could be used in the future for flexibility // use "javap -s -p {className}" to get the correct signature @@ -381,7 +382,9 @@ IHXScheduler* m_pScheduler; HXMutex* m_pMutex; LONG32 m_lRefCount; - CHXSimpleList* m_pDSRequestQueue; + + HXBOOL m_bUsingProxy; + //_DataSource* m_pDataSource; HXEvent* m_pCreatePlayerEvent; HXEvent* m_pEvents[TransState_Count]; --- NEW FILE: javax_microedition_media_DataSourceHelper.h --- /* DO NOT EDIT THIS FILE - it is machine generated */ #include /* Header for class javax_microedition_media_DataSourceHelper */ #ifndef _Included_javax_microedition_media_DataSourceHelper #define _Included_javax_microedition_media_DataSourceHelper #ifdef __cplusplus extern "C" { #endif /* * Class: javax_microedition_media_DataSourceHelper * Method: pollDataSourceHelper * Signature: (J)V */ JNIEXPORT void JNICALL Java_javax_microedition_media_DataSourceHelper_pollDataSourceCallback (JNIEnv *, jobject, jlong); #ifdef __cplusplus } #endif #endif From cdunn at helixcommunity.org Wed Feb 22 19:34:48 2006 From: cdunn at helixcommunity.org (cdunn@helixcommunity.org) Date: Wed Feb 22 21:45:15 2006 Subject: [Player-cvs] kit/jsr135/javax/microedition/media SWIGTYPE_p_EDataSource.java, NONE, 1.1 SWIGTYPE_p_HXJClientAdviseSink.java, NONE, 1.1 SWIGTYPE_p_IHXPlayer.java, NONE, 1.1 Message-ID: Update of /cvsroot/player/kit/jsr135/javax/microedition/media In directory cvs:/tmp/cvs-serv2045 Added Files: SWIGTYPE_p_EDataSource.java SWIGTYPE_p_HXJClientAdviseSink.java SWIGTYPE_p_IHXPlayer.java Log Message: --- NEW FILE: SWIGTYPE_p_EDataSource.java --- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.25 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package javax.microedition.media; public class SWIGTYPE_p_EDataSource { private long swigCPtr; protected SWIGTYPE_p_EDataSource(long cPtr, boolean futureUse) { swigCPtr = cPtr; } protected SWIGTYPE_p_EDataSource() { swigCPtr = 0; } protected static long getCPtr(SWIGTYPE_p_EDataSource obj) { return (obj == null) ? 0 : obj.swigCPtr; } } --- NEW FILE: SWIGTYPE_p_HXJClientAdviseSink.java --- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.25 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package javax.microedition.media; public class SWIGTYPE_p_HXJClientAdviseSink { private long swigCPtr; protected SWIGTYPE_p_HXJClientAdviseSink(long cPtr, boolean futureUse) { swigCPtr = cPtr; } protected SWIGTYPE_p_HXJClientAdviseSink() { swigCPtr = 0; } protected static long getCPtr(SWIGTYPE_p_HXJClientAdviseSink obj) { return (obj == null) ? 0 : obj.swigCPtr; } } --- NEW FILE: SWIGTYPE_p_IHXPlayer.java --- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.25 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package javax.microedition.media; public class SWIGTYPE_p_IHXPlayer { private long swigCPtr; protected SWIGTYPE_p_IHXPlayer(long cPtr, boolean futureUse) { swigCPtr = cPtr; } protected SWIGTYPE_p_IHXPlayer() { swigCPtr = 0; } protected static long getCPtr(SWIGTYPE_p_IHXPlayer obj) { return (obj == null) ? 0 : obj.swigCPtr; } } From rishimathew at helixcommunity.org Fri Feb 24 10:56:20 2006 From: rishimathew at helixcommunity.org (rishimathew@helixcommunity.org) Date: Fri Feb 24 13:06:16 2006 Subject: [Player-cvs] CVSROOT avail,1.38,1.39 Message-ID: Update of /cvsroot/player/CVSROOT In directory cvs:/tmp/cvs-serv31465/CVSROOT Modified Files: avail Log Message: giving olivierd write access for the 'player' project Index: avail =================================================================== RCS file: /cvsroot/player/CVSROOT/avail,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- avail 25 Jan 2006 21:39:02 -0000 1.38 +++ avail 24 Feb 2006 18:56:17 -0000 1.39 @@ -124,6 +124,7 @@ avail|nhart avail|nhunshyal avail|nick +avail|olivierd avail|ottoreck avail|pankajgupta avail|pfawcett From bobclark at helixcommunity.org Mon Feb 27 18:36:09 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Mon Feb 27 20:45:17 2006 Subject: [Player-cvs] app/gtk README.realplay.in,1.1.2.8.2.1,1.1.2.8.2.2 Message-ID: Update of /cvsroot/player/app/gtk In directory cvs:/tmp/cvs-serv24462 Modified Files: Tag: bingo_release_10_0_3 README.realplay.in Log Message: update date Index: README.realplay.in =================================================================== RCS file: /cvsroot/player/app/gtk/README.realplay.in,v retrieving revision 1.1.2.8.2.1 retrieving revision 1.1.2.8.2.2 diff -u -d -r1.1.2.8.2.1 -r1.1.2.8.2.2 --- README.realplay.in 1 Apr 2005 21:26:05 -0000 1.1.2.8.2.1 +++ README.realplay.in 28 Feb 2006 02:36:06 -0000 1.1.2.8.2.2 @@ -3,7 +3,7 @@ Release Notes - April 2005 + March 2006 System Requirements From bobclark at helixcommunity.org Tue Feb 28 13:50:39 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 15:59:36 2006 Subject: [Player-cvs] installer/rpm RealPlayer-jds3.spec, 1.1.4.1.2.3, 1.1.4.1.2.4 RealPlayer-nld.spec, 1.4.2.7.2.6, 1.4.2.7.2.7 RealPlayer-rhel4.spec, 1.1.4.4.2.3, 1.1.4.4.2.4 RealPlayer-turbo10.spec, 1.1.2.6.2.3, 1.1.2.6.2.4 Message-ID: Update of /cvsroot/player/installer/rpm In directory cvs:/tmp/cvs-serv14390 Modified Files: Tag: bingo_release_10_0_3 RealPlayer-jds3.spec RealPlayer-nld.spec RealPlayer-rhel4.spec RealPlayer-turbo10.spec Log Message: update spec files to 10.0.7 Index: RealPlayer-nld.spec =================================================================== RCS file: /cvsroot/player/installer/rpm/RealPlayer-nld.spec,v retrieving revision 1.4.2.7.2.6 retrieving revision 1.4.2.7.2.7 diff -u -d -r1.4.2.7.2.6 -r1.4.2.7.2.7 --- RealPlayer-nld.spec 22 Aug 2005 02:57:56 -0000 1.4.2.7.2.6 +++ RealPlayer-nld.spec 28 Feb 2006 21:50:36 -0000 1.4.2.7.2.7 @@ -1,5 +1,5 @@ # -# spec file for package RealPlayer (Version 10.0.6) +# spec file for package RealPlayer (Version 10.0.) # # Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -85,7 +85,7 @@ PreReq: /bin/rm shared-mime-info Requires: gnome-icon-theme Autoreqprov: on -Version: 10.0.6 +Version: 10.0.7 Release: 1 Summary: RealPlayer 10 for Linux URL: http://www.real.com/linux @@ -270,6 +270,9 @@ /opt/kde3 %changelog -n RealPlayer +* Tue Feb 28 2006 - bobclark@real.com +- 10.0.7 update + * Fri Aug 19 2005 - rgammon@real.com - 10.0.6 update * Tue Apr 26 2005 - ro@suse.de Index: RealPlayer-jds3.spec =================================================================== RCS file: /cvsroot/player/installer/rpm/Attic/RealPlayer-jds3.spec,v retrieving revision 1.1.4.1.2.3 retrieving revision 1.1.4.1.2.4 diff -u -d -r1.1.4.1.2.3 -r1.1.4.1.2.4 --- RealPlayer-jds3.spec 19 Aug 2005 22:53:49 -0000 1.1.4.1.2.3 +++ RealPlayer-jds3.spec 28 Feb 2006 21:50:36 -0000 1.1.4.1.2.4 @@ -51,7 +51,7 @@ Summary: RealPlayer 10 for Linux Name: RealPlayer -Version: 10.0.6 +Version: 10.0.7 Release: 1 Group: Applications/Multimedia License: RPSL, EULA @@ -71,7 +71,7 @@ GPL/RPSL Helix Player 1.0. %prep -%setup -q -c -n realplay-10.0.6 +%setup -q -c -n realplay-10.0.7 %patch1 -p1 -b .helixlibs %patch2 -p1 -b .unclaim-audio @@ -87,16 +87,16 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mime-info mkdir -p $RPM_BUILD_ROOT/%{_datadir}/application-registry mkdir -p $RPM_BUILD_ROOT/%{_bindir} -mkdir -p $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -mkdir -p $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6/share +mkdir -p $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +mkdir -p $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7/share -cp -a ./codecs $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -cp -a ./common $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -cp -a ./plugins $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -cp -a ./share/default $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6/share -cp -a ./share/realplay $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6/share -cp ./README $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -cp ./LICENSE $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 +cp -a ./codecs $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +cp -a ./common $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +cp -a ./plugins $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +cp -a ./share/default $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7/share +cp -a ./share/realplay $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7/share +cp ./README $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +cp ./LICENSE $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 cp ./mozilla/nphelix.so $RPM_BUILD_ROOT/%{_libdir}/mozilla/plugins cp ./mozilla/nphelix.xpt $RPM_BUILD_ROOT/%{_libdir}/mozilla/plugins @@ -106,17 +106,17 @@ install -p -m644 ./share/realplay.applications $RPM_BUILD_ROOT/%{_datadir}/application-registry install -p -m644 ./share/realplay.keys $RPM_BUILD_ROOT/%{_datadir}/mime-info -cp ./realplay.bin $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -cp ./realplay $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6 -ln -s %{_libdir}/realplay-10.0.6/realplay $RPM_BUILD_ROOT/%{_bindir} +cp ./realplay.bin $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +cp ./realplay $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7 +ln -s %{_libdir}/realplay-10.0.7/realplay $RPM_BUILD_ROOT/%{_bindir} for LANGUAGE in %{_translations}; do mkdir -p $RPM_BUILD_ROOT/%{_datadir}/locale/$LANGUAGE/LC_MESSAGES - mkdir -p $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6/share/locale/$LANGUAGE + mkdir -p $RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7/share/locale/$LANGUAGE cp "./share/locale/$LANGUAGE/player.mo" "$RPM_BUILD_ROOT/%{_datadir}/locale/$LANGUAGE/LC_MESSAGES/realplay.mo" cp "./share/locale/$LANGUAGE/widget.mo" "$RPM_BUILD_ROOT/%{_datadir}/locale/$LANGUAGE/LC_MESSAGES/libgtkhx.mo" - cp "./share/locale/$LANGUAGE/README" "$RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6/share/locale/$LANGUAGE" - cp "./share/locale/$LANGUAGE/LICENSE" "$RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.6/share/locale/$LANGUAGE" + cp "./share/locale/$LANGUAGE/README" "$RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7/share/locale/$LANGUAGE" + cp "./share/locale/$LANGUAGE/LICENSE" "$RPM_BUILD_ROOT/%{_libdir}/realplay-10.0.7/share/locale/$LANGUAGE" done @@ -126,7 +126,7 @@ %files %defattr(-,root,root) %{_bindir}/realplay -%{_libdir}/realplay-10.0.6/* +%{_libdir}/realplay-10.0.7/* %{_libdir}/mozilla/* %{_datadir}/icons/hicolor/* %{_datadir}/pixmaps/* @@ -137,6 +137,9 @@ %{_datadir}/locale/*/LC_MESSAGES/* %changelog +* Tue Feb 28 2006 Bob Clark 10.0.7-1 +- updating to 10.0.7 + * Fri Aug 19 2005 Ryan Gammon 10.0.6-1 - Updating to 10.0.6 Index: RealPlayer-turbo10.spec =================================================================== RCS file: /cvsroot/player/installer/rpm/Attic/RealPlayer-turbo10.spec,v retrieving revision 1.1.2.6.2.3 retrieving revision 1.1.2.6.2.4 diff -u -d -r1.1.2.6.2.3 -r1.1.2.6.2.4 --- RealPlayer-turbo10.spec 19 Aug 2005 22:53:49 -0000 1.1.2.6.2.3 +++ RealPlayer-turbo10.spec 28 Feb 2006 21:50:36 -0000 1.1.2.6.2.4 @@ -49,7 +49,7 @@ Summary: RealPlayer 10 for Linux Name: RealPlayer -Version: 10.0.6 +Version: 10.0.7 Release: 1 Group: Applications/Multimedia License: RPSL, EULA @@ -69,7 +69,7 @@ GPL/RPSL Helix Player 1.0. %prep -%setup -q -c -n realplay-10.0.6 +%setup -q -c -n realplay-10.0.7 %patch1 -p1 -b .helixlibs %patch2 -p1 -b .kde31 @@ -193,6 +193,7 @@ %{_datadir}/locale/*/LC_MESSAGES/* %changelog +* 28 Feb 06 bobclark@real.com 10.0.7 * Fri Aug 19 2005 Ryan Gammon 10.0.6 - Updating for 10.0.6 Index: RealPlayer-rhel4.spec =================================================================== RCS file: /cvsroot/player/installer/rpm/Attic/RealPlayer-rhel4.spec,v retrieving revision 1.1.4.4.2.3 retrieving revision 1.1.4.4.2.4 diff -u -d -r1.1.4.4.2.3 -r1.1.4.4.2.4 --- RealPlayer-rhel4.spec 19 Aug 2005 22:53:49 -0000 1.1.4.4.2.3 +++ RealPlayer-rhel4.spec 28 Feb 2006 21:50:36 -0000 1.1.4.4.2.4 @@ -51,7 +51,7 @@ Summary: RealPlayer 10 for Linux Name: RealPlayer -Version: 10.0.6 +Version: 10.0.7 Release: 1 Group: Applications/Multimedia License: RPSL, EULA @@ -71,7 +71,7 @@ GPL/RPSL Helix Player 1.0. %prep -%setup -q -c -n realplay-10.0.6 +%setup -q -c -n realplay-10.0.7 %patch1 -p1 -b .helixlibs %build @@ -154,6 +154,8 @@ %{_datadir}/locale/*/LC_MESSAGES/* %changelog +* 28 Feb 06 bobclark@real.com 10.0.7 + * Fri Aug 19 2005 Ryan Gammon 10.0.6-1 - Updating to 10.0.6 From bobclark at helixcommunity.org Tue Feb 28 14:16:06 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 16:25:01 2006 Subject: [Player-cvs] installer/deb/linspire-4.5 changelog, 1.1.2.3.2.3, 1.1.2.3.2.4 realplay.dirs, 1.1.2.5.2.3, 1.1.2.5.2.4 realplay.links, 1.1.2.4.2.3, 1.1.2.4.2.4 rules, 1.1.2.7.2.3, 1.1.2.7.2.4 Message-ID: Update of /cvsroot/player/installer/deb/linspire-4.5 In directory cvs:/tmp/cvs-serv30828/deb/linspire-4.5 Modified Files: Tag: bingo_release_10_0_3 changelog realplay.dirs realplay.links rules Log Message: update to 10.0.7 Index: rules =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-4.5/rules,v retrieving revision 1.1.2.7.2.3 retrieving revision 1.1.2.7.2.4 diff -u -d -r1.1.2.7.2.3 -r1.1.2.7.2.4 --- rules 19 Aug 2005 22:32:46 -0000 1.1.2.7.2.3 +++ rules 28 Feb 2006 22:16:02 -0000 1.1.2.7.2.4 @@ -54,7 +54,7 @@ BUILD_ROOT:=$(shell pwd)/debian/realplay -REALPLAY_VERSION=realplay-10.0.6 +REALPLAY_VERSION=realplay-10.0.7 build: build-stamp build-stamp: patch Index: realplay.dirs =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-4.5/realplay.dirs,v retrieving revision 1.1.2.5.2.3 retrieving revision 1.1.2.5.2.4 diff -u -d -r1.1.2.5.2.3 -r1.1.2.5.2.4 --- realplay.dirs 19 Aug 2005 22:25:25 -0000 1.1.2.5.2.3 +++ realplay.dirs 28 Feb 2006 22:16:02 -0000 1.1.2.5.2.4 @@ -1,20 +1,20 @@ /usr/bin -/usr/lib/realplay-10.0.6/common -/usr/lib/realplay-10.0.6/codecs -/usr/lib/realplay-10.0.6/plugins -/usr/lib/realplay-10.0.6/share/default -/usr/lib/realplay-10.0.6/share/realplay -/usr/lib/realplay-10.0.6/share/locale/de -/usr/lib/realplay-10.0.6/share/locale/es -/usr/lib/realplay-10.0.6/share/locale/fr -/usr/lib/realplay-10.0.6/share/locale/hi -/usr/lib/realplay-10.0.6/share/locale/it -/usr/lib/realplay-10.0.6/share/locale/ja -/usr/lib/realplay-10.0.6/share/locale/ko -/usr/lib/realplay-10.0.6/share/locale/pl_BR -/usr/lib/realplay-10.0.6/share/locale/pt_BR -/usr/lib/realplay-10.0.6/share/locale/zh_CN -/usr/lib/realplay-10.0.6/share/locale/zh_TW +/usr/lib/realplay-10.0.7/common +/usr/lib/realplay-10.0.7/codecs +/usr/lib/realplay-10.0.7/plugins +/usr/lib/realplay-10.0.7/share/default +/usr/lib/realplay-10.0.7/share/realplay +/usr/lib/realplay-10.0.7/share/locale/de +/usr/lib/realplay-10.0.7/share/locale/es +/usr/lib/realplay-10.0.7/share/locale/fr +/usr/lib/realplay-10.0.7/share/locale/hi +/usr/lib/realplay-10.0.7/share/locale/it +/usr/lib/realplay-10.0.7/share/locale/ja +/usr/lib/realplay-10.0.7/share/locale/ko +/usr/lib/realplay-10.0.7/share/locale/pl_BR +/usr/lib/realplay-10.0.7/share/locale/pt_BR +/usr/lib/realplay-10.0.7/share/locale/zh_CN +/usr/lib/realplay-10.0.7/share/locale/zh_TW /usr/lib/mozilla/plugins /usr/share/locale/de/LC_MESSAGES /usr/share/locale/es/LC_MESSAGES Index: realplay.links =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-4.5/realplay.links,v retrieving revision 1.1.2.4.2.3 retrieving revision 1.1.2.4.2.4 diff -u -d -r1.1.2.4.2.3 -r1.1.2.4.2.4 --- realplay.links 19 Aug 2005 22:25:25 -0000 1.1.2.4.2.3 +++ realplay.links 28 Feb 2006 22:16:02 -0000 1.1.2.4.2.4 @@ -1 +1 @@ -/usr/lib/realplay-10.0.6/realplay /usr/bin/realplay +/usr/lib/realplay-10.0.7/realplay /usr/bin/realplay Index: changelog =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-4.5/changelog,v retrieving revision 1.1.2.3.2.3 retrieving revision 1.1.2.3.2.4 diff -u -d -r1.1.2.3.2.3 -r1.1.2.3.2.4 --- changelog 19 Aug 2005 22:25:25 -0000 1.1.2.3.2.3 +++ changelog 28 Feb 2006 22:16:02 -0000 1.1.2.3.2.4 @@ -1,3 +1,9 @@ +realplay (10.0.7-0.0.0.45.linspire0.1) unstable; urgency=low + + * Updating to 10.0.7 + + -- Bob Clark Tue, 28 Feb 2006 15:00:00 -0800 + realplay (10.0.6-0.0.0.45.linspire0.1) unstable; urgency=low * Updating to 10.0.6 From bobclark at helixcommunity.org Tue Feb 28 14:16:06 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 16:25:02 2006 Subject: [Player-cvs] installer/deb/linspire-5.0 changelog, 1.1.4.1.2.4, 1.1.4.1.2.5 realplay.dirs, 1.1.4.1.2.4, 1.1.4.1.2.5 realplay.links, 1.1.4.1.2.3, 1.1.4.1.2.4 rules, 1.1.4.1.2.4, 1.1.4.1.2.5 Message-ID: Update of /cvsroot/player/installer/deb/linspire-5.0 In directory cvs:/tmp/cvs-serv30828/deb/linspire-5.0 Modified Files: Tag: bingo_release_10_0_3 changelog realplay.dirs realplay.links rules Log Message: update to 10.0.7 Index: rules =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-5.0/Attic/rules,v retrieving revision 1.1.4.1.2.4 retrieving revision 1.1.4.1.2.5 diff -u -d -r1.1.4.1.2.4 -r1.1.4.1.2.5 --- rules 19 Aug 2005 22:39:19 -0000 1.1.4.1.2.4 +++ rules 28 Feb 2006 22:16:04 -0000 1.1.4.1.2.5 @@ -54,7 +54,7 @@ BUILD_ROOT:=$(shell pwd)/debian/realplay -REALPLAY_VERSION=realplay-10.0.6 +REALPLAY_VERSION=realplay-10.0.7 build: build-stamp build-stamp: patch Index: realplay.dirs =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-5.0/Attic/realplay.dirs,v retrieving revision 1.1.4.1.2.4 retrieving revision 1.1.4.1.2.5 diff -u -d -r1.1.4.1.2.4 -r1.1.4.1.2.5 --- realplay.dirs 19 Aug 2005 22:39:19 -0000 1.1.4.1.2.4 +++ realplay.dirs 28 Feb 2006 22:16:04 -0000 1.1.4.1.2.5 @@ -1,20 +1,20 @@ /usr/bin -/usr/lib/realplay-10.0.6/common -/usr/lib/realplay-10.0.6/codecs -/usr/lib/realplay-10.0.6/plugins -/usr/lib/realplay-10.0.6/share/default -/usr/lib/realplay-10.0.6/share/realplay -/usr/lib/realplay-10.0.6/share/locale/de -/usr/lib/realplay-10.0.6/share/locale/es -/usr/lib/realplay-10.0.6/share/locale/fr -/usr/lib/realplay-10.0.6/share/locale/hi -/usr/lib/realplay-10.0.6/share/locale/it -/usr/lib/realplay-10.0.6/share/locale/ja -/usr/lib/realplay-10.0.6/share/locale/ko -/usr/lib/realplay-10.0.6/share/locale/pl_BR -/usr/lib/realplay-10.0.6/share/locale/pt_BR -/usr/lib/realplay-10.0.6/share/locale/zh_CN -/usr/lib/realplay-10.0.6/share/locale/zh_TW +/usr/lib/realplay-10.0.7/common +/usr/lib/realplay-10.0.7/codecs +/usr/lib/realplay-10.0.7/plugins +/usr/lib/realplay-10.0.7/share/default +/usr/lib/realplay-10.0.7/share/realplay +/usr/lib/realplay-10.0.7/share/locale/de +/usr/lib/realplay-10.0.7/share/locale/es +/usr/lib/realplay-10.0.7/share/locale/fr +/usr/lib/realplay-10.0.7/share/locale/hi +/usr/lib/realplay-10.0.7/share/locale/it +/usr/lib/realplay-10.0.7/share/locale/ja +/usr/lib/realplay-10.0.7/share/locale/ko +/usr/lib/realplay-10.0.7/share/locale/pl_BR +/usr/lib/realplay-10.0.7/share/locale/pt_BR +/usr/lib/realplay-10.0.7/share/locale/zh_CN +/usr/lib/realplay-10.0.7/share/locale/zh_TW /usr/lib/mozilla/plugins /usr/share/locale/de/LC_MESSAGES /usr/share/locale/es/LC_MESSAGES Index: realplay.links =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-5.0/Attic/realplay.links,v retrieving revision 1.1.4.1.2.3 retrieving revision 1.1.4.1.2.4 diff -u -d -r1.1.4.1.2.3 -r1.1.4.1.2.4 --- realplay.links 19 Aug 2005 22:39:19 -0000 1.1.4.1.2.3 +++ realplay.links 28 Feb 2006 22:16:04 -0000 1.1.4.1.2.4 @@ -1 +1 @@ -/usr/lib/realplay-10.0.6/realplay /usr/bin/realplay +/usr/lib/realplay-10.0.7/realplay /usr/bin/realplay Index: changelog =================================================================== RCS file: /cvsroot/player/installer/deb/linspire-5.0/Attic/changelog,v retrieving revision 1.1.4.1.2.4 retrieving revision 1.1.4.1.2.5 diff -u -d -r1.1.4.1.2.4 -r1.1.4.1.2.5 --- changelog 19 Aug 2005 22:39:19 -0000 1.1.4.1.2.4 +++ changelog 28 Feb 2006 22:16:04 -0000 1.1.4.1.2.5 @@ -1,3 +1,9 @@ +realplay (10.0.7-0.0.0.5.linspire0.5) unstable; urgency=low + + * Updating to 10.0.7 + + -- Bob Clark Fri, 28 Feb 2006 15:00:00 -0800 + realplay (10.0.6-0.0.0.5.linspire0.5) unstable; urgency=low * Updating to 10.0.6 From bobclark at helixcommunity.org Tue Feb 28 14:16:06 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 16:25:02 2006 Subject: [Player-cvs] installer/deb/xandros-3.0 changelog, 1.1.4.2.2.3, 1.1.4.2.2.4 realplay.dirs, 1.1.4.4.2.3, 1.1.4.4.2.4 realplay.links, 1.1.4.2.2.3, 1.1.4.2.2.4 rules, 1.1.4.3.2.3, 1.1.4.3.2.4 Message-ID: Update of /cvsroot/player/installer/deb/xandros-3.0 In directory cvs:/tmp/cvs-serv30828/deb/xandros-3.0 Modified Files: Tag: bingo_release_10_0_3 changelog realplay.dirs realplay.links rules Log Message: update to 10.0.7 Index: rules =================================================================== RCS file: /cvsroot/player/installer/deb/xandros-3.0/Attic/rules,v retrieving revision 1.1.4.3.2.3 retrieving revision 1.1.4.3.2.4 diff -u -d -r1.1.4.3.2.3 -r1.1.4.3.2.4 --- rules 19 Aug 2005 22:35:30 -0000 1.1.4.3.2.3 +++ rules 28 Feb 2006 22:16:04 -0000 1.1.4.3.2.4 @@ -54,7 +54,7 @@ BUILD_ROOT:=$(shell pwd)/debian/realplay -REALPLAY_VERSION=realplay-10.0.6 +REALPLAY_VERSION=realplay-10.0.7 build: build-stamp build-stamp: patch Index: realplay.dirs =================================================================== RCS file: /cvsroot/player/installer/deb/xandros-3.0/Attic/realplay.dirs,v retrieving revision 1.1.4.4.2.3 retrieving revision 1.1.4.4.2.4 diff -u -d -r1.1.4.4.2.3 -r1.1.4.4.2.4 --- realplay.dirs 19 Aug 2005 22:35:30 -0000 1.1.4.4.2.3 +++ realplay.dirs 28 Feb 2006 22:16:04 -0000 1.1.4.4.2.4 @@ -1,20 +1,20 @@ /usr/bin -/usr/lib/realplay-10.0.6/common -/usr/lib/realplay-10.0.6/codecs -/usr/lib/realplay-10.0.6/plugins -/usr/lib/realplay-10.0.6/share/default -/usr/lib/realplay-10.0.6/share/realplay -/usr/lib/realplay-10.0.6/share/locale/de -/usr/lib/realplay-10.0.6/share/locale/es -/usr/lib/realplay-10.0.6/share/locale/fr -/usr/lib/realplay-10.0.6/share/locale/hi -/usr/lib/realplay-10.0.6/share/locale/it -/usr/lib/realplay-10.0.6/share/locale/ja -/usr/lib/realplay-10.0.6/share/locale/ko -/usr/lib/realplay-10.0.6/share/locale/pl -/usr/lib/realplay-10.0.6/share/locale/pt_BR -/usr/lib/realplay-10.0.6/share/locale/zh_CN -/usr/lib/realplay-10.0.6/share/locale/zh_TW +/usr/lib/realplay-10.0.7/common +/usr/lib/realplay-10.0.7/codecs +/usr/lib/realplay-10.0.7/plugins +/usr/lib/realplay-10.0.7/share/default +/usr/lib/realplay-10.0.7/share/realplay +/usr/lib/realplay-10.0.7/share/locale/de +/usr/lib/realplay-10.0.7/share/locale/es +/usr/lib/realplay-10.0.7/share/locale/fr +/usr/lib/realplay-10.0.7/share/locale/hi +/usr/lib/realplay-10.0.7/share/locale/it +/usr/lib/realplay-10.0.7/share/locale/ja +/usr/lib/realplay-10.0.7/share/locale/ko +/usr/lib/realplay-10.0.7/share/locale/pl +/usr/lib/realplay-10.0.7/share/locale/pt_BR +/usr/lib/realplay-10.0.7/share/locale/zh_CN +/usr/lib/realplay-10.0.7/share/locale/zh_TW /usr/lib/mozilla/plugins /usr/share/locale/de/LC_MESSAGES /usr/share/locale/es/LC_MESSAGES Index: realplay.links =================================================================== RCS file: /cvsroot/player/installer/deb/xandros-3.0/Attic/realplay.links,v retrieving revision 1.1.4.2.2.3 retrieving revision 1.1.4.2.2.4 diff -u -d -r1.1.4.2.2.3 -r1.1.4.2.2.4 --- realplay.links 19 Aug 2005 22:35:30 -0000 1.1.4.2.2.3 +++ realplay.links 28 Feb 2006 22:16:04 -0000 1.1.4.2.2.4 @@ -1 +1 @@ -/usr/lib/realplay-10.0.6/realplay /usr/bin/realplay +/usr/lib/realplay-10.0.7/realplay /usr/bin/realplay Index: changelog =================================================================== RCS file: /cvsroot/player/installer/deb/xandros-3.0/Attic/changelog,v retrieving revision 1.1.4.2.2.3 retrieving revision 1.1.4.2.2.4 diff -u -d -r1.1.4.2.2.3 -r1.1.4.2.2.4 --- changelog 19 Aug 2005 22:35:30 -0000 1.1.4.2.2.3 +++ changelog 28 Feb 2006 22:16:04 -0000 1.1.4.2.2.4 @@ -1,3 +1,9 @@ +realplay (10.0.7-1) unstable; urgency=low + + * Updating for 10.0.7 + + -- Bob Clark Tue, 28 Feb 2006 15:00:00 -0800 + realplay (10.0.6-1) unstable; urgency=low * Updating for 10.0.6 From bobclark at helixcommunity.org Tue Feb 28 14:19:16 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 16:28:11 2006 Subject: [Player-cvs] app/gtk hxplayer.ver, 1.186.2.363.2.53, 1.186.2.363.2.54 realplayer.ver, 1.1.2.304.2.53, 1.1.2.304.2.54 Message-ID: Update of /cvsroot/player/app/gtk In directory cvs:/tmp/cvs-serv30934 Modified Files: Tag: bingo_release_10_0_3 hxplayer.ver realplayer.ver Log Message: roll back version to 784 Index: realplayer.ver =================================================================== RCS file: /cvsroot/player/app/gtk/realplayer.ver,v retrieving revision 1.1.2.304.2.53 retrieving revision 1.1.2.304.2.54 diff -u -d -r1.1.2.304.2.53 -r1.1.2.304.2.54 --- realplayer.ver 28 Feb 2006 03:00:40 -0000 1.1.2.304.2.53 +++ realplayer.ver 28 Feb 2006 22:19:14 -0000 1.1.2.304.2.54 @@ -2,12 +2,12 @@ * Copyright (C) 1997-2002 RealNetworks Corporation. All rights reserved. */ #ifdef _MACINTOSH -#define TARVER_ULONG32_VERSION ((10<<28)|(0<<20)|(7<<12)|790) +#define TARVER_ULONG32_VERSION ((10<<28)|(0<<20)|(7<<12)|784) #else -#define TARVER_ULONG32_VERSION (UINT32)((10L<<28L)|(0L<<20L)|(7L<< 12L)|790L) +#define TARVER_ULONG32_VERSION (UINT32)((10L<<28L)|(0L<<20L)|(7L<< 12L)|784L) #endif -#define TARVER_LIST_VERSION 10,0,7,790 +#define TARVER_LIST_VERSION 10,0,7,784 #define TARVER_MAJOR_VERSION 10 #define TARVER_MINOR_VERSION 0 -#define TARVER_STRING_VERSION "10.0.7.790" +#define TARVER_STRING_VERSION "10.0.7.784" #define TARVER_STR_BUILD_NAME "" Index: hxplayer.ver =================================================================== RCS file: /cvsroot/player/app/gtk/hxplayer.ver,v retrieving revision 1.186.2.363.2.53 retrieving revision 1.186.2.363.2.54 diff -u -d -r1.186.2.363.2.53 -r1.186.2.363.2.54 --- hxplayer.ver 28 Feb 2006 03:00:36 -0000 1.186.2.363.2.53 +++ hxplayer.ver 28 Feb 2006 22:19:13 -0000 1.186.2.363.2.54 @@ -2,12 +2,12 @@ * Copyright (C) 1997-2002 RealNetworks Corporation. All rights reserved. */ #ifdef _MACINTOSH -#define TARVER_ULONG32_VERSION ((1<<28)|(0<<20)|(7<<12)|790) +#define TARVER_ULONG32_VERSION ((1<<28)|(0<<20)|(7<<12)|784) #else -#define TARVER_ULONG32_VERSION (UINT32)((1L<<28L)|(0L<<20L)|(7L<< 12L)|790L) +#define TARVER_ULONG32_VERSION (UINT32)((1L<<28L)|(0L<<20L)|(7L<< 12L)|784L) #endif -#define TARVER_LIST_VERSION 1,0,7,790 +#define TARVER_LIST_VERSION 1,0,7,784 #define TARVER_MAJOR_VERSION 1 #define TARVER_MINOR_VERSION 0 -#define TARVER_STRING_VERSION "1.0.7.790" +#define TARVER_STRING_VERSION "1.0.7.784" #define TARVER_STR_BUILD_NAME "" From bobclark at helixcommunity.org Tue Feb 28 15:45:04 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 17:54:00 2006 Subject: [Player-cvs] installer/rpm RealPlayer-rhel4.spec, 1.1.4.4.2.4, 1.1.4.4.2.5 RealPlayer-turbo10.spec, 1.1.2.6.2.4, 1.1.2.6.2.5 Message-ID: Update of /cvsroot/player/installer/rpm In directory cvs:/tmp/cvs-serv23978/rpm Modified Files: Tag: bingo_release_10_0_3 RealPlayer-rhel4.spec RealPlayer-turbo10.spec Log Message: clean up date format for changelog Index: RealPlayer-turbo10.spec =================================================================== RCS file: /cvsroot/player/installer/rpm/Attic/RealPlayer-turbo10.spec,v retrieving revision 1.1.2.6.2.4 retrieving revision 1.1.2.6.2.5 diff -u -d -r1.1.2.6.2.4 -r1.1.2.6.2.5 --- RealPlayer-turbo10.spec 28 Feb 2006 21:50:36 -0000 1.1.2.6.2.4 +++ RealPlayer-turbo10.spec 28 Feb 2006 23:45:02 -0000 1.1.2.6.2.5 @@ -193,7 +193,9 @@ %{_datadir}/locale/*/LC_MESSAGES/* %changelog -* 28 Feb 06 bobclark@real.com 10.0.7 +* Tue Feb 28 2006 Bob Clark 10.0.7 +- Updating for 10.0.7 + * Fri Aug 19 2005 Ryan Gammon 10.0.6 - Updating for 10.0.6 Index: RealPlayer-rhel4.spec =================================================================== RCS file: /cvsroot/player/installer/rpm/Attic/RealPlayer-rhel4.spec,v retrieving revision 1.1.4.4.2.4 retrieving revision 1.1.4.4.2.5 diff -u -d -r1.1.4.4.2.4 -r1.1.4.4.2.5 --- RealPlayer-rhel4.spec 28 Feb 2006 21:50:36 -0000 1.1.4.4.2.4 +++ RealPlayer-rhel4.spec 28 Feb 2006 23:45:02 -0000 1.1.4.4.2.5 @@ -154,7 +154,8 @@ %{_datadir}/locale/*/LC_MESSAGES/* %changelog -* 28 Feb 06 bobclark@real.com 10.0.7 +* Tue Feb 28 2006 Bob Clark 10.0.7-1 +- Updating to 10.0.7 * Fri Aug 19 2005 Ryan Gammon 10.0.6-1 - Updating to 10.0.6 From bobclark at helixcommunity.org Tue Feb 28 16:28:24 2006 From: bobclark at helixcommunity.org (bobclark@helixcommunity.org) Date: Tue Feb 28 18:37:18 2006 Subject: [Player-cvs] app/gtk hxplayer.ver, 1.186.2.363.2.57, 1.186.2.363.2.58 realplayer.ver, 1.1.2.304.2.57, 1.1.2.304.2.58 Message-ID: Update of /cvsroot/player/app/gtk In directory cvs:/tmp/cvs-serv11237 Modified Files: Tag: bingo_release_10_0_3 hxplayer.ver realplayer.ver Log Message: roll back versions for distro build Index: realplayer.ver =================================================================== RCS file: /cvsroot/player/app/gtk/realplayer.ver,v retrieving revision 1.1.2.304.2.57 retrieving revision 1.1.2.304.2.58 diff -u -d -r1.1.2.304.2.57 -r1.1.2.304.2.58 --- realplayer.ver 28 Feb 2006 23:53:15 -0000 1.1.2.304.2.57 +++ realplayer.ver 1 Mar 2006 00:28:22 -0000 1.1.2.304.2.58 @@ -2,12 +2,12 @@ * Copyright (C) 1997-2002 RealNetworks Corporation. All rights reserved. */ #ifdef _MACINTOSH -#define TARVER_ULONG32_VERSION ((10<<28)|(0<<20)|(7<<12)|787) +#define TARVER_ULONG32_VERSION ((10<<28)|(0<<20)|(7<<12)|784) #else -#define TARVER_ULONG32_VERSION (UINT32)((10L<<28L)|(0L<<20L)|(7L<< 12L)|787L) +#define TARVER_ULONG32_VERSION (UINT32)((10L<<28L)|(0L<<20L)|(7L<< 12L)|784L) #endif -#define TARVER_LIST_VERSION 10,0,7,787 +#define TARVER_LIST_VERSION 10,0,7,784 #define TARVER_MAJOR_VERSION 10 #define TARVER_MINOR_VERSION 0 -#define TARVER_STRING_VERSION "10.0.7.787" +#define TARVER_STRING_VERSION "10.0.7.784" #define TARVER_STR_BUILD_NAME "" Index: hxplayer.ver =================================================================== RCS file: /cvsroot/player/app/gtk/hxplayer.ver,v retrieving revision 1.186.2.363.2.57 retrieving revision 1.186.2.363.2.58 diff -u -d -r1.186.2.363.2.57 -r1.186.2.363.2.58 --- hxplayer.ver 28 Feb 2006 23:53:12 -0000 1.186.2.363.2.57 +++ hxplayer.ver 1 Mar 2006 00:28:22 -0000 1.186.2.363.2.58 @@ -2,12 +2,12 @@ * Copyright (C) 1997-2002 RealNetworks Corporation. All rights reserved. */ #ifdef _MACINTOSH -#define TARVER_ULONG32_VERSION ((1<<28)|(0<<20)|(7<<12)|787) +#define TARVER_ULONG32_VERSION ((1<<28)|(0<<20)|(7<<12)|784) #else -#define TARVER_ULONG32_VERSION (UINT32)((1L<<28L)|(0L<<20L)|(7L<< 12L)|787L) +#define TARVER_ULONG32_VERSION (UINT32)((1L<<28L)|(0L<<20L)|(7L<< 12L)|784L) #endif -#define TARVER_LIST_VERSION 1,0,7,787 +#define TARVER_LIST_VERSION 1,0,7,784 #define TARVER_MAJOR_VERSION 1 #define TARVER_MINOR_VERSION 0 -#define TARVER_STRING_VERSION "1.0.7.787" +#define TARVER_STRING_VERSION "1.0.7.784" #define TARVER_STR_BUILD_NA
     

    Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

    Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
    All other trademarks or registered trademarks are the property of their respective holders.