GNOME Bugzilla – Bug 628349
[v4l2src] Doesn't support capturing mpegts using mmap
Last modified: 2010-09-04 13:06:13 UTC
Created attachment 169105 [details] [review] fix grabbing mpeg-ts over mmap Hey, capturing mpeg-ts via the mmap interface because the result of the capture doesn't match the framesize v4l2src thinks it should have. Fixed in attached patch
Created attachment 169108 [details] [review] Use GstBaseSrc::block-size as fallback size (untested as i don't have hardware that triggers this path)
Will push both patches after release
commit e9a30e454a583962ef981fa9846a2c60aca3480e Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Mon Aug 30 19:03:52 2010 +0100 v4l2src: Use GstBaseSrc::block-size as fallback size commit 74d7521a7cf759264f3ee02902a81ae77a232de7 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Mon Aug 30 18:36:54 2010 +0100 v4l2src: Fix using mpegts via the mmap interface MPEG doesn't have a static size per frame, so don't pretend it has one and fail when capturing because it doesn't match. Instead mark the size as unknown and let the read frame grabbing method use a reasonable fallback value (assuming that's only for actual streaming formats) Fixes bug #628349.