[FFmpeg-devel] [PATCH] pthread: Fix?ff_thread_get_formatissues?when called outside frame decode.

Michael Niedermayer michaelni at gmx.at
Mon Mar 9 23:06:09 CET 2015


On Mon, Mar 09, 2015 at 06:38:18AM +0000, Rainer Hochecker wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> > 
> > Any reason to believe this patch causes it?
> > Because I can't see how it would.
> > Maybe it's just a bug with DXVA and multithreading in the HEVC code?
> > Can you provide some more information like a stacktrace, possibly using a
> tool like DrMemory?
> 
> I don't think the patch itself is the root cause of the issue, it just
> triggers it. get_format is called 4 times, something seems to get corrupted
> in opening our hw decoder.
> Do you have an explanation why it works with thread_safe_callbacks set to 1?
> 

> I am wondering if hevc misses the multithreading fix done for other codecs:
> http://ffmpeg.org/pipermail/ffmpeg-cvslog/2013-March/062620.html

from a quick look yes, this appears missing
can someone who can reprodeuce this problem test if adding such code
would fix it ? if yes please send a patch

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/6c284c7c/attachment.asc>


More information about the ffmpeg-devel mailing list