Mercurial > mplayer.hg
changeset 3811:c2792c5b4f6e
audio is working
author | alex |
---|---|
date | Thu, 27 Dec 2001 23:07:30 +0000 |
parents | 007b3992c6b5 |
children | e8ab1f1b7497 |
files | libmpdemux/demux_nuv.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_nuv.c Thu Dec 27 23:05:01 2001 +0000 +++ b/libmpdemux/demux_nuv.c Thu Dec 27 23:07:30 2001 +0000 @@ -43,7 +43,9 @@ return 0; /* EOF */ #if 0 - printf("NUV frame read: %c packetlength: %d orig: %d new: %d\n", rtjpeg_frameheader.frametype,rtjpeg_frameheader.packetlength, orig_pos, orig_pos+rtjpeg_frameheader.packetlength); + printf("NUV frame: frametype: %c, comptype: %c, packetlength: %d\n", + rtjpeg_frameheader.frametype, rtjpeg_frameheader.comptype, + rtjpeg_frameheader.packetlength); #endif /* Skip Seekpoint, Text and Sync for now */ @@ -117,14 +119,14 @@ sh_video->disp_w = rtjpeg_fileheader.width; sh_video->disp_h = rtjpeg_fileheader.height; - - sh_video->aspect = rtjpeg_fileheader.aspect; + + sh_video->aspect = (float)rtjpeg_fileheader.aspect; /* Get the FPS */ sh_video->fps = rtjpeg_fileheader.fps; sh_video->frametime = 1 / sh_video->fps; -#if 0 +#if 1 if (rtjpeg_fileheader.audioblocks != 0) { sh_audio = new_sh_audio(demuxer, 0);