OSDN Git Service

Adds a job->frame_to_stop variable similar to the existing pts_to_stop parameter...
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 31 Mar 2009 17:19:37 +0000 (17:19 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 31 Mar 2009 17:19:37 +0000 (17:19 +0000)
commit193ed51e0fc2fd74d30a64bff11f2417981587a7
treec73b1564ac1659d47cd369572e88cb704c16a6d8
parent4c2ca09b0701496c238c37aa182195abe0f17f75
Adds a job->frame_to_stop variable similar to the existing pts_to_stop parameter, for ending an encode after a certain number of decoded frames.

CLI: Replaces --stop-at-pts and --stop-at-duration with a general --stop-at option. The argument is in the form unit:amount. So --stop-at duration:10 for a 10 second encode, --stop-at pts:300300 to end when that timestamp is reached, or --stop-at frame:1000 to stop after reading 1000 frames.

git-svn-id: svn://localhost/HandBrake/trunk@2286 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/common.h
libhb/sync.c
test/test.c