Changeset 6ad63e8cf411092b7888d0d08ab618650a495ba5

Show
Ignore:
Timestamp:
07/01/08 18:47:35 (2 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1214930855 +0300
git-parent:

[fd78181dd3d3e6453140fc51bda50cce22eef025]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1214930753 +0300
Message:

Qt4: Remove hackish use of vout window for the FS controller.

This fixes #1651. We can hopefully get a proper patch for the FS
controller.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/qt4.cpp

    r7cd2282 r6ad63e8  
    468468    vout_window_t *wnd = (vout_window_t *)obj; 
    469469 
     470    if (config_GetInt (obj, "embedded-video") <= 0) 
     471        return VLC_EGENERIC; 
     472 
    470473    intf_thread_t *intf = (intf_thread_t *) 
    471474        vlc_object_find_name (obj, "qt4", FIND_ANYWHERE); 
     
    495498    if (miP->isNull ()) 
    496499        return VLC_EGENERIC; 
    497  
    498     if (config_GetInt (obj, "embedded-video") <= 0) 
    499     { 
    500         (*miP)->requestNotEmbeddedVideo (wnd->vout); 
    501         return VLC_EGENERIC; 
    502     } 
    503500 
    504501    wnd->handle = (*miP)->requestVideo (wnd->vout, &wnd->pos_x, &wnd->pos_y,