Revision 9918580a

View differences:

chunker_streamer/chunker_streamer.c
728 728
							}
729 729
						}
730 730
						sws_scale(img_convert_ctx, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, scaledFrame->data, scaledFrame->linesize);
731
						scaledFrame->pts = pFrame->pts;
732
						scaledFrame->pict_type = 0;
731 733
						video_frame_size = avcodec_encode_video(pCodecCtxEnc, video_outbuf, video_outbuf_size, scaledFrame);
732 734
					} else {
733 735
						pFrame->pict_type = 0;

Also available in: Unified diff