[FFmpeg-devel] [PATCH] fix stream copy sample_aspect_ratio
Michael Niedermayer
michaelni
Sat Sep 20 22:33:13 CEST 2008
On Sat, Sep 20, 2008 at 04:10:48PM -0000, Wolfram Gloger wrote:
> Hi,
>
> ffmpeg video stream copy was broken by the r15367
> libavformat/utils.c change.
>
> Regards,
> Wolfram.
>
> --- trunk/ffmpeg.c Fri Sep 19 10:46:58 2008
> +++ ffmpeg-wg/ffmpeg.c Sat Sep 20 17:53:53 2008
> @@ -3021,7 +3021,7 @@
> if (video_stream_copy) {
> st->stream_copy = 1;
> video_enc->codec_type = CODEC_TYPE_VIDEO;
> - st->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
> + video_enc->sample_aspect_ratio = st->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
iam ok with this if it has \n after the =
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I wish the Xiph folks would stop pretending they've got something they
do not. Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080920/0cba6a84/attachment.pgp>
More information about the ffmpeg-devel
mailing list