It seems that force-cache is not implemented yet by the new libgmtk player used
by v1.0.4
I use this parameter since a lot of my media is played from a remote filesystem
which is mounted. Without caching a lot of stuttering occurs.
It seems fairly trivial to add this support to libgmtk:
src/libtmtk/gmtk_media_player.c, function
gmtk_media_player_set_attribute_boolean add:
case ATTRIBUTE_FORCE_CACHE:
player->force_cache = value;
break;
And to use it in gnome-mplayer:
Its read from the config src/main.c @line 544
forcecache = gm_pref_store_get_boolean(gm_store, FORCECACHE);
I've added a call near here to libgmtk to set this parameter in libgmtk as well:
gmtk_media_player_set_attribute_boolean(GMTK_MEDIA_PLAYER(media), ATTRIBUTE_FORCE_CACHE, forcecache);
With this change mplayer gets started with the -cache option again for all
media similar to old versions of gnome-mplayer if the 'Enable mplayer cache'
setting is ticked under preferences.
Original issue reported on code.google.com by m.c.huij...@gmail.com on 16 Sep 2011 at 12:54
Original issue reported on code.google.com by
m.c.huij...@gmail.com
on 16 Sep 2011 at 12:54