"Ronald S. Bultje" <[email protected]> writes:

> Hi,
>
> 2011/6/2 Måns Rullgård <[email protected]>:
>> "Ronald S. Bultje" <[email protected]> writes:
>>> 2011/6/2 Måns Rullgård <[email protected]>:
>>>> "Ronald S. Bultje" <[email protected]> writes:
>>>>
>>>>> The MPEG encoding code assumes that n_threads == n_slices, and thus it
>>>>> should use n_slices even if threading itself is disabled.
>>>>> ---
>>>>>  libavcodec/mpegvideo.c     |    6 +++---
>>>>>  libavcodec/mpegvideo_enc.c |    4 ++--
>>>>>  2 files changed, 5 insertions(+), 5 deletions(-)
>>>>
>>>> This is somewhat insane.  Is there no other way to ask for slices?
>>>
>>> Not currently, no. We could implement that, but do you really want to
>>> spend effort on mpegvideoenc?
>>
>> An option to request slices could be useful for almost any encoder.
>
> I guess. I don't really look forward to refactoring an encoder I
> really don't care about.

I hate a hack, but if doing this properly requires lots of work, I guess
this will have to do.  Go ahead and push it.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to