On date Wednesday 2011-05-25 16:27:23 +0200, Anton Khirnov encoded:
[...]

Resuming:

* maybe OFFSET could be specified for each demuxer
* width/height could be specified by a size option calling av_parse_video_size()
* framerate could be specified by a framerate option calling 
av_parse_video_rate()
* av_get_pix_fmt() result needs to be checked

Since av_parse_video_size/rate fails for 0x0 or 0/0 you may need to do
a further check when such values are allowed (for example in the V4L2
demuxer), for example you could set the default to "auto" meaning 0/0
which is also more explicit and thus better from the usability POV.
-- 
Praise the sea; on shore remain.
                -- John Florio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to