Mercurial > mplayer.hg
view DOCS/tech/mpsub.sub @ 30811:50e0f6942e43
Implement Win32 mutexes.
Implement Win32 mutexes; they used to just be mapped on top of events, which
is not the same thing at all.
The implementation is pretty much the obvious one, similar to the
current critical section implementation and the semaphore implementation;
a single lock count protected by a pthread mutex, and an event lockers can
sleep on to know when the mutex is available.
Also make CreateMutexA and ReleaseMutex available even if QuickTime codecs
support is not configured.
author | sesse |
---|---|
date | Sat, 06 Mar 2010 10:13:37 +0000 |
parents | 720bf2e5c408 |
children | 0ad2da052b2e |
line wrap: on
line source
TITLE=Weird Al Yankovic - The Saga Begins (clip) # just to be informative (maybe future # use?) FILE=14233792,7972c637f619e01854ecb453b7339e3f # size,md5 AUTHOR=Gabucino TYPE=VIDEO # maybe AUDIO in future (for displaying # mp3 lyrics while playing or whatever) FORMAT=TIME # this file contains measures based on # TIME, not frames. # if FORMAT is a number, then it's frame based, i.e.: # FORMAT=25 NOTE=MPlayerSub test file v0.1 # first number : wait this much after previous subtitle disappeared # second number : display the current subtitle for this many seconds 15 3 A long, long time ago... 0 3 in a galaxy far away... 0 3 Naboo was under an attack. 1 2.5 And I thought me and Qui-Gon Jinn could 0 2.5 talk the Federation into 0 4 ...maybe cutting them a little slack. 2 3 But their response, it didn't thrill us, 0 3 They locked the doors, and tried to kill us. 0 2.5 We escaped from that gas, 0 3.5 then met Jar-jar and Boss-Nass. 1 6 We took a bongo from the scene and we went to Theed to see the Queen. 0 5 We all wound' up on Tatooine. 0 6 That's where, we've found this boy. 0 4 Oh my, my this here Anakin guy, 0 5 maybe Vader someday later now he's just a small fry. 0 4 And he left his home and kissed his mommy goodbye, 0 5 singing "Soon I'm gonna be a Jedi!" 6 6 Did you know this junkyard slave isn't even old enough to shave, 0 3 but he can use the Force, they say. 1 6 Ahh, do you see him hitting on the queen though he's just nine and she's fourteen 0 6 yeah, he's probably gonna marry her, someday!