#9156: Option flag usage
-------------------------------------+-----------------------------------
             Reporter:  sceedy       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  minor        |                Component:  avutil
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Changes (by cus):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 You misunderstood. av_dict_set() only sets an AVDictionary value of key
 "mpegts_flags". AV_DICT_DONT_OVERWRITE refers to the AVDictionary only.

 Flag parsing happens later, when you pass the &Options dictionary to
 avformat_write_header. There the textual option for "mpegts_flags" is
 parsed according to the flags syntax, e.g "+flag" adds the specified flag
 to the default flags, "-flag" removes it, "flag" sets it and removes all
 other flags.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9156#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to