[FFmpeg-cvslog] drawtext: allow burning the timecode.
Clément Bœsch
ubitux at gmail.com
Mon Dec 26 01:44:40 CET 2011
On Sat, Dec 24, 2011 at 04:46:27PM +0100, Stefano Sabatini wrote:
> On date Monday 2011-12-12 17:53:42 +0100, Clément Bœsch wrote:
[...]
> > + if (dtext->tc.str) {
> > + char tcbuf[sizeof("hh:mm:ss.ff")];
>
> > + avpriv_timecode_to_string(tcbuf, &dtext->tc, dtext->frame_id++);
>
> This is adding a strong dependency of drawtext on libavcodec -> no
> good. The dependency could be made conditional compilation-time, by
> using the CONFIG_AVCODEC macro, and disabling the feature (but not the
> filter) if libavcodec was not enabled.
>
> Alternatively we may consider to move the timecode thing to libavutil.
I'll send something to fix this ASAP.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20111226/aec4ba64/attachment.asc>
More information about the ffmpeg-cvslog
mailing list