[FFmpeg-devel] [PATCH] doc/examples/muxing: make compatible with C++
Michael Niedermayer
michaelni at gmx.at
Thu Mar 13 18:06:21 CET 2014
On Thu, Mar 13, 2014 at 10:22:07PM +0530, Anshul wrote:
[...]
> >/* rescale output packet timestamp values from codec to stream timebase
> >*/
> >- pkt->pts = av_rescale_q_rnd(pkt->pts, *time_base, st->time_base,
> >AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX);
> >- pkt->dts = av_rescale_q_rnd(pkt->dts, *time_base, st->time_base,
> >AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX);
> >+ pkt->pts = av_rescale_q_rnd(pkt->pts, *time_base, st->time_base,
> >(AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX));
> >+ pkt->dts = av_rescale_q_rnd(pkt->dts, *time_base, st->time_base,
> >(AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX));
> >pkt->duration = av_rescale_q(pkt->duration, *time_base, st->time_base);
> > pkt->stream_index = st->index;
> >
> Its an program, which is written in *.c, I dont know how this whole example would be use by c++ code.
The user uses an example in his application, its sort of the purpose
of the examples to be used by "users" in their applications
this application may be C++ code
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20140313/ef953132/attachment.asc>
More information about the ffmpeg-devel
mailing list