Hi Marton,

Very good work with your series of patches on the mpegtsenc!

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, 15 de August de 2019 1:51, Marton Balint <c...@passwd.hu> wrote:

> Also document the algorithm for the default PCR interval.

> [...]

> +   if (ts->mux_rate > 1 || ts->pcr_period_ms >= 0) {
> +          int pcr_period_ms = ts->pcr_period_ms == -1 ? PCR_RETRANS_TIME : 
> ts->pcr_period_ms;
> +          ts_st->pcr_period = av_rescale(pcr_period_ms, PCR_TIME_BASE, 1000);
>     } else {
>     /* For VBR we select the highest multiple of frame duration which is less 
> than 100 ms. */

A simple aesthetic comment:
Please, change this to...
/* By default, for VBR we select the highest multiple of frame duration which 
is less than 100 ms. */

Regards.
A.H.

---

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to