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

Robert Krüger krueger
Wed Mar 24 16:58:59 CET 2010


On 24.03.2010, at 16:37, Michael Niedermayer wrote:

> On Wed, Mar 24, 2010 at 04:34:16PM +0100, Robert Kr?ger wrote:
>> 
>> On 24.03.2010, at 15:43, Michael Niedermayer wrote:
>> 
>>> On Wed, Mar 24, 2010 at 10:10:46AM +0100, Robert Kr?ger wrote:
>>>> 
>>>> This patch adds a -t option (a la ffmpeg) to ffplay to allow specifying a max duration to play. Together with -ss and -loop a useful tool for reviewing specific parts of video footage (at least that's my use case).
>>>> 
>>>> 
>>>> Regards,
>>>> 
>>>> Robert
>>>> 
>>>> 
>>> 
>>> breaks gcc 2.95
>>> 
>> 
>> which aspect of the statement. A hint would be appreciated.
> 
> mixing statements and declarations
> declarations must be at the begin of blocks (pre C99)
> 

thanks. attached patch got rid of respective warnings (which I should have noticed).

Regards,

Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffplay-duration-option.patch
Type: application/octet-stream
Size: 3551 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100324/83bf397d/attachment.obj>



More information about the ffmpeg-devel mailing list