MIT-SHM and X_ShmGetImage
Posted: 13 Jun 2007 21:45
hello,
My co-devs I and made a java wrapper around libvlc. I (and some of our linux users) encountered some crashs with the xvideo/x11 video output :
On Debian sid i get :
On Ubuntu Feisty :
other :
Is it possible to apply this patch ?
My co-devs I and made a java wrapper around libvlc. I (and some of our linux users) encountered some crashs with the xvideo/x11 video output :
On Debian sid i get :
Code: Select all
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 145 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Code: Select all
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 146 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Code: Select all
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 148 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Code: Select all
*** modules/video_output/x11/xcommon.orig 2007-06-09 18:43:36.000000000 +0200
--- modules/video_output/x11/xcommon.c 2007-06-09 17:43:23.000000000 +0200
***************
*** 2331,2338 ****
return 0;
case 150: /* MIT-SHM */
case 146: /* MIT-SHM too, what gives? */
! if( event->minor_code == X_ShmAttach )
{
b_shm = VLC_FALSE;
return 0;
--- 2331,2340 ----
return 0;
case 150: /* MIT-SHM */
+ case 148: /* MIT-SHM */
+ case 145: /* MIT-SHM */
case 146: /* MIT-SHM too, what gives? */
! if( event->minor_code == X_ShmAttach || event->minor_code == X_ShmGetImage)
{
b_shm = VLC_FALSE;
return 0;