From 1be50d15e9eb8314d9f4027eb257ccc63326174c Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 11 Jan 2003 12:51:17 +0000 Subject: get img_duration from video_out CVS patchset: 3871 CVS date: 2003/01/11 12:51:17 --- src/xine-engine/xine.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/xine.c') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 2df867c5d..02da19b60 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.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: xine.c,v 1.213 2003/01/11 03:47:01 miguelfreitas Exp $ + * $Id: xine.c,v 1.214 2003/01/11 12:51:19 miguelfreitas Exp $ * * top-level xine functions * @@ -293,12 +293,14 @@ static int xine_stream_rewire_video(xine_post_out_t *output, void *data) xine_stream_t *stream = (xine_stream_t *)output->data; xine_video_port_t *new_port = (xine_video_port_t *)data; int width, height; + int64_t img_duration; if (!data) return 0; if (stream->video_out && - stream->video_out->status(stream->video_out, stream, &width, &height)) { + stream->video_out->status(stream->video_out, stream, + &width, &height, &img_duration)) { /* register our stream at the new output port */ stream->video_out->close(stream->video_out, stream); new_port->open(new_port, stream); -- cgit v1.2.3