[vlc-devel] PATCH: Re: Movies that stop before they are finished, only via http
James MacLean
macleajb at ednet.ns.ca
Mon Apr 26 19:30:12 CEST 2004
On Sun, 25 Apr 2004, James MacLean wrote:
> On Fri, 23 Apr 2004, James MacLean wrote:
>
> > Hi Folks,
> >
> > Attached is a log of an AVI that plays fine in mplayer and Windows Media
> > Player off a web site, but stops a short time into playing it with
> > VLC.
> > Odly, it runs fine locally with VLC if I download the file first.
>
> Backing out to 0.7.1 certainly brings things back into working order. I
> played around with modules/access/http.c with not luck. It almost appears
> that once the download of the stream is complete, VLC thinks it too is at
> the end of the stream :(.
SVN -r 7252 worked, 7253 broke. The piece that appears to fix it for me
is :
--- modules/demux/avi/oldavi.c 2004-04-26 14:25:39.628274392 -0300
+++ modules/demux/avi/avi.c 2004-04-26 14:25:24.217617168 -0300
@@ -946,7 +946,7 @@
return( 0 );
}
- p_sys->i_time = AVI_GetPTS( p_stream_master ) * 9 / 100;
+ p_sys->i_time = AVI_GetPTS( p_stream_master );
for( i_packet = 0; i_packet < 10; i_packet++)
{
Still doing more tests, but AVI streams are running again here,
JES
--
James B. MacLean macleajb at ednet.ns.ca
Department of Education
Nova Scotia, Canada
-------------- next part --------------
--- modules/demux/avi/oldavi.c 2004-04-26 14:25:39.628274392 -0300
+++ modules/demux/avi/avi.c 2004-04-26 14:25:24.217617168 -0300
@@ -946,7 +946,7 @@
return( 0 );
}
- p_sys->i_time = AVI_GetPTS( p_stream_master ) * 9 / 100;
+ p_sys->i_time = AVI_GetPTS( p_stream_master );
for( i_packet = 0; i_packet < 10; i_packet++)
{
More information about the vlc-devel
mailing list