[FFmpeg-devel] [PATCH 2/2] lavfi/transpose: call av_frame_copy_props()
Michael Niedermayer
michaelni at gmx.at
Fri Aug 16 04:24:43 CEST 2013
On Wed, Aug 14, 2013 at 09:39:33PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> libavfilter/vf_transpose.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
> index 82f68e5..2170b8a 100644
> --- a/libavfilter/vf_transpose.c
> +++ b/libavfilter/vf_transpose.c
> @@ -228,8 +228,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
> av_frame_free(&in);
> return AVERROR(ENOMEM);
> }
> -
> - out->pts = in->pts;
> + av_frame_copy_props(out, in);
>
> if (in->sample_aspect_ratio.num == 0) {
> out->sample_aspect_ratio = in->sample_aspect_ratio;
LGTM
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130816/63b00072/attachment.asc>
More information about the ffmpeg-devel
mailing list