[FFmpeg-devel] [PATCH 1/2] avformat: move public AVStream fields up in the struct

James Almer jamrial at gmail.com
Sun Oct 29 15:33:58 EET 2017


On 10/28/2017 4:17 AM, Paul B Mahol wrote:
> On 10/23/17, James Almer <jamrial at gmail.com> wrote:
>> Remove the silly second notice.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  libavformat/avformat.h | 65
>> ++++++++++++++++++++++----------------------------
>>  1 file changed, 28 insertions(+), 37 deletions(-)
>>
>> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
>> index ece1b179f3..7594277f06 100644
>> --- a/libavformat/avformat.h
>> +++ b/libavformat/avformat.h
>> @@ -980,6 +980,34 @@ typedef struct AVStream {
>>      int event_flags;
>>  #define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 ///< The call resulted
>> in updated metadata.
>>
>> +    /**
>> +     * Real base framerate of the stream.
>> +     * This is the lowest framerate with which all timestamps can be
>> +     * represented accurately (it is the least common multiple of all
>> +     * framerates in the stream). Note, this value is just a guess!
>> +     * For example, if the time base is 1/90000 and all frames have either
>> +     * approximately 3600 or 1800 timer ticks, then r_frame_rate will be
>> 50/1.
>> +     */
>> +    AVRational r_frame_rate;
>> +
>> +    /**
>> +     * String containing paris of key and values describing recommended
>> encoder configuration.
>> +     * Paris are separated by ','.
> 
> Pairs

Fixed and pushed. Thanks.


More information about the ffmpeg-devel mailing list