[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt
    Timothy Gu 
    timothygu99 at gmail.com
       
    Sun Feb  1 02:59:03 CET 2015
    
    
  
On Sat Jan 31 2015 at 5:41:10 PM dhead666 <myfoolishgames at gmail.com> wrote:
> ---
>  doc/muxers.texi         | 3 +++
>  libavformat/mpegtsenc.c | 6 +++++-
>  2 files changed, 8 insertions(+), 1 deletion(-)
>
[...]
> +    { "mpegts_service_type", "Set service_type field.",
> +      offsetof(MpegTSWrite, service_type), AV_OPT_TYPE_INT,
> +      { .i64 = 0x0001 }, 0x0001, 0xff, AV_OPT_FLAG_ENCODING_PARAM },
>
Again, do something like this to help readability:
{ .i64 = 0x01 }, 0x01, 0xff
Thanks,
Timothy
    
    
More information about the ffmpeg-devel
mailing list