src/3rdparty/phonon/ds9/videowidget.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
   216         {
   216         {
   217             const bool toNative = !current->isNative();
   217             const bool toNative = !current->isNative();
   218             if (toNative && m_noNativeRendererSupported)
   218             if (toNative && m_noNativeRendererSupported)
   219                 return current; //no switch here
   219                 return current; //no switch here
   220 
   220 
       
   221             if (!mediaObject())
       
   222                 return current;
       
   223 
   221             //firt we delete the renderer
   224             //firt we delete the renderer
   222             //initialization of the widgets
   225             //initialization of the widgets
   223             for(int i = 0; i < FILTER_COUNT; ++i) {
   226             for(int i = 0; i < FILTER_COUNT; ++i) {
   224                 Filter oldFilter = m_filters[i];
   227                 Filter oldFilter = m_filters[i];
   225 
   228