[FFmpeg-devel] [PATCH 3/4] lavfi/buffersrc: remove init of rate and layout.

Nicolas George nicolas.george at normalesup.org
Thu Dec 20 12:23:19 CET 2012


Le decadi 30 frimaire, an CCXXI, Stefano Sabatini a écrit :
> > @@ -345,8 +345,6 @@ static int config_props(AVFilterLink *link)
> >          link->sample_aspect_ratio = c->pixel_aspect;
> >          break;
> 
> >      case AVMEDIA_TYPE_AUDIO:
> > -        link->channel_layout = c->channel_layout;
> > -        link->sample_rate    = c->sample_rate;
> >          break;

I suppose you figured it out after your comment on patch #4, so just for
reference:

For video, the pixel format is negotiated, while the resolution and aspect
ratio are set by the source filter. For audio, the channel layout is
negotiated, and so is the sample rate since Anton's changes last summer.

I will push the series with the few fixes you suggested. Thanks for the
review.

Regards,

-- 
  Nicolas George
-------------- 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/20121220/7f6d710a/attachment.asc>


More information about the ffmpeg-devel mailing list