OSDN Git Service

fix lockup in reader when importing srt's
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 13 Nov 2009 19:40:58 +0000 (19:40 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 13 Nov 2009 19:40:58 +0000 (19:40 +0000)
commit216a47ebc53d4afbb8021f5574894c5fa7053871
tree2013377a8c5da954756eb396f674ae1455398b5f
parentdeb26cc60ded7052b1968246b6d00576df1bee84
fix lockup in reader when importing srt's

The subitle id for srt's was not being set.  This caused the reader to
mistakenly select the subtitle's fifo when processing audio data and
stuff audio into it, filling it very rapidly. Sync would not
remove items from the subtitle fifo because the corresponding video timestamp
hadn't arrived yet.  And since reader was waiting on a full subtitle fifo,
no more video would ever arive at sync.

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