From da05e29b124b2f6d553dedb1c63a4a655fc4f7b6 Mon Sep 17 00:00:00 2001 From: Comment Date: Sat, 20 Apr 2013 02:01:32 +0100 Subject: audio muxer ongoing --- rotord/libavexporter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rotord/libavexporter.h') diff --git a/rotord/libavexporter.h b/rotord/libavexporter.h index c9984cb..df28c90 100644 --- a/rotord/libavexporter.h +++ b/rotord/libavexporter.h @@ -346,10 +346,10 @@ namespace libav { sws_flags, NULL, NULL, NULL); avpicture_fill(&src_picture, pixels, PIX_FMT_RGB24, c->width,c->height); - avpicture_fill(&dst_picture, outPixels, PIX_FMT_YUV420P, c->width,c->height); + //avpicture_fill(&dst_picture, outPixels, PIX_FMT_YUV420P, c->width,c->height); sws_scale(sws_ctx, src_picture.data, src_picture.linesize, 0, c->height, dst_picture.data, dst_picture.linesize); - + //fill_yuv_image(&dst_picture, frame_count, c->width, c->height); if (oc->oformat->flags & AVFMT_RAWPICTURE) { // Raw video case - directly store the picture in the packet // AVPacket pkt; -- cgit v1.2.3