[MPlayer-dev-eng] [PATCH] fix v4l2 free_demuxer crash - uvcvideo

Jindrich Makovicka makovick at gmail.com
Tue Jun 24 23:16:06 CEST 2008


On Fri, 6 Jun 2008 18:38:05 +0200
Ötvös Attila <dc at chello.hu> wrote:

> Ezzel a dátummal: Friday 30 May 2008 13.28.33 Vladimir Voroshilov ezt
> írta:
> 
> Hi Vladimir Voroshilov!
> 
> >
> > if (ioctl(priv->video_fd, VIDIOC_G_STD, &id) < 0) {
[...]
> >
> > And the rest of your patch is not needed.
> >
> > P.S. i didn't test code above.
> > P.P.S i don't know how much "hackish" is either my or your solution.
> 
> I tested. It work.

Nevertheless, it would still be nice to have some fallback when the fps
is really unknown. getfps() in the attachment should be consistent with
the fallback code in tv.c.

Regards,
-- 
Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.diff
Type: text/x-patch
Size: 3565 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080624/adf32377/attachment.bin>


More information about the MPlayer-dev-eng mailing list