Commit df796fbf authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

* sorry, this one was unintended

parent ec022e28
......@@ -1093,13 +1093,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
{
s_rect.size.width = p_vout->i_window_width;
s_rect.size.height = p_vout->i_window_height;
/* go to our default position, if set */
if( var_GetInteger( p_vout, "video-x" ) > -1 )
s_rect.origin.x = var_GetInteger( p_vout, "video-x" );
if( var_GetInteger( p_vout, "video-y" ) > -1 )
s_rect.origin.y = var_GetInteger( p_vout, "video-y" );
msg_Dbg( p_vout, "vout will open at %i:%i", s_rect.origin.x, s_rect.origin.y );
}
else
{
......@@ -1115,7 +1108,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if( !s_frame )
{
msg_Warn( p_vout, "no frame found, centering vout" );
[self center];
}
}
......
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