summaryrefslogtreecommitdiffstats
path: root/libhb/ports.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-12-23 00:02:17 +0000
committerjstebbins <[email protected]>2009-12-23 00:02:17 +0000
commit84683fb1af90f1b5887b0149fa7962b26f8ce87f (patch)
tree0a6f3d1d66d61bbe8f389b2892c0f8095e560ecc /libhb/ports.c
parent2252eabba54132b98b11c86f3457b2a9e307d645 (diff)
add point-to-point encoding
allows frame and pts based start points. end points were already previously supported. New job variables pts_to_start and frame_to_start specify the start point. There can be a period during the encode where it has to search for the start point. During this period, libhb sets a new state HB_STATE_SEARCHING and sets progress and eta till start point found. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3039 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.c')
-rw-r--r--libhb/ports.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index 10b598c37..85e009a36 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -657,6 +657,13 @@ void hb_cond_signal( hb_cond_t * c )
#endif
}
+void hb_cond_broadcast( hb_cond_t * c )
+{
+#if USE_PTHREAD
+ pthread_cond_broadcast( &c->cond );
+#endif
+}
+
/************************************************************************
* Network
***********************************************************************/