<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/xine-engine, branch 1.1.11.1</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_init(): mutex objs not initialized</title>
<updated>2008-03-14T20:13:48+00:00</updated>
<author>
<name>Carlo Bramini</name>
<email>carlo.bramix@libero.it</email>
</author>
<published>2008-03-14T20:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=b23f7d232b98527846bfcd41aed36914ffbc431b'/>
<id>b23f7d232b98527846bfcd41aed36914ffbc431b</id>
<content type='text'>
The problem comes from the fact that into xine_probe_fast_memcpy() there is
a call to xprintf, which excutes some actions to this-&gt;log_lock. But the
"log_lock" field is still uninitialized. Under Windows, the xine_init()
always crashes because that type is implemented as a structure, so the lock
receives a NULL pointer and the execution is halted. The attached patch
proposes to move the mutex objects to the top of xine_init() function.

--HG--
extra : transplant_source : %07%1D%7F%F0%97%7D%06%3E%9F%2Ar%03%1DQ%14%F3%D1%EF%1D%93
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem comes from the fact that into xine_probe_fast_memcpy() there is
a call to xprintf, which excutes some actions to this-&gt;log_lock. But the
"log_lock" field is still uninitialized. Under Windows, the xine_init()
always crashes because that type is implemented as a structure, so the lock
receives a NULL pointer and the execution is halted. The attached patch
proposes to move the mutex objects to the top of xine_init() function.

--HG--
extra : transplant_source : %07%1D%7F%F0%97%7D%06%3E%9F%2Ar%03%1DQ%14%F3%D1%EF%1D%93
</pre>
</div>
</content>
</entry>
<entry>
<title>Unportable pthread_t compare in xine.c</title>
<updated>2008-03-14T20:05:34+00:00</updated>
<author>
<name>Carlo Bramini</name>
<email>carlo.bramix@libero.it</email>
</author>
<published>2008-03-14T20:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=fbd93b493f7c694e1c750b110ded431a65cb9664'/>
<id>fbd93b493f7c694e1c750b110ded431a65cb9664</id>
<content type='text'>
With Pthreads for Win32/Win64 I cannot compare two pthread_t items because
they are implemented as structures. This patch fixes the comparison by
using pthread_equal() function.

--HG--
extra : transplant_source : %9D%98%CE%83%5E%BD%A9u%11%C7%3BmP%28%EBH%D0%B6I%DF
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With Pthreads for Win32/Win64 I cannot compare two pthread_t items because
they are implemented as structures. This patch fixes the comparison by
using pthread_equal() function.

--HG--
extra : transplant_source : %9D%98%CE%83%5E%BD%A9u%11%C7%3BmP%28%EBH%D0%B6I%DF
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed long delay when closing stream on dual core systems [Bug #33]</title>
<updated>2008-03-11T02:11:49+00:00</updated>
<author>
<name>Miguel Freitas</name>
<email>miguelfreitas@users.sourceforge.net</email>
</author>
<published>2008-03-11T02:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=d3572a729ae098dba38d27a2b1914b6ca17c4de1'/>
<id>d3572a729ae098dba38d27a2b1914b6ca17c4de1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support # stream parameter separator in raw filenames as well as in full MRLs.</title>
<updated>2008-03-10T03:06:48+00:00</updated>
<author>
<name>Miguel Freitas</name>
<email>miguelfreitas@users.sourceforge.net</email>
</author>
<published>2008-03-10T03:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=925407b099b381f2cd5137b82e92b864e63eca5c'/>
<id>925407b099b381f2cd5137b82e92b864e63eca5c</id>
<content type='text'>
Changeset 8ffe18290ba5 fixed bug 1784272 (opening raw filenames with #
character, like "show #1.mpg") but at the cost of killing # separator in raw
filenames completely. Although this might be a valid requirement in a new devel
branch, imho, such change in stable branch should be considered a regression.

The original idea of passing partial MRL for the input plugins to try doesn't
work because plugin will generate error messages for every failed attempt to
open the file (like "show " above), even thought the complete MRL is valid
and will be played.

So, since raw filenames are an exception for the MRL scheme anyway, we
try stat'ing the partial filenames to determine what user means with the #.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changeset 8ffe18290ba5 fixed bug 1784272 (opening raw filenames with #
character, like "show #1.mpg") but at the cost of killing # separator in raw
filenames completely. Although this might be a valid requirement in a new devel
branch, imho, such change in stable branch should be considered a regression.

The original idea of passing partial MRL for the input plugins to try doesn't
work because plugin will generate error messages for every failed attempt to
open the file (like "show " above), even thought the complete MRL is valid
and will be played.

So, since raw filenames are an exception for the MRL scheme anyway, we
try stat'ing the partial filenames to determine what user means with the #.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix _x_get_current_frame_impl() to not abort when used legally.</title>
<updated>2008-03-06T19:24:44+00:00</updated>
<author>
<name>Reinhard Nißl</name>
<email>rnissl@gmx.de</email>
</author>
<published>2008-03-06T19:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c1d4212fe2fa0f85246e47505b6887e66884cb6b'/>
<id>c1d4212fe2fa0f85246e47505b6887e66884cb6b</id>
<content type='text'>
Retrieving frame size and format is a legal operation even for
otherwise not supported frame formats like XXMC.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Retrieving frame size and format is a legal operation even for
otherwise not supported frame formats like XXMC.
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide safe and convenient implementations of xine_get_current_frame().</title>
<updated>2008-03-02T19:24:27+00:00</updated>
<author>
<name>Reinhard Nißl</name>
<email>rnissl@gmx.de</email>
</author>
<published>2008-03-02T19:24:27+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c3247cea37ea7702703826df6b68a9754f9b8984'/>
<id>c3247cea37ea7702703826df6b68a9754f9b8984</id>
<content type='text'>
xine_get_current_frame() relies on the caller to provide a sufficiently
sized buffer. To calculate the required size of the buffer, one has to
call xine_get_current_frame() to retrieve the necessary parameters. But
as the image can change between two successive calls one has to pause
the stream for consistency.
To improve the situation, xine_get_current_frame_s() has been introduced
which requires to specify the buffer size when an image is going to be
retrieved. Furthermore, it will return the required/used buffer size.
In that way, it can prevent copying data into a too small buffer and
therefore can be considered safe.
For convenience, xine_get_current_frame_alloc() is provided which takes
care to allocate a sufficiently sized buffer. This function avoids
pausing the stream as the image will be returned in a single call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xine_get_current_frame() relies on the caller to provide a sufficiently
sized buffer. To calculate the required size of the buffer, one has to
call xine_get_current_frame() to retrieve the necessary parameters. But
as the image can change between two successive calls one has to pause
the stream for consistency.
To improve the situation, xine_get_current_frame_s() has been introduced
which requires to specify the buffer size when an image is going to be
retrieved. Furthermore, it will return the required/used buffer size.
In that way, it can prevent copying data into a too small buffer and
therefore can be considered safe.
For convenience, xine_get_current_frame_alloc() is provided which takes
care to allocate a sufficiently sized buffer. This function avoids
pausing the stream as the image will be returned in a single call.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reverse the order in which the plugin dirs are scanned; remove a stray printf.</title>
<updated>2008-02-07T02:03:00+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-02-07T02:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=167035abe222bad88269d296f9d819365a6c6007'/>
<id>167035abe222bad88269d296f9d819365a6c6007</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change from release numbering to ABI numbering for the plugin directory.</title>
<updated>2008-02-06T18:27:31+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-02-06T18:27:31+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=fac37975dd471c945145e5f147932170d4f4198f'/>
<id>fac37975dd471c945145e5f147932170d4f4198f</id>
<content type='text'>
This is to avoid having to rebuild external plugins for each new release.

--HG--
extra : transplant_source : %C2%3EF%0B%EF%16%40K%FD.%EB9%E07%CB%97GhU%98
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to avoid having to rebuild external plugins for each new release.

--HG--
extra : transplant_source : %C2%3EF%0B%EF%16%40K%FD.%EB9%E07%CB%97GhU%98
</pre>
</div>
</content>
</entry>
<entry>
<title>Only restore the audio buffer discard setting if it was altered.</title>
<updated>2008-01-24T23:38:09+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-01-24T23:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=b24d41f54d441f518c68c120b8ee1a2673bfbe0d'/>
<id>b24d41f54d441f518c68c120b8ee1a2673bfbe0d</id>
<content type='text'>
(Cset 1a0447486a13 broke things differently.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Cset 1a0447486a13 broke things differently.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't discard audio samples forever. Fixed streaming playback</title>
<updated>2008-01-24T18:28:43+00:00</updated>
<author>
<name>Thibaut Mattern</name>
<email>thibaut.mattern@gmail.com</email>
</author>
<published>2008-01-24T18:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=a6e720ee0284c0c9ec6eb5894ab8e87ee1e53f09'/>
<id>a6e720ee0284c0c9ec6eb5894ab8e87ee1e53f09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
