<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/libspudec, branch 1-beta8</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>first step towards fixing the DVD menu highlighting problems</title>
<updated>2003-03-08T14:11:52+00:00</updated>
<author>
<name>Michael Roitzsch</name>
<email>mroi@users.sourceforge.net</email>
</author>
<published>2003-03-08T14:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=3e6ea60cd46d69cfb663d52c7853751d456210ae'/>
<id>3e6ea60cd46d69cfb663d52c7853751d456210ae</id>
<content type='text'>
The problem arises because of inconsistent usage of libdvdread's functions regarding
NAV packet reading: libspudec and the dxr3 spu decoder use some of these functions,
but they used to have private copies of the relevant files of libdvdread. These do
not work any more now, since the internal layout of NAV packets in libdvdread
changed lately. So we should always use the functions from current libdvdread.
Please note that highlights might not work yet.
The next step will be to sync libdvdnav. Stay tuned.

CVS patchset: 4371
CVS date: 2003/03/08 14:11:52

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem arises because of inconsistent usage of libdvdread's functions regarding
NAV packet reading: libspudec and the dxr3 spu decoder use some of these functions,
but they used to have private copies of the relevant files of libdvdread. These do
not work any more now, since the internal layout of NAV packets in libdvdread
changed lately. So we should always use the functions from current libdvdread.
Please note that highlights might not work yet.
The next step will be to sync libdvdnav. Stay tuned.

CVS patchset: 4371
CVS date: 2003/03/08 14:11:52

</pre>
</div>
</content>
</entry>
<entry>
<title>update nav_types.h to a modified version of nav_types.h from current libdvdread</title>
<updated>2003-03-06T23:12:13+00:00</updated>
<author>
<name>Michael Roitzsch</name>
<email>mroi@users.sourceforge.net</email>
</author>
<published>2003-03-06T23:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=39a7706c022dfc9ca379ae4f379e171f28df10ea'/>
<id>39a7706c022dfc9ca379ae4f379e171f28df10ea</id>
<content type='text'>
CVS patchset: 4347
CVS date: 2003/03/06 23:12:13

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CVS patchset: 4347
CVS date: 2003/03/06 23:12:13

</pre>
</div>
</content>
</entry>
<entry>
<title>Xine assert() replacement:</title>
<updated>2003-02-28T02:51:47+00:00</updated>
<author>
<name>Stephen Torri</name>
<email>storri@users.sourceforge.net</email>
</author>
<published>2003-02-28T02:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=49327f43ca2196122a60314e67eeee929efea873'/>
<id>49327f43ca2196122a60314e67eeee929efea873</id>
<content type='text'>
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been
replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its
adding the ability to print out a stack trace at the point where the assertion fails.
So here are a few examples.
assert (0);
This use of assert was found in a couple locations most favorably being the default case of a switch
statement. This was the only thing there. So if the switch statement was unable to find a match
it would have defaulted to this and the user and the developers would be stuck wonder who died and where.
So it has been replaced with
XINE_ASSERT(0, "We have reach this point and don't have a default case");
It may seem a bit none descriptive but there is more going on behind the scene.
In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT
prints out:
&lt;filename&gt;:&lt;function name&gt;:&lt;line number&gt; - assertion '&lt;assertion expression&gt;' failed. &lt;description&gt;
An example of this might be:
input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory
XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h

CVS patchset: 4301
CVS date: 2003/02/28 02:51:47

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been
replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its
adding the ability to print out a stack trace at the point where the assertion fails.
So here are a few examples.
assert (0);
This use of assert was found in a couple locations most favorably being the default case of a switch
statement. This was the only thing there. So if the switch statement was unable to find a match
it would have defaulted to this and the user and the developers would be stuck wonder who died and where.
So it has been replaced with
XINE_ASSERT(0, "We have reach this point and don't have a default case");
It may seem a bit none descriptive but there is more going on behind the scene.
In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT
prints out:
&lt;filename&gt;:&lt;function name&gt;:&lt;line number&gt; - assertion '&lt;assertion expression&gt;' failed. &lt;description&gt;
An example of this might be:
input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory
XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h

CVS patchset: 4301
CVS date: 2003/02/28 02:51:47

</pre>
</div>
</content>
</entry>
<entry>
<title>Michael's num_buttons patch</title>
<updated>2003-02-20T18:09:09+00:00</updated>
<author>
<name>Siggi Langauf</name>
<email>siggi@users.sourceforge.net</email>
</author>
<published>2003-02-20T18:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=3533250839d26dc102c89f04eb93ec7c0320f6f8'/>
<id>3533250839d26dc102c89f04eb93ec7c0320f6f8</id>
<content type='text'>
(menu detection by number of SPU buttons)

CVS patchset: 4220
CVS date: 2003/02/20 18:09:09

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(menu detection by number of SPU buttons)

CVS patchset: 4220
CVS date: 2003/02/20 18:09:09

</pre>
</div>
</content>
</entry>
<entry>
<title>remove old FIXME</title>
<updated>2003-02-17T15:39:17+00:00</updated>
<author>
<name>Michael Roitzsch</name>
<email>mroi@users.sourceforge.net</email>
</author>
<published>2003-02-17T15:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=1133fa9148c5ebfd5c8077dcb611a3d39144382a'/>
<id>1133fa9148c5ebfd5c8077dcb611a3d39144382a</id>
<content type='text'>
CVS patchset: 4184
CVS date: 2003/02/17 15:39:17

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CVS patchset: 4184
CVS date: 2003/02/17 15:39:17

</pre>
</div>
</content>
</entry>
<entry>
<title>malloc.h is deprecated on FreeBSD and apparently unneeded on gnu/linux</title>
<updated>2003-02-12T17:29:30+00:00</updated>
<author>
<name>Heiko Schaefer</name>
<email>heikos@users.sourceforge.net</email>
</author>
<published>2003-02-12T17:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=18d53b56f5038bee8a2db36743aadbfa43eda134'/>
<id>18d53b56f5038bee8a2db36743aadbfa43eda134</id>
<content type='text'>
CVS patchset: 4139
CVS date: 2003/02/12 17:29:30

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CVS patchset: 4139
CVS date: 2003/02/12 17:29:30

</pre>
</div>
</content>
</entry>
<entry>
<title>- cleanup internal interfaces for rewiring</title>
<updated>2002-12-26T21:53:41+00:00</updated>
<author>
<name>Miguel Freitas</name>
<email>miguelfreitas@users.sourceforge.net</email>
</author>
<published>2002-12-26T21:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=4b80217cb872335e6f01de22d58fc0778da265c6'/>
<id>4b80217cb872335e6f01de22d58fc0778da265c6</id>
<content type='text'>
- fix UI_PLAYBACK_FINISHED rifle

CVS patchset: 3686
CVS date: 2002/12/26 21:53:41

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- fix UI_PLAYBACK_FINISHED rifle

CVS patchset: 3686
CVS date: 2002/12/26 21:53:41

</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory leaks</title>
<updated>2002-12-21T16:35:46+00:00</updated>
<author>
<name>Ewald Snel</name>
<email>esnel@users.sourceforge.net</email>
</author>
<published>2002-12-21T16:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=1e4b8a7b60032f2a68ede460a2f10452b0af03e2'/>
<id>1e4b8a7b60032f2a68ede460a2f10452b0af03e2</id>
<content type='text'>
CVS patchset: 3614
CVS date: 2002/12/21 16:35:46

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CVS patchset: 3614
CVS date: 2002/12/21 16:35:46

</pre>
</div>
</content>
</entry>
<entry>
<title>- add buf-&gt;decoder_info_ptr: portability for systems where pointer has</title>
<updated>2002-12-21T12:56:44+00:00</updated>
<author>
<name>Miguel Freitas</name>
<email>miguelfreitas@users.sourceforge.net</email>
</author>
<published>2002-12-21T12:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=5f31761a4fa6995592cdd536c52f6ddac8151a89'/>
<id>5f31761a4fa6995592cdd536c52f6ddac8151a89</id>
<content type='text'>
  different sizeof than integer.
- add extra_info structure to pass informations from input/demuxers down
  to the output frame. this can be used, for example, to pass the frame
  number of a frame (when known by decoder). also, immediate benefict is
  that we now have a slider which really shows the current position of
  the playing stream. new fields can be added to extra_info keeping
  binary compatibility
- bumpy everybody's api versions

CVS patchset: 3603
CVS date: 2002/12/21 12:56:44

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  different sizeof than integer.
- add extra_info structure to pass informations from input/demuxers down
  to the output frame. this can be used, for example, to pass the frame
  number of a frame (when known by decoder). also, immediate benefict is
  that we now have a slider which really shows the current position of
  the playing stream. new fields can be added to extra_info keeping
  binary compatibility
- bumpy everybody's api versions

CVS patchset: 3603
CVS date: 2002/12/21 12:56:44

</pre>
</div>
</content>
</entry>
<entry>
<title>* remove what appears to be debug code messing up colors for some SPUs</title>
<updated>2002-11-26T16:05:00+00:00</updated>
<author>
<name>Michael Roitzsch</name>
<email>mroi@users.sourceforge.net</email>
</author>
<published>2002-11-26T16:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=df308d6eac8943344bb3fe491ee0453340a487b3'/>
<id>df308d6eac8943344bb3fe491ee0453340a487b3</id>
<content type='text'>
  (thanks to James Slorach for providing the fix)
* implement a draft of a reset() function that will hopefully bring
  the spu decoder into a safe state
* handle broken SPUs more gracefully

CVS patchset: 3377
CVS date: 2002/11/26 16:05:00

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  (thanks to James Slorach for providing the fix)
* implement a draft of a reset() function that will hopefully bring
  the spu decoder into a safe state
* handle broken SPUs more gracefully

CVS patchset: 3377
CVS date: 2002/11/26 16:05:00

</pre>
</div>
</content>
</entry>
</feed>
