summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg2_metadata_bsf.c
Commit message (Collapse)AuthorAgeFilesLines
* cbs: Refcount all the things!Mark Thompson2018-02-201-1/+2
| | | | | | | | This makes it easier for users of the CBS API to get alloc/free right - all subelements use the buffer API so that it's clear how to free them. It also allows eliding some redundant copies: the packet -> fragment copy disappears after this change if the input packet is refcounted, and more codec-specific cases are now possible (but not included in this patch).
* cbs: Allocate the context inside the init functionMark Thompson2018-02-201-8/+8
| | | | | ... instead of making callers allocate it themselves. This is more consistent with other APIs in libav.
* mpeg12: Move finding the best frame rate to common codeMark Thompson2017-09-121-53/+5
| | | | Previously in the mpeg2_metadata filter. Also adds a test.
* lavc: Add mpeg2_metadata bitstream filterMark Thompson2017-08-201-0/+360
OpenPOWER on IntegriCloud