author | harlekin <harlekin> | 2002-08-03 12:40:05 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-03 12:40:05 (UTC) |
commit | e97e6d869d0d3cb971a53f5a9ceacc1c93fcb3e0 (patch) (unidiff) | |
tree | 5dff28f4c663f2fe3cb70c29ff1cb1122dcd6202 | |
parent | ed2394a99f071d4779498325476094255607d019 (diff) | |
download | opie-e97e6d869d0d3cb971a53f5a9ceacc1c93fcb3e0.zip opie-e97e6d869d0d3cb971a53f5a9ceacc1c93fcb3e0.tar.gz opie-e97e6d869d0d3cb971a53f5a9ceacc1c93fcb3e0.tar.bz2 |
took the disturbing sound icon out
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 5ae6c21..eb57b67 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp | |||
@@ -62,33 +62,33 @@ Lib::Lib(XineVideoWidget* widget) { | |||
62 | int i = 0; | 62 | int i = 0; |
63 | while ( ( out = files[i] ) != 0 ) { | 63 | while ( ( out = files[i] ) != 0 ) { |
64 | printf("Video %s\n", out ); | 64 | printf("Video %s\n", out ); |
65 | i++; | 65 | i++; |
66 | } | 66 | } |
67 | // m_xine = xine_init( m_videoOutput, | 67 | // m_xine = xine_init( m_videoOutput, |
68 | // m_audioOutput, | 68 | // m_audioOutput, |
69 | // m_config ); | 69 | // m_config ); |
70 | // test loading | 70 | // test loading |
71 | m_videoOutput = ::init_video_out_plugin( m_config, NULL ); | 71 | m_videoOutput = ::init_video_out_plugin( m_config, NULL ); |
72 | if (m_wid != 0 ) { | 72 | if (m_wid != 0 ) { |
73 | printf("!0\n" ); | 73 | printf("!0\n" ); |
74 | ::null_set_gui_width( m_videoOutput, m_wid->image()->width() ); | 74 | ::null_set_gui_width( m_videoOutput, m_wid->image()->width() ); |
75 | ::null_set_gui_height(m_videoOutput, m_wid->image()->height() ); | 75 | ::null_set_gui_height(m_videoOutput, m_wid->image()->height() ); |
76 | ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); | 76 | ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); |
77 | m_bytes_per_pixel = ( qt_screen->depth() + 7 ) / 8; | 77 | m_bytes_per_pixel = ( qt_screen->depth() + 7 ) / 8; |
78 | QImage image = Resource::loadImage("SoundPlayer"); | 78 | QImage image = Resource::loadImage(""); |
79 | image = image.smoothScale( m_wid->width(), m_wid->height() ); | 79 | image = image.smoothScale( m_wid->width(), m_wid->height() ); |
80 | QImage* img = new QImage( image ); | 80 | QImage* img = new QImage( image ); |
81 | m_wid->setImage( img ); | 81 | m_wid->setImage( img ); |
82 | m_wid->repaint(); | 82 | m_wid->repaint(); |
83 | } | 83 | } |
84 | null_display_handler( m_videoOutput, | 84 | null_display_handler( m_videoOutput, |
85 | xine_display_frame, | 85 | xine_display_frame, |
86 | this ); | 86 | this ); |
87 | 87 | ||
88 | m_xine = xine_init( m_videoOutput, | 88 | m_xine = xine_init( m_videoOutput, |
89 | m_audioOutput, m_config ); | 89 | m_audioOutput, m_config ); |
90 | // install the event handler | 90 | // install the event handler |
91 | xine_register_event_listener( m_xine, xine_event_handler, this ); | 91 | xine_register_event_listener( m_xine, xine_event_handler, this ); |
92 | } | 92 | } |
93 | 93 | ||
94 | Lib::~Lib() { | 94 | Lib::~Lib() { |