Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
ffmpeg-4
ffmpeg-chromium.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-chromium.patch of Package ffmpeg-4
commit 95aab0fd83619408995720ce53d7a74790580220 author liberato@chromium.org <liberato@chromium.org> Thu Jul 08 02:01:22 2021 committer liberato@chromium.org <liberato@chromium.org> Thu Jul 08 02:01:22 2021 tree ac725b5e2c548c8142aa7096d8184d87d3876a49 parent e073b7a22e4993e0a7cab80a42a21524e5349f95 Add av_stream_get_first_dts for Chromium Index: ffmpeg-4.4.2/libavformat/avformat.h =================================================================== --- ffmpeg-4.4.2.orig/libavformat/avformat.h +++ ffmpeg-4.4.2/libavformat/avformat.h @@ -1141,6 +1141,10 @@ struct AVCodecParserContext *av_stream_g */ int64_t av_stream_get_end_pts(const AVStream *st); +// Chromium: We use the internal field first_dts vvv +int64_t av_stream_get_first_dts(const AVStream *st); +// Chromium: We use the internal field first_dts ^^^ + #define AV_PROGRAM_RUNNING 1 /** Index: ffmpeg-4.4.2/libavformat/utils.c =================================================================== --- ffmpeg-4.4.2.orig/libavformat/utils.c +++ ffmpeg-4.4.2/libavformat/utils.c @@ -142,6 +142,13 @@ int64_t av_stream_get_end_pts(const AVSt return AV_NOPTS_VALUE; } +// Chromium: We use the internal field first_dts vvv +int64_t av_stream_get_first_dts(const AVStream *st) +{ + return st->first_dts; +} +// Chromium: We use the internal field first_dts ^^^ + struct AVCodecParserContext *av_stream_get_parser(const AVStream *st) { return st->parser;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor