void Seat::KeyboardKeymap( unsigned int format, int fd, unsigned int size )
{
- if(!mXkbData.mContext )
+ if( !mXkbData.mContext )
{
mXkbData.mContext = xkb_context_new( XKB_CONTEXT_NO_FLAGS );
}
+ if( !mXkbData.mContext )
+ {
+ DALI_LOG_ERROR("xkb_context_new failed");
+ close(fd);
+ return;
+ }
+
// current formats defined in wayland-client-protocol.h
// WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP =0, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1=1
%if "%{profile}" == "common"
%define dali_profile COMMON
%define dali_feedback_plugin 0
-%define dali_videoplayer_plugin 0
-%define tizen_2_2_compatibility 1
+%define dali_videoplayer_plugin 1
+%define tizen_2_2_compatibility 0
%define shaderbincache_flag DISABLE
BuildRequires: pkgconfig(glesv2)
%define gles_requirement_setup 1
}
int error;
- player_display_rotation_e rotation;
+ player_display_rotation_e rotation = PLAYER_DISPLAY_ROTATION_NONE;
if( mPlayerState != PLAYER_STATE_NONE )
{
error = player_get_display_rotation( mPlayer, &rotation );