[MPlayer-dev-eng] [PATCH] fix v4l2 free_demuxer crash - uvcvideo
Vladimir Voroshilov
voroshil at gmail.com
Fri Jun 27 07:04:52 CEST 2008
2008/6/25 Jindrich Makovicka <makovick at gmail.com>:
> 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.
Here is the same patch with cosmetics removed.
I'll apply it tomorrow.
--
Regards,
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2-6.diff
Type: text/x-diff
Size: 2788 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080627/0a3eb0fe/attachment.diff>
More information about the MPlayer-dev-eng
mailing list