[FFmpeg-devel] [PATCH] avcodec/libvpxenc: add a way to explicitly set temporal layer id.
Michael Niedermayer
michael at niedermayer.cc
Tue Dec 17 22:07:55 EET 2019
On Mon, Dec 16, 2019 at 02:23:26PM -0800, Wonkap Jang wrote:
> In order for rate control to correctly allocate bitrate to each temporal
> layer, correct temporal layer id has to be set to each frame. This
> commit provides the ability to set correct temporal layer id for each
> frame.
> ---
> libavcodec/libvpxenc.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
breaks build
CC libavcodec/libvpxenc.o
libavcodec/libvpxenc.c: In function ‘vpx_encode’:
libavcodec/libvpxenc.c:1368:21: error: ‘layer_id’ undeclared (first use in this function)
memset(&layer_id, 0, sizeof(vpx_svc_layer_id_t));
^
libavcodec/libvpxenc.c:1368:21: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libvpxenc.c:1374:17: error: ‘layer_id_valid’ undeclared (first use in this function)
layer_id_valid = 1;
^
make: *** [libavcodec/libvpxenc.o] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191217/6d6689d0/attachment.sig>
More information about the ffmpeg-devel
mailing list