Commit e9ef4392 authored by Gildas Bazin's avatar Gildas Bazin

* src/libvlc.h: put the SAP options where they belong (ie. the stream output category).

* modules/gui/skins2/src/window_manager.cpp: skins2-transparency is win32 only.
parent 6ba13203
...@@ -65,6 +65,7 @@ void WindowManager::startMove( TopWindow &rWindow ) ...@@ -65,6 +65,7 @@ void WindowManager::startMove( TopWindow &rWindow )
m_movingWindows.clear(); m_movingWindows.clear();
buildDependSet( m_movingWindows, &rWindow ); buildDependSet( m_movingWindows, &rWindow );
#ifdef WIN32
if( config_GetInt( getIntf(), "skins2-transparency" ) ) if( config_GetInt( getIntf(), "skins2-transparency" ) )
{ {
// Change the opacity of the moving windows // Change the opacity of the moving windows
...@@ -82,6 +83,7 @@ void WindowManager::startMove( TopWindow &rWindow ) ...@@ -82,6 +83,7 @@ void WindowManager::startMove( TopWindow &rWindow )
(*it)->refresh( 0, 0, (*it)->getWidth(), (*it)->getHeight() ); (*it)->refresh( 0, 0, (*it)->getWidth(), (*it)->getHeight() );
} }
} }
#endif
} }
...@@ -90,6 +92,7 @@ void WindowManager::stopMove() ...@@ -90,6 +92,7 @@ void WindowManager::stopMove()
WinSet_t::const_iterator itWin1, itWin2; WinSet_t::const_iterator itWin1, itWin2;
AncList_t::const_iterator itAnc1, itAnc2; AncList_t::const_iterator itAnc1, itAnc2;
#ifdef WIN32
if( config_GetInt( getIntf(), "skins2-transparency" ) ) if( config_GetInt( getIntf(), "skins2-transparency" ) )
{ {
// Restore the opacity of the moving windows // Restore the opacity of the moving windows
...@@ -99,6 +102,7 @@ void WindowManager::stopMove() ...@@ -99,6 +102,7 @@ void WindowManager::stopMove()
(*it)->setOpacity( m_alpha ); (*it)->setOpacity( m_alpha );
} }
} }
#endif
// Delete the dependencies // Delete the dependencies
m_dependencies.clear(); m_dependencies.clear();
......
...@@ -488,10 +488,6 @@ static char *ppsz_align_descriptions[] = ...@@ -488,10 +488,6 @@ static char *ppsz_align_descriptions[] =
#define ACCESS_OUTPUT_LONGTEXT N_( \ #define ACCESS_OUTPUT_LONGTEXT N_( \
"This is a legacy entry to let you configure access output modules") "This is a legacy entry to let you configure access output modules")
#define ANN_CAT_LONGTEXT N_( \
"These options allow you to set options for the session announcement" \
"subsystem." )
#define ANN_SAPCTRL_TEXT N_("Control SAP flow") #define ANN_SAPCTRL_TEXT N_("Control SAP flow")
#define ANN_SAPCTRL_LONGTEXT N_("If this option is enabled, the flow on " \ #define ANN_SAPCTRL_LONGTEXT N_("If this option is enabled, the flow on " \
"the SAP multicast address will be controlled. This is needed if you " \ "the SAP multicast address will be controlled. This is needed if you " \
...@@ -924,8 +920,6 @@ vlc_module_begin(); ...@@ -924,8 +920,6 @@ vlc_module_begin();
ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE ); ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE );
add_integer( "ttl", 1, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE ); add_integer( "ttl", 1, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
/* Announce options */
add_category_hint( N_("Announce system"), ANN_CAT_LONGTEXT, VLC_TRUE );
add_bool( "sap-flow-control", VLC_FALSE, NULL, ANN_SAPCTRL_TEXT, add_bool( "sap-flow-control", VLC_FALSE, NULL, ANN_SAPCTRL_TEXT,
ANN_SAPCTRL_LONGTEXT, VLC_TRUE ); ANN_SAPCTRL_LONGTEXT, VLC_TRUE );
add_integer( "sap-interval", 5, NULL, ANN_SAPINTV_TEXT, add_integer( "sap-interval", 5, NULL, ANN_SAPINTV_TEXT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment