switch to Be Inc media server signature, to allow libbe.so sending messages to the server

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8573 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2004-08-15 12:06:27 +00:00
parent 51599367a2
commit a861a01ea4
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
#include "PortPool.h"
#include "MediaMisc.h"
#include "DataExchange.h"
#include "ServerInterface.h" // NEW_MEDIA_SERVER_SIGNATURE
#include "ServerInterface.h"
#define TIMEOUT 15000000 // 15 seconds timeout!
@@ -30,7 +30,7 @@ void find_media_server_port();
void find_media_addon_server_port();
static BMessenger * GetMediaServerMessenger() {
static BMessenger * messenger = new BMessenger(NEW_MEDIA_SERVER_SIGNATURE);
static BMessenger * messenger = new BMessenger(B_MEDIA_SERVER_SIGNATURE);
return MediaServerMessenger = messenger;
}
+2 -2
View File
@@ -1004,8 +1004,8 @@ status_t get_next_file_format(int32 *cookie, media_file_format *mfi)
*************************************************************/
// final & verified
const char * B_MEDIA_SERVER_SIGNATURE = "application/x-vnd.OpenBeOS-media-server";
const char * B_MEDIA_ADDON_SERVER_SIGNATURE = "application/x-vnd.OpenBeOS-addon-host";
const char * B_MEDIA_SERVER_SIGNATURE = "application/x-vnd.Be.media-server";
const char * B_MEDIA_ADDON_SERVER_SIGNATURE = "application/x-vnd.Be.addon-host";
const type_code B_CODEC_TYPE_INFO = 0x040807b2;