author | harlekin <harlekin> | 2002-08-19 18:54:10 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-19 18:54:10 (UTC) |
commit | aaa640a47a707b4d4e6aff37bf78c11bfc903b3c (patch) (unidiff) | |
tree | 5aa2412688ce1c81f724e9d70ddf5cdc42e02618 /noncore/multimedia/opieplayer2/lib.cpp | |
parent | 719dda9280813d323eebe3d2323271f953ed1144 (diff) | |
download | opie-aaa640a47a707b4d4e6aff37bf78c11bfc903b3c.zip opie-aaa640a47a707b4d4e6aff37bf78c11bfc903b3c.tar.gz opie-aaa640a47a707b4d4e6aff37bf78c11bfc903b3c.tar.bz2 |
cleanups
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 3a82a50..c187f52 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp | |||
@@ -84,35 +84,12 @@ Lib::Lib(XineVideoWidget* widget) { | |||
84 | 84 | ||
85 | m_config = xine_config_file_init( str.data() ); | 85 | m_config = xine_config_file_init( str.data() ); |
86 | 86 | ||
87 | // allocate oss for sound | 87 | // allocate oss for sound |
88 | // and fb for framebuffer | 88 | // and fb for framebuffer |
89 | m_audioOutput= xine_load_audio_output_plugin( m_config, "oss") ; | 89 | m_audioOutput= xine_load_audio_output_plugin( m_config, "oss") ; |
90 | if (m_audioOutput == NULL ) | ||
91 | printf("Failure\n"); | ||
92 | else | ||
93 | printf("Success\n"); | ||
94 | |||
95 | |||
96 | // test code | ||
97 | /* m_videoOutput = xine_load_video_output_plugin(m_config, "fb", | ||
98 | VISUAL_TYPE_FB, | ||
99 | 0 ); | ||
100 | */ | ||
101 | |||
102 | char** files = xine_list_video_output_plugins(3); | ||
103 | char* out; | ||
104 | int i = 0; | ||
105 | while ( ( out = files[i] ) != 0 ) { | ||
106 | printf("Video %s\n", out ); | ||
107 | i++; | ||
108 | } | ||
109 | // m_xine = xine_init( m_videoOutput, | ||
110 | // m_audioOutput, | ||
111 | // m_config ); | ||
112 | // test loading | ||
113 | m_videoOutput = ::init_video_out_plugin( m_config, NULL ); | 90 | m_videoOutput = ::init_video_out_plugin( m_config, NULL ); |
114 | if (m_wid != 0 ) { | 91 | if (m_wid != 0 ) { |
115 | printf("!0\n" ); | 92 | printf("!0\n" ); |
116 | resize ( m_wid-> size ( )); | 93 | resize ( m_wid-> size ( )); |
117 | ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); | 94 | ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); |
118 | m_wid-> setImage ( new QImage ( Resource::loadImage(""))); | 95 | m_wid-> setImage ( new QImage ( Resource::loadImage(""))); |