[
http://dev.sourcefabric.org/browse/LS-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Beauxis resolved LS-478.
-------------------------------
Fix Version/s: 1.0
Resolution: Fixed
Fixed merged in default..
> Cannot use video.add_text since SDL init changes
> ------------------------------------------------
>
> Key: LS-478
> URL: http://dev.sourcefabric.org/browse/LS-478
> Project: Liquidsoap
> Issue Type: Bug
> Components: Liquidsoap
> Environment: current dev version
> Reporter: David Baelde
> Assignee: Romain Beauxis
> Priority: Blocker
> Fix For: 1.0
>
>
> $ ./src/liquidsoap 'output.dummy(video.add_text("foo",blank()))'
> Invalid value at line 1, char 28-42: Library not initialized.
> The problem is that SDL is only initialized when streaming starts, just
> before sources are woken up, but the text operator initializes its font upon
> creation and not upon #wake_up. This in itself is (slightly) incorrect since
> resources should only be allocated within #wake_up and #sleep, but it is
> useful to check that the font exists.
> The simplest solution is that all SDL operators call Sdl_utils.init which
> inits with all options if not already done. The current architecture tries to
> do better by not initializing components that don't need to. This is nice but
> I don't see why it's necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl