Mplayerplug-in doesn't work with minimum cache size set to zero
Joseph Jezak <[email protected]> Fri, 19 Sep 2008 02:12:54 -0400
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
A Gentoo user reported [1] an issue where mplayer does not play back video if the minimum cache size is set to zero. The simple attached patch fixes the problem. -Joe [1] http://bugs.gentoo.org/show_bug.cgi?id=233865 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mplayerplug-in-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
mplayerplug-in-min-cache-size.patch
(text/x-patch, 585 B)
--- Source/plugin-ui.cpp.bak 2008-09-18 22:24:40.000000000 -0400
+++ Source/plugin-ui.cpp 2008-09-18 22:25:16.000000000 -0400
@@ -2865,7 +2865,7 @@
gtk_table_attach_defaults(GTK_TABLE(conf_table), conf_label, 0, 1,
3, 4);
gtk_widget_show(conf_label);
- instance->conf_cachesize = gtk_hscale_new_with_range(0, 32767, 512);
+ instance->conf_cachesize = gtk_hscale_new_with_range(32, 32767, 512);
gtk_table_attach_defaults(GTK_TABLE(conf_table),
instance->conf_cachesize, 1, 2, 3, 4);
gtk_range_set_value(GTK_RANGE(instance->conf_cachesize),