[FFmpeg-devel] [PATCH] Add loop option to ffplay

Robert Krüger krueger
Sat Mar 20 13:58:08 CET 2010


On 20.03.2010, at 12:54, Stefano Sabatini wrote:

> On date Saturday 2010-03-20 12:08:32 +0100, Stefano Sabatini encoded:
>> On date Saturday 2010-03-20 08:53:16 +0100, Robert Kr?ger encoded:
>>> 
>>> On 19.03.2010, at 21:07, Michael Niedermayer wrote:
> [...]
>>>> make loop take an argument that specifies how oftten too loop and
>>>> afterwards exist if autoexit is there 
>>>> 
>>> 
>>> and not allow the user to specify to loop indefinitely other than
>>> with a high number?
>> 
>> loop will take a number as argument, when count == loop -> exit if
>> autoexit, a negative value may mean "loop forever", in the latter case
>> autoexit would be just ignored.
> 
> From the mplayer man page:
> -loop <number>
>              Loops movie playback <number> times.  0 means forever.
> 

Updated patch attached.

Regards,

Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffplay-loop-option.patch
Type: application/octet-stream
Size: 2501 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100320/196020ed/attachment.obj>
-------------- next part --------------





More information about the ffmpeg-devel mailing list