Репозитории ALT
5.1: | 1.3.4-alt1 |
4.1: | 1.3.2-alt1.M41.1 |
4.0: | 1.0.0-alt1 |
3.0: | 0.7.6-alt1 |
Группа :: Видео
Пакет: kino
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: kino-1.2.0-closefw.patch
Скачать
Скачать
diff -ru kino-1.2.0.orig/src/ieee1394io.cc kino-1.2.0/src/ieee1394io.cc
--- kino-1.2.0.orig/src/ieee1394io.cc 2007-09-11 21:28:18.000000000 -0700
+++ kino-1.2.0/src/ieee1394io.cc 2008-06-16 12:37:55.000000000 -0700
@@ -1422,6 +1422,11 @@
m_iec61883dv = iec61883_dv_xmit_init( m_handle, isPAL, HandlerProxy, this );
m_isInitialised = ( m_iec61883dv != NULL );
//iec61883_dv_set_synch( m_iec61883dv, 1 ); this is causing hang on close
+ if (!m_isInitialised)
+ {
+ raw1394_destroy_handle( m_handle );
+ m_handle = NULL;
+ }
}
return m_isInitialised;
@@ -1459,6 +1464,13 @@
if ( !m_isInitialised && Open( frame.IsPAL() ) )
{
m_isInitialised = ( iec61883_dv_xmit_start( m_iec61883dv, m_channel ) == 0 );
+ if (!m_isInitialised) {
+ iec61883_dv_close( m_iec61883dv );
+ m_iec61883dv = NULL;
+ raw1394_destroy_handle( m_handle );
+ m_handle = NULL;
+ return false;
+ }
StartThread();
}
result = true;