diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-28 21:35:04 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-28 21:35:04 +0000 |
commit | 39f7f187ef8cf17045e2f718ce06f0e052691ec9 (patch) | |
tree | cc55d5f835c26569872fc846e7628098110068f0 /demux_mpg.c | |
parent | ccc4db889e86e0c6e8c0dd299a983d3213832720 (diff) | |
download | mpv-39f7f187ef8cf17045e2f718ce06f0e052691ec9.tar.bz2 mpv-39f7f187ef8cf17045e2f718ce06f0e052691ec9.tar.xz |
gui seekbar position fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1736 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'demux_mpg.c')
-rw-r--r-- | demux_mpg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demux_mpg.c b/demux_mpg.c index 5f3477c509..74604ca160 100644 --- a/demux_mpg.c +++ b/demux_mpg.c @@ -234,7 +234,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){ mp_msg(MSGT_DEMUX,MSGL_WARN,"Encrypted stream but authentication was not requested by you!!\n"); } #endif - ds_read_packet(ds,demux->stream,len,pts/90000.0f,0,0); + ds_read_packet(ds,demux->stream,len,pts/90000.0f,demux->filepos,0); // if(ds==demux->sub) parse_dvdsub(ds->last->buffer,ds->last->len); return 1; } @@ -252,7 +252,7 @@ int demux_mpg_es_fill_buffer(demuxer_t *demux){ // Elementary video stream if(demux->stream->eof) return 0; demux->filepos=stream_tell(demux->stream); - ds_read_packet(demux->video,demux->stream,STREAM_BUFFER_SIZE,0,0,0); + ds_read_packet(demux->video,demux->stream,STREAM_BUFFER_SIZE,0,demux->filepos,0); return 1; } |