Skip to content

Commit

Permalink
Remove old Nokia N900 hacks
Browse files Browse the repository at this point in the history
These were broken since 6270a4c.
  • Loading branch information
Rémi Denis-Courmont committed Feb 23, 2013
1 parent 3069647 commit e0de50a
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 25 deletions.
2 changes: 1 addition & 1 deletion bin/vlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_set_user_agent (vlc, "VLC media player", "VLC/"PACKAGE_VERSION);

libvlc_add_intf (vlc, "hotkeys,none");
#if !defined (HAVE_MAEMO) && !defined __APPLE__ && !defined (__OS2__)
#if !defined __APPLE__ && !defined (__OS2__)
libvlc_add_intf (vlc, "globalhotkeys,none");
#endif
#ifdef HAVE_DBUS
Expand Down
5 changes: 0 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3888,11 +3888,6 @@ AS_IF([test "${enable_gnutls}" != "no"], [
])


AS_IF([test -f "/etc/maemo_version"], [
AC_DEFINE([HAVE_MAEMO], 1, [Define to 1 if building for the Maemo platform.])
])


dnl
dnl Taglib plugin
dnl
Expand Down
5 changes: 0 additions & 5 deletions modules/codec/omxil/omxil.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,11 +836,6 @@ static int OpenDecoder( vlc_object_t *p_this )
if( 0 || !GetOmxRole(p_dec->fmt_in.i_codec, p_dec->fmt_in.i_cat, false) )
return VLC_EGENERIC;

#ifdef HAVE_MAEMO
if( p_dec->fmt_in.i_cat != VIDEO_ES && !p_dec->b_force)
return VLC_EGENERIC;
#endif

status = OpenGeneric( p_this, false );
if(status != VLC_SUCCESS) return status;

Expand Down
4 changes: 0 additions & 4 deletions modules/text_renderer/freetype.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@
# define DEFAULT_FAMILY "Times New Roman WT K"
# define DEFAULT_MONOSPACE_FONT_FILE "/psfonts/mtsansdk.ttf"
# define DEFAULT_MONOSPACE_FAMILY "Monotype Sans Duospace WT K"
#elif defined( HAVE_MAEMO )
# define DEFAULT_FONT_FILE "/usr/share/fonts/nokia/nosnb.ttf"
# define DEFAULT_FAMILY "Nokia Sans Bold"
# error Missing monospaced fonts
#elif defined( __ANDROID__ )
# define DEFAULT_FONT_FILE "/system/fonts/DroidSans-Bold.ttf"
# define DEFAULT_FAMILY "Droid Sans Bold"
Expand Down
8 changes: 1 addition & 7 deletions src/libvlc-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1527,13 +1527,7 @@ vlc_module_begin ()
change_safe ()
add_bool( "grayscale", 0, GRAYSCALE_TEXT,
GRAYSCALE_LONGTEXT, true )
#if defined (HAVE_MAEMO)
# define FULLSCREEN_DEFAULT true
#else
# define FULLSCREEN_DEFAULT false
#endif
add_bool( "fullscreen", FULLSCREEN_DEFAULT, FULLSCREEN_TEXT,
FULLSCREEN_LONGTEXT, false )
add_bool( "fullscreen", false, FULLSCREEN_TEXT, FULLSCREEN_LONGTEXT, false )
change_short('f')
change_safe ()
add_bool( "embedded-video", 1, EMBEDDED_TEXT, EMBEDDED_LONGTEXT,
Expand Down
3 changes: 0 additions & 3 deletions src/posix/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,6 @@ int vlc_set_priority (vlc_thread_t th, int priority)
void vlc_cancel (vlc_thread_t thread_id)
{
pthread_cancel (thread_id);
#ifdef HAVE_MAEMO
pthread_kill (thread_id, SIGRTMIN);
#endif
}

/**
Expand Down

0 comments on commit e0de50a

Please sign in to comment.