<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/libspudvb, branch 1.1.14</title>
<subtitle>xine-lib git mirror
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/'/>
<entry>
<title>xine_xmalloc() deprecation: replace its use with static and non-zero size.</title>
<updated>2008-05-07T14:59:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=88d23a2dbabf419ab4014b449be119a741aa54f5'/>
<id>88d23a2dbabf419ab4014b449be119a741aa54f5</id>
<content type='text'>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</pre>
</div>
</content>
</entry>
<entry>
<title>spudvb osd update fix</title>
<updated>2007-12-08T01:33:23+00:00</updated>
<author>
<name>Christophe Thommeret</name>
<email>hftom@free.fr</email>
</author>
<published>2007-12-08T01:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=17db1541ed0d981b41a62a4fef080cb188990d5c'/>
<id>17db1541ed0d981b41a62a4fef080cb188990d5c</id>
<content type='text'>
- Allow visible region updates.
- Resize OSD at drawing time.

--HG--
extra : transplant_source : %17%ECZ%D0j%2C%BC%06%7CO%3A%F0%C7u%A3%86%DE%8Bb%D3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Allow visible region updates.
- Resize OSD at drawing time.

--HG--
extra : transplant_source : %17%ECZ%D0j%2C%BC%06%7CO%3A%F0%C7u%A3%86%DE%8Bb%D3
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete most of the CVS $Id$/$Log$ lines.</title>
<updated>2007-11-10T22:06:10+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-11-10T22:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=3c175fd21df04c5c0afa160f81aea0c305f69dc5'/>
<id>3c175fd21df04c5c0afa160f81aea0c305f69dc5</id>
<content type='text'>
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
</pre>
</div>
</content>
</entry>
<entry>
<title>Update FSF address on non-contributed code and COPYING files.</title>
<updated>2007-11-09T17:11:05+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2007-11-09T17:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c8f3cd1faf678b64920ad62f1275b03aae0157a7'/>
<id>c8f3cd1faf678b64920ad62f1275b03aae0157a7</id>
<content type='text'>
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark spudvb functions as static.</title>
<updated>2007-09-11T16:07:51+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-09-11T16:07:51+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=1def1769bdda6a0e068aaff74bc5aa8966cf1c94'/>
<id>1def1769bdda6a0e068aaff74bc5aa8966cf1c94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix DVB sub palette extraction when full_range_flag is clear.</title>
<updated>2007-09-11T15:53:32+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-09-11T15:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=dd0af3480f28fcbe9e95dffd08dbd1a5c5117ee2'/>
<id>dd0af3480f28fcbe9e95dffd08dbd1a5c5117ee2</id>
<content type='text'>
Only build-tested due to lack of sample data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only build-tested due to lack of sample data.
</pre>
</div>
</content>
</entry>
<entry>
<title>switch spudvb to dyn mem alloc and allow multiple CLUTs per page.</title>
<updated>2007-09-08T14:06:44+00:00</updated>
<author>
<name>Christophe Thommeret</name>
<email>hftom@free.fr</email>
</author>
<published>2007-09-08T14:06:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=cc02def012caacbc27deb244cbc703c1e8c1647e'/>
<id>cc02def012caacbc27deb244cbc703c1e8c1647e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check if DVB sub PTS is reliable and show sub immediately if it's not.</title>
<updated>2007-09-08T13:46:43+00:00</updated>
<author>
<name>Christophe Thommeret</name>
<email>hftom@free.fr</email>
</author>
<published>2007-09-08T13:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=2f1ee75edc498c5ca99a71fa43784295275d7b18'/>
<id>2f1ee75edc498c5ca99a71fa43784295275d7b18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>spudvb bitmaps downscale</title>
<updated>2007-08-20T13:40:05+00:00</updated>
<author>
<name>Christophe Thommeret</name>
<email>hftom@free.fr</email>
</author>
<published>2007-08-20T13:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=daf3bd7edff3f513f821391b2e833fdd67aac1b2'/>
<id>daf3bd7edff3f513f821391b2e833fdd67aac1b2</id>
<content type='text'>
xine_spudvb_decoder.c has hardcoded frame size (720x576).
While this is fine for most dvb channels, some channels have smaller frame
size (e.g. 544x576) but the dvb subs bitmaps are however still 720 width.
In such case, some right aligned subs appear truncated.
This patch adds a (very basic) function to downscale subs to fit frame width.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xine_spudvb_decoder.c has hardcoded frame size (720x576).
While this is fine for most dvb channels, some channels have smaller frame
size (e.g. 544x576) but the dvb subs bitmaps are however still 720 width.
In such case, some right aligned subs appear truncated.
This patch adds a (very basic) function to downscale subs to fit frame width.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix thread leak in DVB subtitles, and enhance spec compliance</title>
<updated>2007-07-12T10:29:42+00:00</updated>
<author>
<name>Simon Farnsworth</name>
<email>simon.farnsworth@onelan.co.uk</email>
</author>
<published>2007-07-12T10:29:42+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=33d32c6238d0d5d9ae00a2fee6bba2c987ff0f21'/>
<id>33d32c6238d0d5d9ae00a2fee6bba2c987ff0f21</id>
<content type='text'>
When leaving xine playing DVB with subtitles for a long period of time,
I noticed a gradual increase in memory use, caused by it creating more
and more timeout threads. In addition, the existing thread was not safe
w.r.t destruction of the decoder, and would occasionally segfault xine.

Further, EN 300 743 states that the timeout should be sent by the
broadcaster; the existing thread had a constant 6 second timeout,
whereas (e.g.) BBC NEWS 24 subtitles are broadcast with a 15 second
timeout. In theory, this could result in subtitles being hidden in error.

This rework changes the thread to pick up a timeout set by
draw_subtitles; in addition, it uses pthread condition variables to
avoid any need to kill and recreate the thread.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When leaving xine playing DVB with subtitles for a long period of time,
I noticed a gradual increase in memory use, caused by it creating more
and more timeout threads. In addition, the existing thread was not safe
w.r.t destruction of the decoder, and would occasionally segfault xine.

Further, EN 300 743 states that the timeout should be sent by the
broadcaster; the existing thread had a constant 6 second timeout,
whereas (e.g.) BBC NEWS 24 subtitles are broadcast with a 15 second
timeout. In theory, this could result in subtitles being hidden in error.

This rework changes the thread to pick up a timeout set by
draw_subtitles; in addition, it uses pthread condition variables to
avoid any need to kill and recreate the thread.
</pre>
</div>
</content>
</entry>
</feed>
