Mercurial > projects > hoofbaby
comparison src/impl/hoofbaby/app/libs.d @ 9:05c88622db6b default tip
- Adhoc transcoder now doesn't rely on Platinum
- Moved the adhoc transcoder to the main source tree; it can be moved back into test once it's more stable
author | fraserofthenight |
---|---|
date | Tue, 14 Jul 2009 22:04:05 -0700 |
parents | 3425707ddbf6 |
children |
comparison
equal
deleted
inserted
replaced
8:71ebad05f542 | 9:05c88622db6b |
---|---|
15 | 15 |
16 module hoofbaby.app.libs; | 16 module hoofbaby.app.libs; |
17 | 17 |
18 import tango.io.Stdout; | 18 import tango.io.Stdout; |
19 | 19 |
20 import platif = hoofbaby.platinum.platif; | 20 version(UPnP) import platif = hoofbaby.platinum.platif; |
21 import libav = hoofbaby.codec.libav.avformat; | 21 import libav = hoofbaby.codec.libav.avformat; |
22 | 22 |
23 public bool initLibs() | 23 public bool initLibs() |
24 { | 24 { |
25 try | 25 try |
26 { | 26 { |
27 platif._loadLib(); | 27 version(UPnP) platif._loadLib(); |
28 libav.av_register_all(); | 28 libav.av_register_all(); |
29 } | 29 } |
30 catch(Exception e) | 30 catch(Exception e) |
31 { | 31 { |
32 debug Stdout("Error initializing shared libraries: " ~ e.toString()); | 32 debug Stdout("Error initializing shared libraries: " ~ e.toString()); |