[FFmpeg-devel] [PATCH] fix infinite loop with libavfilter enabled and stream copy when first frame is not keyframe

Michael Niedermayer michaelni
Mon Jul 5 16:50:11 CEST 2010


On Mon, Jul 05, 2010 at 12:06:17AM -0700, Baptiste Coudurier wrote:
> On 7/4/10 4:23 PM, Michael Niedermayer wrote:
>> On Sat, Jul 03, 2010 at 06:03:46PM -0700, Baptiste Coudurier wrote:
>>> Hi,
>>>
>>> $subject, what happens is frame_available is always set to 1, therefore
>>> infinite loop.
>>
>> that doesnt pull all frames out of the filter chain
>>
>> does below work for you too ? (untested!)
>
> It seems to work, indeed.

commited, flame the shit out of me on svn log if it break something

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100705/b69d4ef7/attachment.pgp>



More information about the ffmpeg-devel mailing list