<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/video_out, branch 1.1.10</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>XineOpenViewGL bug on PPC/Darwin</title>
<updated>2008-01-11T15:35:04+00:00</updated>
<author>
<name>Matthias Ringwald</name>
<email>mringwal@inf.ethz.ch</email>
</author>
<published>2008-01-11T15:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=0c0bc8da469f415f3558010658df40349f9eca74'/>
<id>0c0bc8da469f415f3558010658df40349f9eca74</id>
<content type='text'>
Typo of WORDS_BIGENDIAN in in /src/video_out/macosx/XineVOpenGLView.m. It
only affects big-endian systems (PowerPC) as it defaults to little-endian.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Typo of WORDS_BIGENDIAN in in /src/video_out/macosx/XineVOpenGLView.m. It
only affects big-endian systems (PowerPC) as it defaults to little-endian.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass $(X_CFLAGS) when compiling syncfb.</title>
<updated>2008-01-04T18:12:53+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-01-04T18:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=29de3d76ef4761e34aee107d458bfabe3ce96298'/>
<id>29de3d76ef4761e34aee107d458bfabe3ce96298</id>
<content type='text'>
Noticed by Thomas Koeller &lt;tkoeller@users.sourceforge.net&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Noticed by Thomas Koeller &lt;tkoeller@users.sourceforge.net&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid potential install-time mislinkage against libxine.so.2.</title>
<updated>2008-01-01T17:31:12+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-01-01T17:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=284db4a4fc4941b7a3b903d3ab23b04840517fd1'/>
<id>284db4a4fc4941b7a3b903d3ab23b04840517fd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>report unsupported frame format when blending overlay</title>
<updated>2007-07-26T20:07:20+00:00</updated>
<author>
<name>Reinhard Nißl</name>
<email>rnissl@gmx.de</email>
</author>
<published>2007-07-26T20:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=681321431323a5e6d4f8a9cbaa629f2e963f61a1'/>
<id>681321431323a5e6d4f8a9cbaa629f2e963f61a1</id>
<content type='text'>
(transplanted from ce2ba83d5b347bb670e4aaa17a9fbcf21d87a811)

--HG--
extra : transplant_source : %CE%2B%A8%3D%5B4%7B%B6p%E4%AA%A1z%9F%BC%F2%1D%87%A8%11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(transplanted from ce2ba83d5b347bb670e4aaa17a9fbcf21d87a811)

--HG--
extra : transplant_source : %CE%2B%A8%3D%5B4%7B%B6p%E4%AA%A1z%9F%BC%F2%1D%87%A8%11
</pre>
</div>
</content>
</entry>
<entry>
<title>report unsupported frame format and abort</title>
<updated>2007-07-26T20:03:33+00:00</updated>
<author>
<name>Reinhard Nißl</name>
<email>rnissl@gmx.de</email>
</author>
<published>2007-07-26T20:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=3f6141b03a62e3bc33306d3a0abe763e833a50ea'/>
<id>3f6141b03a62e3bc33306d3a0abe763e833a50ea</id>
<content type='text'>
(transplanted from 65ffd061414c05cbc368e130d1783a2efdc5b75e)

--HG--
extra : transplant_source : e%FF%D0aAL%05%CB%C3h%E10%D1x%3A.%FD%C5%B7%5E
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(transplanted from 65ffd061414c05cbc368e130d1783a2efdc5b75e)

--HG--
extra : transplant_source : e%FF%D0aAL%05%CB%C3h%E10%D1x%3A.%FD%C5%B7%5E
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert cheating invalid frame sizes after fixed frame allocation (continued).</title>
<updated>2007-10-07T22:07:30+00:00</updated>
<author>
<name>Reinhard Nißl</name>
<email>rnissl@gmx.de</email>
</author>
<published>2007-10-07T22:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=f43e6be30fcd0879cb5d1d43e73254950ef6a68c'/>
<id>f43e6be30fcd0879cb5d1d43e73254950ef6a68c</id>
<content type='text'>
These cheats where hiding a frame allocation bug in FFmpeg decoder
which was previously fixed.
(transplanted from c7cc5ff1e184791683ba13bdc54c53b5887e6587)

--HG--
extra : transplant_source : %C7%CC_%F1%E1%84y%16%83%BA%13%BD%C5LS%B5%88%7Ee%87
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These cheats where hiding a frame allocation bug in FFmpeg decoder
which was previously fixed.
(transplanted from c7cc5ff1e184791683ba13bdc54c53b5887e6587)

--HG--
extra : transplant_source : %C7%CC_%F1%E1%84y%16%83%BA%13%BD%C5LS%B5%88%7Ee%87
</pre>
</div>
</content>
</entry>
<entry>
<title>Build fix: back out the SSA subtitles change from the DirectFB video-out plugin.</title>
<updated>2007-12-31T13:51:07+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-12-31T13:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=827f7684690ba127f6477a1d32548dd14d3c79bb'/>
<id>827f7684690ba127f6477a1d32548dd14d3c79bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add VO_PROP_OUTPUT_* to some other video output drivers (where trivial).</title>
<updated>2007-12-27T18:24:55+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-12-27T18:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=1ea97db5f08e85e7a9da249e2061b33b93dc8e79'/>
<id>1ea97db5f08e85e7a9da249e2061b33b93dc8e79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Subtitles] SSA-tags patch</title>
<updated>2007-12-27T14:24:48+00:00</updated>
<author>
<name>Dubois Nicolas</name>
<email>sn00py.2@laposte.net</email>
</author>
<published>2007-12-27T14:24:48+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=84e2f56c6cc81e9bed8ba03b29a8c69aa7d08d89'/>
<id>84e2f56c6cc81e9bed8ba03b29a8c69aa7d08d89</id>
<content type='text'>
I watch a lot of movies with subtitles and I need "vobsub subtitles"
work in xine, then I decide to write this patch.
It may support SSA tags for all text subtiles (ssa, ass, srt, ...)

This patch :

1. Remove all SSA tags from stream (they are ugly : {\a6})
2. Handle some of them (b, i, a, an, pos). The other ones control
colours, shadow, animation, ... I can't make them work in an easy way.
3. Correct wrap algorithm which have minors bugs (we can see them only
with SSA patch...)


Modified files :

libsputext/demux_sputext.c
just remove unneeded code (which remove some of SSA-tags)

libsputext/xine_sputext_decoder.c
the main modified file.

video_out/video_out_xshm.c
video_out/video_out_xv.c
xine-engine/video_out.h
get video output (position and size). See below.


1.
Removing SSA tags is done in ogm_render_line_internal() like for
html-like tags. (this was done in the previous version of xine)


2.
b(bold) and i(italic) are implemented like html-ones, in
ogm_render_line_internal().

The other tags this patch support are :
aX       : alignment in SSA-code
anX      : alignment in numpad code
pos(X,Y) : position, depend on alignment

For those ones, I need in first a full-screen OSD, not a five lines one.
Then, I need to remember where the last subtitle was drawn, in order to
erase it. At last, I need a translation function to convert subtitle
coordinates in screen coordinates.
For this last point, I first write a full-screen translation (don't care
about blacks borders), but it's not really good: the 'pos' tag is
sometime used to point out something in the video. (Moreover, ASS spec
say we have to draw subtitle on the video)
For doing this, I need the real video output size and position, which
are only know by the video output driver! Then I had 4 VO properties
(in xine-engine/video_out.h) for video driver could give us those
informations.
I implement it only in xshm and xv drivers (I can't test other ones).
If video driver can't give us those informations, the patch fallback in
a full-screen translation.


3.
there was 3 problem with the wrap algorithm :
1. It was in double: exactly the same, twice. Look like a merge problem.
I remove one and all work fine.
2. It want to cut string in equivalent display length but it cut it in
equivalent byte length. In most cases, this is the same, but if we have
UTF-8 chars or long SSA-tags (which will not be displayed) the result is
strange.
3. If we have a too-long part (in bytes) of the string without spaces
(bad subtitle file or long SSA-code), the algorithm don't know what to
do. (this case is not handled)

I re-write the wrap algorithm to correct those problems. Note that my
version is slower than previous one : working with bytes is really
faster than computing text-length. Maybe I should had to propose an
other patch for this part...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I watch a lot of movies with subtitles and I need "vobsub subtitles"
work in xine, then I decide to write this patch.
It may support SSA tags for all text subtiles (ssa, ass, srt, ...)

This patch :

1. Remove all SSA tags from stream (they are ugly : {\a6})
2. Handle some of them (b, i, a, an, pos). The other ones control
colours, shadow, animation, ... I can't make them work in an easy way.
3. Correct wrap algorithm which have minors bugs (we can see them only
with SSA patch...)


Modified files :

libsputext/demux_sputext.c
just remove unneeded code (which remove some of SSA-tags)

libsputext/xine_sputext_decoder.c
the main modified file.

video_out/video_out_xshm.c
video_out/video_out_xv.c
xine-engine/video_out.h
get video output (position and size). See below.


1.
Removing SSA tags is done in ogm_render_line_internal() like for
html-like tags. (this was done in the previous version of xine)


2.
b(bold) and i(italic) are implemented like html-ones, in
ogm_render_line_internal().

The other tags this patch support are :
aX       : alignment in SSA-code
anX      : alignment in numpad code
pos(X,Y) : position, depend on alignment

For those ones, I need in first a full-screen OSD, not a five lines one.
Then, I need to remember where the last subtitle was drawn, in order to
erase it. At last, I need a translation function to convert subtitle
coordinates in screen coordinates.
For this last point, I first write a full-screen translation (don't care
about blacks borders), but it's not really good: the 'pos' tag is
sometime used to point out something in the video. (Moreover, ASS spec
say we have to draw subtitle on the video)
For doing this, I need the real video output size and position, which
are only know by the video output driver! Then I had 4 VO properties
(in xine-engine/video_out.h) for video driver could give us those
informations.
I implement it only in xshm and xv drivers (I can't test other ones).
If video driver can't give us those informations, the patch fallback in
a full-screen translation.


3.
there was 3 problem with the wrap algorithm :
1. It was in double: exactly the same, twice. Look like a merge problem.
I remove one and all work fine.
2. It want to cut string in equivalent display length but it cut it in
equivalent byte length. In most cases, this is the same, but if we have
UTF-8 chars or long SSA-tags (which will not be displayed) the result is
strange.
3. If we have a too-long part (in bytes) of the string without spaces
(bad subtitle file or long SSA-code), the algorithm don't know what to
do. (this case is not handled)

I re-write the wrap algorithm to correct those problems. Note that my
version is slower than previous one : working with bytes is really
faster than computing text-length. Maybe I should had to propose an
other patch for this part...
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct another color→colour change to a struct member name.</title>
<updated>2007-12-26T23:46:36+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-12-26T23:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=1cadbbbb3a78933f28c113bb8cfab12b25d92ec8'/>
<id>1cadbbbb3a78933f28c113bb8cfab12b25d92ec8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
