[Mplayer-cvslog] CVS: main/libmpdemux demux_y4m.c,1.7,1.8
Rik Snel CVS
syncmail at mplayerhq.hu
Thu Jun 3 11:52:28 CEST 2004
- Previous message: [Mplayer-cvslog] CVS: main/libfaad2 Makefile, 1.2, 1.3 README, 1.1, 1.2 analysis.h, 1.1, 1.2 bits.c, 1.2, 1.3 bits.h, 1.3, 1.4 cfft.c, 1.2, 1.3 cfft.h, 1.1, 1.2 cfft_tab.h, 1.2, 1.3 common.c, 1.2, 1.3 common.h, 1.3, 1.4 decoder.c, 1.2, 1.3 decoder.h, 1.2, 1.3 drc.c, 1.2, 1.3 drc.h, 1.1, 1.2 error.c, 1.1, 1.2 error.h, 1.1, 1.2 faad.h, 1.2, 1.3 filtbank.c, 1.2, 1.3 filtbank.h, 1.2, 1.3 fixed.h, 1.2, 1.3 hcr.c, 1.2, 1.3 huffman.c, 1.1, 1.2 huffman.h, 1.2, 1.3 ic_predict.c, 1.1, 1.2 ic_predict.h, 1.1, 1.2 iq_table.h, 1.2, 1.3 is.c, 1.2, 1.3 is.h, 1.2, 1.3 kbd_win.h, 1.2, 1.3 lt_predict.c, 1.2, 1.3 lt_predict.h, 1.2, 1.3 mdct.c, 1.2, 1.3 mdct.h, 1.2, 1.3 mp4.c, 1.2, 1.3 mp4.h, 1.2, 1.3 ms.c, 1.2, 1.3 ms.h, 1.2, 1.3 output.c, 1.2, 1.3 output.h, 1.2, 1.3 pns.c, 1.2, 1.3 pns.h, 1.2, 1.3 pulse.c, 1.2, 1.3 pulse.h, 1.2, 1.3 rvlc.c, 1.2, 1.3 rvlc.h, 1.2, 1.3 sbr_dct.c, 1.2, 1.3 sbr_dct.h, 1.2, 1.3 sbr_dec.c, 1.2, 1.3 sbr_dec.h, 1.2, 1.3 sbr_e_nf.c, 1.2, 1.3 sbr_e_nf.h, 1.2, 1.3 sbr_fbt.c, 1.2, 1.3 sbr_fbt.h, 1.2, 1.3 sbr_hfadj.c, 1.2, 1.3 sbr_hfadj.h, 1.2, 1.3 sbr_hfgen.c, 1.2, 1.3 sbr_hfgen.h, 1.2, 1.3 sbr_huff.c, 1.2, 1.3 sbr_huff.h, 1.2, 1.3 sbr_noise.h, 1.2, 1.3 sbr_qmf.c, 1.2, 1.3 sbr_qmf.h, 1.2, 1.3 sbr_qmf_c.h, 1.1, 1.2 sbr_syntax.c, 1.2, 1.3 sbr_syntax.h, 1.2, 1.3 sbr_tf_grid.c, 1.2, 1.3 sbr_tf_grid.h, 1.2, 1.3 sine_win.h, 1.2, 1.3 specrec.c, 1.2, 1.3 specrec.h, 1.2, 1.3 ssr.c, 1.2, 1.3 ssr.h, 1.2, 1.3 ssr_fb.c, 1.2, 1.3 ssr_fb.h, 1.2, 1.3 ssr_ipqf.c, 1.2, 1.3 ssr_ipqf.h, 1.2, 1.3 ssr_win.h, 1.2, 1.3 structs.h, 1.2, 1.3 syntax.c, 1.2, 1.3 syntax.h, 1.2, 1.3 tns.c, 1.2, 1.3 tns.h, 1.2, 1.3 config.h, 1.2, NONE dither.c, 1.2, NONE dither.h, 1.2, NONE
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux demux_rtp_internal.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Rik Snel CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv8268
Modified Files:
demux_y4m.c
Log Message:
fix bug reported by Leonardo Giordani: sh->aspect is not pixel aspect but movie aspect
Index: demux_y4m.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_y4m.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- demux_y4m.c 22 Mar 2003 19:50:10 -0000 1.7
+++ demux_y4m.c 3 Jun 2004 09:52:25 -0000 1.8
@@ -195,11 +195,13 @@
sh->frametime=1.0f/sh->fps;
ratio = y4m_si_get_sampleaspect(priv->si);
- if (ratio.d != 0 && ratio.n != 0)
- sh->aspect = (float)ratio.n/(float)ratio.d;
sh->disp_w = y4m_si_get_width(priv->si);
sh->disp_h = y4m_si_get_height(priv->si);
+
+ if (ratio.d != 0 && ratio.n != 0)
+ sh->aspect = (float)(sh->disp_w*ratio.n)/(float)(sh->disp_h*ratio.d);
+
demuxer->seekable = 0;
}
- Previous message: [Mplayer-cvslog] CVS: main/libfaad2 Makefile, 1.2, 1.3 README, 1.1, 1.2 analysis.h, 1.1, 1.2 bits.c, 1.2, 1.3 bits.h, 1.3, 1.4 cfft.c, 1.2, 1.3 cfft.h, 1.1, 1.2 cfft_tab.h, 1.2, 1.3 common.c, 1.2, 1.3 common.h, 1.3, 1.4 decoder.c, 1.2, 1.3 decoder.h, 1.2, 1.3 drc.c, 1.2, 1.3 drc.h, 1.1, 1.2 error.c, 1.1, 1.2 error.h, 1.1, 1.2 faad.h, 1.2, 1.3 filtbank.c, 1.2, 1.3 filtbank.h, 1.2, 1.3 fixed.h, 1.2, 1.3 hcr.c, 1.2, 1.3 huffman.c, 1.1, 1.2 huffman.h, 1.2, 1.3 ic_predict.c, 1.1, 1.2 ic_predict.h, 1.1, 1.2 iq_table.h, 1.2, 1.3 is.c, 1.2, 1.3 is.h, 1.2, 1.3 kbd_win.h, 1.2, 1.3 lt_predict.c, 1.2, 1.3 lt_predict.h, 1.2, 1.3 mdct.c, 1.2, 1.3 mdct.h, 1.2, 1.3 mp4.c, 1.2, 1.3 mp4.h, 1.2, 1.3 ms.c, 1.2, 1.3 ms.h, 1.2, 1.3 output.c, 1.2, 1.3 output.h, 1.2, 1.3 pns.c, 1.2, 1.3 pns.h, 1.2, 1.3 pulse.c, 1.2, 1.3 pulse.h, 1.2, 1.3 rvlc.c, 1.2, 1.3 rvlc.h, 1.2, 1.3 sbr_dct.c, 1.2, 1.3 sbr_dct.h, 1.2, 1.3 sbr_dec.c, 1.2, 1.3 sbr_dec.h, 1.2, 1.3 sbr_e_nf.c, 1.2, 1.3 sbr_e_nf.h, 1.2, 1.3 sbr_fbt.c, 1.2, 1.3 sbr_fbt.h, 1.2, 1.3 sbr_hfadj.c, 1.2, 1.3 sbr_hfadj.h, 1.2, 1.3 sbr_hfgen.c, 1.2, 1.3 sbr_hfgen.h, 1.2, 1.3 sbr_huff.c, 1.2, 1.3 sbr_huff.h, 1.2, 1.3 sbr_noise.h, 1.2, 1.3 sbr_qmf.c, 1.2, 1.3 sbr_qmf.h, 1.2, 1.3 sbr_qmf_c.h, 1.1, 1.2 sbr_syntax.c, 1.2, 1.3 sbr_syntax.h, 1.2, 1.3 sbr_tf_grid.c, 1.2, 1.3 sbr_tf_grid.h, 1.2, 1.3 sine_win.h, 1.2, 1.3 specrec.c, 1.2, 1.3 specrec.h, 1.2, 1.3 ssr.c, 1.2, 1.3 ssr.h, 1.2, 1.3 ssr_fb.c, 1.2, 1.3 ssr_fb.h, 1.2, 1.3 ssr_ipqf.c, 1.2, 1.3 ssr_ipqf.h, 1.2, 1.3 ssr_win.h, 1.2, 1.3 structs.h, 1.2, 1.3 syntax.c, 1.2, 1.3 syntax.h, 1.2, 1.3 tns.c, 1.2, 1.3 tns.h, 1.2, 1.3 config.h, 1.2, NONE dither.c, 1.2, NONE dither.h, 1.2, NONE
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux demux_rtp_internal.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list