diff options
Diffstat (limited to 'rotord/libavexporter.h')
| -rw-r--r-- | rotord/libavexporter.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
