summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2003-07-13 15:27:34 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2003-07-13 15:27:34 +0000
commita60b007752f673997d9fe63ff96abc0913eda7c0 (patch)
tree70e5abad01ab8f63a469f76187bbdc0229d9145f
parentcc86845b9f40b849faa2a9d510b390caf9e3cb79 (diff)
downloadxine-lib-a60b007752f673997d9fe63ff96abc0913eda7c0.tar.gz
xine-lib-a60b007752f673997d9fe63ff96abc0913eda7c0.tar.bz2
set pos/time information on video frames as well
CVS patchset: 5161 CVS date: 2003/07/13 15:27:34
-rw-r--r--src/xine-engine/video_out.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index ef4f3079f..bc3373b58 100644
--- a/src/xine-engine/video_out.c
+++ b/src/xine-engine/video_out.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_out.c,v 1.165 2003/07/12 20:31:49 miguelfreitas Exp $
+ * $Id: video_out.c,v 1.166 2003/07/13 15:27:34 guenter Exp $
*
* frame allocation / queuing / scheduling / output functions
*/
@@ -1120,6 +1120,8 @@ int xine_get_next_video_frame (xine_video_port_t *this_gen,
frame->duration = img->duration;
frame->width = img->width;
frame->height = img->height;
+ frame->pos_stream = img->extra_info->input_pos;
+ frame->pos_time = img->extra_info->input_time;
switch (img->ratio) {
case XINE_VO_ASPECT_ANAMORPHIC: /* anamorphic */