From 8700c75544d88f1479d5455b5b2788921d4dd5ee Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 9 Feb 2002 07:13:22 +0000 Subject: the long-awaited video_out changes, not completely debuged (races) - pts are 64 bit now - scr and video_out-loop run all the time - video_out cleanups - metronom cleanups - buffer type BUF_CONTROL_DISCONTINUITY is used internally now, input plugins should no longer send this one - support for individual frame durations - using nano-/usleep instead of itimer (simpler code, maybe this will help freebsd) CVS patchset: 1487 CVS date: 2002/02/09 07:13:22 --- src/libffmpeg/xine_decoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libffmpeg') diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index c239648d6..609a60ee7 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_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: xine_decoder.c,v 1.25 2002/01/28 17:28:39 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.26 2002/02/09 07:13:23 guenter Exp $ * * xine decoder plugin using ffmpeg * @@ -249,10 +249,10 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { this->biHeight, 42, IMGFMT_YV12, - this->video_step, VO_BOTH_FIELDS); - img->PTS = buf->PTS; + img->pts = buf->pts; + img->duration = this->video_step; if (len<0 || this->skipframes) { if( !this->skipframes ) printf ("ffmpeg: error decompressing frame\n"); -- cgit v1.2.3