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 );
}
return;
}
+ if( !mXkbData.mContext )
+ {
+ DALI_LOG_ERROR("xkb_context_new failed");
+ close(fd);
+ return;
+ }
mXkbData.mKeymap = xkb_map_new_from_string(mXkbData.mContext, map, XKB_KEYMAP_FORMAT_TEXT_V1, XKB_KEYMAP_COMPILE_NO_FLAGS);
munmap(map, size);
%if "%{profile}" == "common"
%define dali_profile COMMON
%define dali_feedback_plugin 0
-%define dali_videoplayer_plugin 0
+%define dali_videoplayer_plugin 1
%define tizen_2_2_compatibility 0
%define shaderbincache_flag DISABLE
BuildRequires: pkgconfig(glesv2)
}
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 );