summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-16 12:27:20 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-16 12:27:20 +0000
commit1cf9fe019bdff5307345e75b663e1784cfa69c0b (patch)
treeba3f06cb11293bc6f64ee8dda195aa5335c89e3f /src/xine-engine/video_decoder.c
parent08d18fc1770272fccf47b4901a24effb6c8b173b (diff)
downloadxine-lib-1cf9fe019bdff5307345e75b663e1784cfa69c0b.tar.gz
xine-lib-1cf9fe019bdff5307345e75b663e1784cfa69c0b.tar.bz2
More accurate slider position.
When stream length changes. E.g. Different DVD chapters. CVS patchset: 1729 CVS date: 2002/04/16 12:27:20
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index 7bc3d68a1..eae3d1574 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_decoder.c,v 1.82 2002/04/09 13:53:52 miguelfreitas Exp $
+ * $Id: video_decoder.c,v 1.83 2002/04/16 12:27:20 jcdutton Exp $
*
*/
@@ -80,6 +80,8 @@ void *video_decoder_loop (void *this_gen) {
if (buf->input_pos)
this->cur_input_pos = buf->input_pos;
+ if (buf->input_length)
+ this->cur_input_length = buf->input_length;
if (buf->input_time)
this->cur_input_time = buf->input_time;