]> git.sesse.net Git - vlc/commitdiff
atmo filter: disable until it is fixed
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 14:53:32 +0000 (17:53 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 14:53:32 +0000 (17:53 +0300)
configure.ac
modules/video_filter/Modules.am
modules/video_filter/atmo/AtmoExternalCaptureInput.cpp

index 827c81122cb315d57acf120e320b475226dbdc79..b590d02563463aeb731e2984f7ecd2108af57431 100644 (file)
@@ -5210,7 +5210,6 @@ AC_CONFIG_FILES([
   modules/stream_out/Makefile
   modules/video_chroma/Makefile
   modules/video_filter/Makefile
-  modules/video_filter/atmo/Makefile
   modules/video_filter/dynamicoverlay/Makefile
   modules/video_output/Makefile
   modules/video_output/msw/Makefile
index 4c95f6a603e6e154730d25265a1c93d537199009..c5ba9a363167c8fa7f33659518c9ef63989292a1 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = atmo dynamicoverlay
+SUBDIRS = dynamicoverlay
 SOURCES_mosaic = mosaic.c mosaic.h
 SOURCES_transform = transform.c
 SOURCES_invert = invert.c
index 4b87363cfd6251001a51068caf240e9f92c98c51..2df7ab7e443b9094e600e9f122792192a92d48ef 100644 (file)
@@ -106,6 +106,7 @@ void CAtmoExternalCaptureInput::DeliverNewSourceDataPaket(BITMAPINFOHEADER *bmpI
         memcpy(m_pCurrentFramePixels,pixelData,PixelDataSize);
     }
 #if defined(_ATMO_VLC_PLUGIN_)
+#error This makes no sense!
    vlc_mutex_lock( &m_WakeupLock );
    vlc_cond_signal( &m_WakeupCond );
    vlc_mutex_unlock( &m_WakeupLock );
@@ -173,8 +174,10 @@ DWORD CAtmoExternalCaptureInput::Execute(void) {
 void CAtmoExternalCaptureInput::WaitForNextFrame(DWORD timeout)
 {
     this->m_FrameArrived = ATMO_FALSE;
+#error m_FrameArrived is not protected (no, volatile does not work)
     for(DWORD i=0;(i<timeout) && !m_FrameArrived;i++)
 #if defined (_ATMO_VLC_PLUGIN_)
+#error A condition variable or a semaphore is needed.
         msleep(1000);
 #else
         Sleep(1);