2011-01-21 19:18:06 +00:00
|
|
|
/*
|
|
|
|
* Version macros.
|
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* This file is part of Libav.
|
2011-01-21 19:18:06 +00:00
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2011-01-21 19:18:06 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2011-01-21 19:18:06 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2011-03-18 17:35:10 +00:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2011-01-21 19:18:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVFORMAT_VERSION_H
|
|
|
|
#define AVFORMAT_VERSION_H
|
|
|
|
|
2011-12-10 19:16:57 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @ingroup libavf
|
|
|
|
* Libavformat version macros
|
|
|
|
*/
|
|
|
|
|
2013-12-25 16:16:05 +00:00
|
|
|
#include "libavutil/version.h"
|
2011-01-21 19:18:06 +00:00
|
|
|
|
2014-08-06 19:57:14 +00:00
|
|
|
#define LIBAVFORMAT_VERSION_MAJOR 56
|
movenc: Add an option for delaying writing the moov with empty_moov
This delays writing the moov until the first fragment is written,
or can be flushed by the caller explicitly when wanted. If the first
sample in all streams is available at this point, we can write
a proper editlist at this point, allowing streams to start at
something else than dts=0. For AC3 and DNXHD, a packet is
needed in order to write the moov header properly.
This isn't added to the normal behaviour for empty_moov, since
the behaviour that ftyp+moov is written during avformat_write_header
would be changed. Callers that split the output stream into header+segments
(either by flushing manually, with the custom_frag flag set, or by
just differentiating between data written during avformat_write_header
and the rest) will need to be adjusted to take this option into use.
For handling streams that start at something else than dts=0, an
alternative would be to use different kinds of heuristics for
guessing the start dts (using AVCodecContext delay or has_b_frames
together with the frame rate), but this is not reliable and doesn't
necessarily work well with stream copy, and wouldn't work for getting
the right initialization data for AC3 or DNXHD either.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-11-03 14:09:15 +00:00
|
|
|
#define LIBAVFORMAT_VERSION_MINOR 11
|
2014-12-06 18:54:07 +00:00
|
|
|
#define LIBAVFORMAT_VERSION_MICRO 0
|
2011-01-21 19:18:06 +00:00
|
|
|
|
|
|
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MINOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MICRO)
|
|
|
|
#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MINOR, \
|
|
|
|
LIBAVFORMAT_VERSION_MICRO)
|
|
|
|
#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
|
|
|
|
|
|
|
|
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
|
|
|
|
|
|
|
|
/**
|
2012-07-03 20:42:42 +00:00
|
|
|
* FF_API_* defines may be placed below to indicate public API that will be
|
|
|
|
* dropped at a future version bump. The defines themselves are not part of
|
|
|
|
* the public API and may change, break or disappear at any time.
|
2011-01-21 19:18:06 +00:00
|
|
|
*/
|
2014-05-01 08:43:10 +00:00
|
|
|
#ifndef FF_API_LAVF_BITEXACT
|
2014-08-06 19:47:54 +00:00
|
|
|
#define FF_API_LAVF_BITEXACT (LIBAVFORMAT_VERSION_MAJOR < 57)
|
2014-05-01 08:43:10 +00:00
|
|
|
#endif
|
2014-05-18 10:36:00 +00:00
|
|
|
#ifndef FF_API_LAVF_FRAC
|
|
|
|
#define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 57)
|
|
|
|
#endif
|
2014-05-18 10:12:59 +00:00
|
|
|
#ifndef FF_API_LAVF_CODEC_TB
|
|
|
|
#define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 57)
|
|
|
|
#endif
|
2012-07-03 20:42:42 +00:00
|
|
|
|
2011-05-17 14:58:04 +00:00
|
|
|
#endif /* AVFORMAT_VERSION_H */
|