added Jamfile for DVB TV application and fixed compilation problems after refactoring

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20781 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2007-04-23 19:04:05 +00:00
parent fcb9bdc0c9
commit 170a16fb3e
5 changed files with 22 additions and 7 deletions
+1
View File
@@ -29,4 +29,5 @@ SubInclude HAIKU_TOP src apps soundrecorder ;
SubInclude HAIKU_TOP src apps stylededit ; SubInclude HAIKU_TOP src apps stylededit ;
SubInclude HAIKU_TOP src apps terminal ; SubInclude HAIKU_TOP src apps terminal ;
SubInclude HAIKU_TOP src apps tracker ; SubInclude HAIKU_TOP src apps tracker ;
SubInclude HAIKU_TOP src apps tv ;
SubInclude HAIKU_TOP src apps workspaces ; SubInclude HAIKU_TOP src apps workspaces ;
+13
View File
@@ -0,0 +1,13 @@
SubDir HAIKU_TOP src apps tv ;
Application TV :
Controller.cpp
ConvertBitmap.cpp
DeviceRoster.cpp
MainApp.cpp
MainWin.cpp
VideoNode.cpp
VideoView.cpp
: be media
: tv.rdef
;
+5 -4
View File
@@ -30,6 +30,7 @@
#include "ConvertBitmap.h" #include "ConvertBitmap.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#define CHECK_ACTIVITY 'ChkA' #define CHECK_ACTIVITY 'ChkA'
@@ -383,10 +384,10 @@ VideoView::IsOverlaySupported()
printf("Overlay restrictions: destination max_width %d\n", restrict.destination.max_width); printf("Overlay restrictions: destination max_width %d\n", restrict.destination.max_width);
printf("Overlay restrictions: destination min_height %d\n", restrict.destination.min_height); printf("Overlay restrictions: destination min_height %d\n", restrict.destination.min_height);
printf("Overlay restrictions: destination max_height %d\n", restrict.destination.max_height); printf("Overlay restrictions: destination max_height %d\n", restrict.destination.max_height);
printf("Overlay restrictions: min_width_scale %d\n", restrict.min_width_scale); printf("Overlay restrictions: min_width_scale %.3f\n", restrict.min_width_scale);
printf("Overlay restrictions: max_width_scale %d\n", restrict.max_width_scale); printf("Overlay restrictions: max_width_scale %.3f\n", restrict.max_width_scale);
printf("Overlay restrictions: min_height_scale %d\n", restrict.min_height_scale); printf("Overlay restrictions: min_height_scale %.3f\n", restrict.min_height_scale);
printf("Overlay restrictions: max_height_scale %d\n", restrict.max_height_scale); printf("Overlay restrictions: max_height_scale %.3f\n", restrict.max_height_scale);
} }
supported = true; supported = true;
} }
+3 -3
View File
@@ -27,13 +27,13 @@
#include <InterfaceDefs.h> #include <InterfaceDefs.h>
#include <time.h> #include <time.h>
#include "revision.h"
#define NAME "TV-O-Rama" #define NAME "TV-O-Rama"
#define REVISION "unknown"
#define VERSION "1.1" #define VERSION "1.1"
#define BUILD __DATE__ " "__TIME__ #define BUILD __DATE__ " "__TIME__
#define COPYRIGHT B_UTF8_COPYRIGHT" Marcus Overhagen 2005-2006" #define COPYRIGHT B_UTF8_COPYRIGHT" Marcus Overhagen 2005-2007"
#define INFO1 "DVB - Digital Video Broadcasting TV" #define INFO1 "DVB - Digital Video Broadcasting TV"
#define APP_SIG "application/x-vnd.MarcusOverhagen."##NAME #define APP_SIG "application/x-vnd.MarcusOverhagen."NAME
#endif #endif
View File