[FFmpeg-devel] [PATCH] mpegts pat and sdt period should respect user options

Michael Niedermayer michael at niedermayer.cc
Fri Jun 7 00:58:34 EEST 2019


On Wed, Jun 05, 2019 at 11:13:20PM +0200, Tomas Hulata wrote:
> When mux_rate (CBR) is defined, pat/sdt period setting is now respected. In
> case of VBR, leave it as it was.
> 
> ---
>  libavformat/mpegtsenc.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
> index fc0ea225c6..5ad1f813e0 100644
> --- a/libavformat/mpegtsenc.c
> +++ b/libavformat/mpegtsenc.c
> @@ -999,10 +999,18 @@ static int mpegts_init(AVFormatContext *s)
>      ts->last_sdt_ts = AV_NOPTS_VALUE;

git doesnt like this patch
Applying: mpegts pat and sdt period should respect user options
error: corrupt patch at line 10

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190606/b503f501/attachment.sig>


More information about the ffmpeg-devel mailing list