Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


On Mon, 2017-11-13 at 15:16 +0000, Mike Scott wrote:
A minor snag is that if a video starts with a black frame, that's
what will be seen when the slide is being laid out.

Is it reasonable to suggest for now a single-character alteration to
the source code? At line 37 in
libreoffice/avmedia/source/viewer/mediawindow.cxx

change
#define AVMEDIA_FRAMEGRABBER_DEFAULTFRAME_MEDIATIME 3.0
to
#define AVMEDIA_FRAMEGRABBER_DEFAULTFRAME_MEDIATIME 0.0

Yeah, it seems reasonable, I suggest going ahead and submit a patch for
that to our gerrit, you can add me on cc on that.

Maybe what we should additionally try to do is to pass an argument to
MediaWindow::grabFrame with the time to use and distinguish between the
case where we're previewing in impress edit mode in which case the
current 3.0 is a reasonable thing, vs the presentation mode where we
definitely want 0.0

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.