Ticket #5438: libvisual_video_init_r17474.patch

File libvisual_video_init_r17474.patch, 840 bytes (added by mythtv@…, 12 years ago)
  • mythmusic/mythmusic/libvisualplugin.cpp

     
    113113            {
    114114                if (visual_bin_connect_by_names(m_pVisBin, const_cast<char*>(pluginName.ascii()), 0) == VISUAL_OK)
    115115                {
     116                    QSize size(100, 100);
     117                    visual_video_set_dimension(m_pVisVideo, size.width(), size.height());
     118                    createScreen(size.width(), size.height());
     119
    116120                    if (visual_input_set_callback(visual_bin_get_input(m_pVisBin), AudioCallback, this) == VISUAL_OK)
    117121                    {
    118122                        visual_bin_switch_set_style(m_pVisBin, VISUAL_SWITCH_STYLE_MORPH);