summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-12-05 12:55:19 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-12-05 12:55:19 (GMT)
commit724a95182911b28501e618c838ec251e4ec6fed5 (patch)
tree8a3bfdf0b8272af07c59398f96cf4dd1a5fa0163
parent8127ab13a14930d6e7c606aa3140478da432d544 (diff)
Set number of written frames when reading a frame set.
-rw-r--r--src/lib/tng_io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index 8550ec4..e9f3daa 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -3263,6 +3263,8 @@ static tng_function_status tng_frame_set_block_read
tng_data->time_per_frame = -1;
}
+ frame_set->n_written_frames = frame_set->n_frames;
+
return(TNG_SUCCESS);
}
contact: Jan Huwald // Impressum