diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2005-11-28 12:24:56 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2005-11-28 12:24:56 +0000 |
commit | 29889061262a94aeb8871b185b29a1699f55af63 (patch) | |
tree | 5ce0740455e3e6051dbf726abb090165f8abfcec /src/dxr3/dxr3_decode_video.c | |
parent | e9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba (diff) | |
download | xine-lib-29889061262a94aeb8871b185b29a1699f55af63.tar.gz xine-lib-29889061262a94aeb8871b185b29a1699f55af63.tar.bz2 |
*BUGFIX*
Improved cross-compiling: detect and precedence of the host-specific libs
W32dll: enabled by platforms as originaly, user can override it
Fixed shell errors in the Makefile of the hackersguide
Detect the place of SDL header independently on platform
Fixed spelling in CDDA, include the header sys/param.h if available
Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD)
CVS patchset: 7815
CVS date: 2005/11/28 12:24:56
Diffstat (limited to 'src/dxr3/dxr3_decode_video.c')
-rw-r--r-- | src/dxr3/dxr3_decode_video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index f19cf529b..f85454cfa 100644 --- a/src/dxr3/dxr3_decode_video.c +++ b/src/dxr3/dxr3_decode_video.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: dxr3_decode_video.c,v 1.59 2004/12/16 13:59:06 mroi Exp $ + * $Id: dxr3_decode_video.c,v 1.60 2005/11/28 12:24:57 valtri Exp $ */ /* dxr3 video decoder plugin. @@ -583,7 +583,7 @@ static void dxr3_decode_data(video_decoder_t *this_gen, buf_element_t *buf) delay = vpts - this->class->clock->get_current_time( this->class->clock); - llprintf(LOG_PTS, "SETPTS got %lld\n", vpts); + llprintf(LOG_PTS, "SETPTS got %" PRId64 "\n", vpts); /* SETPTS only if less then one second in the future and * either buffer has pts or sync_every_frame is set */ if ((delay > 0) && (delay < 90000) && @@ -597,13 +597,13 @@ static void dxr3_decode_data(video_decoder_t *this_gen, buf_element_t *buf) if (delay >= 90000) /* frame more than 1 sec ahead */ xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "dxr3_decode_video: WARNING: vpts %lld is %.02f seconds ahead of time!\n", + "dxr3_decode_video: WARNING: vpts %" PRId64 " is %.02f seconds ahead of time!\n", vpts, delay/90000.0); if (delay < 0) xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, "dxr3_decode_video: WARNING: overdue frame.\n"); } else if (buf->pts) - llprintf(LOG_PTS, "skip buf->pts = %lld (no vpts)\n", buf->pts); + llprintf(LOG_PTS, "skip buf->pts = %" PRId64 " (no vpts)\n", buf->pts); /* now write the content to the dxr3 mpeg device and, in a dramatic * break with open source tradition, check the return value |