-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) { int i = 0; while ( ( out = files[i] ) != 0 ) { printf("Video %s\n", out ); i++; } // m_xine = xine_init( m_videoOutput, // m_audioOutput, // m_config ); // test loading m_videoOutput = ::init_video_out_plugin( m_config, NULL ); if (m_wid != 0 ) { printf("!0\n" ); ::null_set_gui_width( m_videoOutput, m_wid->image()->width() ); ::null_set_gui_height(m_videoOutput, m_wid->image()->height() ); ::null_set_mode( m_videoOutput, qt_screen->depth(), qt_screen->pixelType() ); m_bytes_per_pixel = ( qt_screen->depth() + 7 ) / 8; - QImage image = Resource::loadImage("SoundPlayer"); + QImage image = Resource::loadImage(""); image = image.smoothScale( m_wid->width(), m_wid->height() ); QImage* img = new QImage( image ); m_wid->setImage( img ); m_wid->repaint(); } null_display_handler( m_videoOutput, xine_display_frame, this ); m_xine = xine_init( m_videoOutput, m_audioOutput, m_config ); // install the event handler xine_register_event_listener( m_xine, xine_event_handler, this ); } Lib::~Lib() { |