[FFmpeg-devel] [PATCH] Simplify v4l.c:grab_read_header frame_rate management

Stefano Sabatini stefano.sabatini-lala
Tue Oct 28 00:07:13 CET 2008


Hi, first of a series of patch, I'd like to implement size autodetect
in the v4l indev.

frame_rate and framerate_base are not a very intuitive way to denote
the framerate, I think it's better to use a rational and use the
time_base term since this term is used both in the AP and in the
stream.

It also slightly simplifies the code.

Regards.
-- 
FFmpeg = Fiendish and Forgiving MultiPurpose Evil Goblin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplify-v4l-framerate-00.patch
Type: text/x-diff
Size: 3282 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081028/924ffeaf/attachment.patch>



More information about the ffmpeg-devel mailing list