author | harlekin <harlekin> | 2003-02-03 22:01:40 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-02-03 22:01:40 (UTC) |
commit | a6ed3872856d8b78115bcf1a0f2834631b53a71f (patch) (unidiff) | |
tree | 9195b0c83b1a76123e7f2308b2f716a4e5fa2c67 | |
parent | ddbafc58961158490c1a68d5102a2a8662a58fa5 (diff) | |
download | opie-a6ed3872856d8b78115bcf1a0f2834631b53a71f.zip opie-a6ed3872856d8b78115bcf1a0f2834631b53a71f.tar.gz opie-a6ed3872856d8b78115bcf1a0f2834631b53a71f.tar.bz2 |
adapted to xine1-beta4
-rw-r--r-- | noncore/multimedia/opieplayer2/nullvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c index 095f206..3cf3664 100644 --- a/noncore/multimedia/opieplayer2/nullvideo.c +++ b/noncore/multimedia/opieplayer2/nullvideo.c | |||
@@ -30,25 +30,25 @@ | |||
30 | Boston, MA 02111-1307, USA. | 30 | Boston, MA 02111-1307, USA. |
31 | 31 | ||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include <stdlib.h> | 34 | #include <stdlib.h> |
35 | #include <stdio.h> | 35 | #include <stdio.h> |
36 | 36 | ||
37 | #include <math.h> | 37 | #include <math.h> |
38 | 38 | ||
39 | #include <xine.h> | 39 | #include <xine.h> |
40 | #include <xine/video_out.h> | 40 | #include <xine/video_out.h> |
41 | #include <xine/xine_internal.h> | 41 | #include <xine/xine_internal.h> |
42 | #include <xine/xineutils.h> | 42 | //#include <xine/xineutils.h> |
43 | #include <xine/vo_scale.h> | 43 | #include <xine/vo_scale.h> |
44 | #include <xine/buffer.h> | 44 | #include <xine/buffer.h> |
45 | 45 | ||
46 | #include <pthread.h> | 46 | #include <pthread.h> |
47 | #include "alphablend.h" | 47 | #include "alphablend.h" |
48 | #include "yuv2rgb.h" | 48 | #include "yuv2rgb.h" |
49 | 49 | ||
50 | #define printf(x,...) | 50 | #define printf(x,...) |
51 | 51 | ||
52 | /* | 52 | /* |
53 | #define LOG | 53 | #define LOG |
54 | */ | 54 | */ |
@@ -485,25 +485,25 @@ xine_vo_driver_t* init_video_out_plugin( xine_t *xine, | |||
485 | vo->vo_driver.redraw_needed = null_redraw_needed; | 485 | vo->vo_driver.redraw_needed = null_redraw_needed; |
486 | 486 | ||
487 | 487 | ||
488 | /* capabilities */ | 488 | /* capabilities */ |
489 | vo->m_capabilities = VO_CAP_COPIES_IMAGE | VO_CAP_YUY2 | VO_CAP_YV12; | 489 | vo->m_capabilities = VO_CAP_COPIES_IMAGE | VO_CAP_YUY2 | VO_CAP_YV12; |
490 | vo->yuv2rgb_factory = yuv2rgb_factory_init (MODE_16_RGB, vo->yuv2rgb_swap, | 490 | vo->yuv2rgb_factory = yuv2rgb_factory_init (MODE_16_RGB, vo->yuv2rgb_swap, |
491 | vo->yuv2rgb_cmap); | 491 | vo->yuv2rgb_cmap); |
492 | 492 | ||
493 | vo->caller = userData; | 493 | vo->caller = userData; |
494 | vo->frameDis = frameDisplayFunc; | 494 | vo->frameDis = frameDisplayFunc; |
495 | 495 | ||
496 | /* return ( vo_driver_t*) vo; */ | 496 | /* return ( vo_driver_t*) vo; */ |
497 | return vo_new_port( xine, ( vo_driver_t* )vo ); | 497 | return vo_new_port( xine, ( vo_driver_t* )vo, 1 ); |
498 | } | 498 | } |
499 | 499 | ||
500 | #if 0 | 500 | #if 0 |
501 | static vo_info_t vo_info_null = { | 501 | static vo_info_t vo_info_null = { |
502 | 5, | 502 | 5, |
503 | XINE_VISUAL_TYPE_FB | 503 | XINE_VISUAL_TYPE_FB |
504 | }; | 504 | }; |
505 | 505 | ||
506 | vo_info_t *get_video_out_plugin_info(){ | 506 | vo_info_t *get_video_out_plugin_info(){ |
507 | vo_info_null.description = ("xine video output plugin using null device"); | 507 | vo_info_null.description = ("xine video output plugin using null device"); |
508 | return &vo_info_null; | 508 | return &vo_info_null; |
509 | } | 509 | } |