Revision 45d5641e chunker_streamer/chunker_streamer.c

View differences:

chunker_streamer/chunker_streamer.c
712 712
			if(avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet)>0)
713 713
			{
714 714
				// usleep(5000);
715
				dcprintf(DEBUG_VIDEO_FRAMES, "VIDEOin pkt: dts %lld pts %lld\n", packet.dts, packet.pts);
715
				dcprintf(DEBUG_VIDEO_FRAMES, "VIDEOin pkt: dts %lld pts %lld pts-dts %lld\n", packet.dts, packet.pts, packet.pts-packet.dts );
716 716
				dcprintf(DEBUG_VIDEO_FRAMES, "VIDEOdecode: pkt_dts %lld pkt_pts %lld frame.pts %lld\n", pFrame->pkt_dts, pFrame->pkt_pts, pFrame->pts);
717 717
				dcprintf(DEBUG_VIDEO_FRAMES, "VIDEOdecode intype %d%s\n", pFrame->pict_type, pFrame->key_frame ? " (key)" : "");
718 718
				pFrame->pts = av_rescale_q(pFrame->pkt_pts, pFormatCtx->streams[videoStream]->time_base, pCodecCtxEnc->time_base);

Also available in: Unified diff