Browse Source

Merge commit '3fbad00714698f59c6326edfcc63db87f525e7c0'

* commit '3fbad00714698f59c6326edfcc63db87f525e7c0':
  utvideoenc: Enable support for multiple slices and use them

Conflicts:
	libavcodec/utvideoenc.c
	tests/fate/utvideo.mak

See: efec857c9f
Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
e136579ca3
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavcodec/utvideoenc.c

+ 2
- 3
libavcodec/utvideoenc.c View File

@@ -207,11 +207,10 @@ static av_cold int utvideo_encode_init(AVCodecContext *avctx)
if (!avctx->slices) {
c->slices = subsampled_height / 120;

if (!c->slices) {
if (!c->slices)
c->slices = 1;
} else if (c->slices > 256) {
else if (c->slices > 256)
c->slices = 256;
}
} else {
c->slices = avctx->slices;
}


Loading…
Cancel
Save