[MPlayer-users] MPlayer hangs after playing video from webcam (pwc)

Andrea mariofutire at googlemail.com
Mon Jul 7 23:59:00 CEST 2008


Charles philip Chan wrote:
> Andrea <mariofutire at googlemail.com> writes:
> 
>>> When I stop the player with Q, mplayer hangs and I have to press
>>> Crtl-C to stop it.  No messages are written to the screen.  The same
>>> happened a while ago, and I think the "culprit" is this code in
>>> stream/tvi_v4l2.c (around line 1132, in funtion "uninit"):
> 
> Strange, I have no problems exiting with my webcam. I am using r27226,
> however my webcam driver is uvc.
> 
> Charles

What I am trying to figure out is if the hang is caused by mplayer of pwc.
I can quit with a TV tuner with driver em28xx as well.

I would like to understand what is the logic of

	while (!ioctl(priv->video_fd, VIDIOC_DQBUF, &buf));

in order to see whose fault it is.

Thanks

Andrea




More information about the MPlayer-users mailing list