- fix broken terminal after using dvb input (bug #117) - disable backing store (fixes tearing on Xorg Xserver 1.5.x) - disable samba support by default, too much dependency bloat (bug #147) - add missing Requires for hicolor icon dirs to -gui - drop provides and obsoletes for mplayer-mencoder (last seen for FC4)el8
parent
e57990c5f3
commit
70b4dacc69
@ -0,0 +1,21 @@
|
||||
diff -up mplayer-export-2008-09-03/libvo/x11_common.c.bs mplayer-export-2008-09-03/libvo/x11_common.c
|
||||
--- mplayer-export-2008-09-03/libvo/x11_common.c.bs 2008-08-04 08:16:23.000000000 +0200
|
||||
+++ mplayer-export-2008-09-03/libvo/x11_common.c 2008-11-23 21:39:27.000000000 +0100
|
||||
@@ -1250,7 +1250,7 @@ Window vo_x11_create_smooth_window(Displ
|
||||
unsigned int width, unsigned int height,
|
||||
int depth, Colormap col_map)
|
||||
{
|
||||
- unsigned long xswamask = CWBackingStore | CWBorderPixel;
|
||||
+ unsigned long xswamask = CWBorderPixel;
|
||||
XSetWindowAttributes xswa;
|
||||
Window ret_win;
|
||||
|
||||
@@ -1261,7 +1261,7 @@ Window vo_x11_create_smooth_window(Displ
|
||||
}
|
||||
xswa.background_pixel = 0;
|
||||
xswa.border_pixel = 0;
|
||||
- xswa.backing_store = Always;
|
||||
+ xswa.backing_store = NotUseful;
|
||||
xswa.bit_gravity = StaticGravity;
|
||||
|
||||
ret_win =
|
@ -0,0 +1,37 @@
|
||||
diff -up mplayer-export-2008-09-03/stream/dvb_tune.c.dvb mplayer-export-2008-09-03/stream/dvb_tune.c
|
||||
--- mplayer-export-2008-09-03/stream/dvb_tune.c.dvb 2008-08-14 17:54:53.000000000 +0200
|
||||
+++ mplayer-export-2008-09-03/stream/dvb_tune.c 2008-11-23 21:33:29.000000000 +0100
|
||||
@@ -114,9 +114,7 @@ int dvb_open_devices(dvb_priv_t *priv, i
|
||||
mp_msg(MSGT_DEMUX, MSGL_ERR, "ERROR OPENING FRONTEND DEVICE %s: ERRNO %d\n", frontend_dev, errno);
|
||||
return 0;
|
||||
}
|
||||
-#ifdef CONFIG_DVB_HEAD
|
||||
- priv->sec_fd=0;
|
||||
-#else
|
||||
+#ifndef CONFIG_DVB_HEAD
|
||||
priv->sec_fd = open(sec_dev, O_RDWR);
|
||||
if(priv->sec_fd < 0)
|
||||
{
|
||||
diff -up mplayer-export-2008-09-03/stream/stream_dvb.c.dvb mplayer-export-2008-09-03/stream/stream_dvb.c
|
||||
--- mplayer-export-2008-09-03/stream/stream_dvb.c.dvb 2008-08-14 17:54:53.000000000 +0200
|
||||
+++ mplayer-export-2008-09-03/stream/stream_dvb.c 2008-11-23 21:33:29.000000000 +0100
|
||||
@@ -611,9 +611,10 @@ static void dvbin_close(stream_t *stream
|
||||
close(priv->dvr_fd);
|
||||
|
||||
close(priv->fe_fd);
|
||||
-#ifdef CONFIG_DVB
|
||||
+#ifndef CONFIG_DVB_HEAD
|
||||
close(priv->sec_fd);
|
||||
#endif
|
||||
+ priv->fe_fd = priv->sec_fd = priv->dvr_fd = -1;
|
||||
|
||||
priv->is_on = 0;
|
||||
dvb_free_config(priv->config);
|
||||
@@ -685,6 +686,7 @@ static int dvb_open(stream_t *stream, in
|
||||
return STREAM_ERROR;
|
||||
|
||||
priv = (dvb_priv_t *)stream->priv;
|
||||
+ priv->fe_fd = priv->sec_fd = priv->dvr_fd = -1;
|
||||
priv->config = dvb_get_config();
|
||||
if(priv->config == NULL)
|
||||
{
|
Loading…
Reference in new issue