Skip to content

Commit

Permalink
Bug 1749046 - Expose more functions to set ffmpeg options. r=chunmin
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D199539

UltraBlame original commit: 92a04a3d916292f6bdd6aafce28690336dae8595
  • Loading branch information
marco-c committed Jun 6, 2024
1 parent f0f093f commit a280ca6
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,16 @@ AV_FUNC
av_opt_set
AV_FUNC_AVUTIL_ALL
)
AV_FUNC
(
av_opt_set_double
AV_FUNC_AVUTIL_ALL
)
AV_FUNC
(
av_opt_set_int
AV_FUNC_AVUTIL_ALL
)
#
ifdef
MOZ_WIDGET_GTK
Expand Down
38 changes: 38 additions & 0 deletions dom/media/platforms/ffmpeg/FFmpegLibWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,44 @@ int
search_flags
)
;
int
(
*
av_opt_set_double
)
(
void
*
obj
const
char
*
name
double
val
int
search_flags
)
;
int
(
*
av_opt_set_int
)
(
void
*
obj
const
char
*
name
int64_t
val
int
search_flags
)
;
/
/
libavutil
Expand Down

0 comments on commit a280ca6

Please sign in to comment.