Skip to content

Commit

Permalink
add fixes for warning on overlay filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanmisaka committed Oct 14, 2021
1 parent 140cc78 commit 456da9a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions debian/patches/0022-add-fixes-for-warning-on-overlay-filters.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Index: jellyfin-ffmpeg/libavfilter/buffersrc.c
===================================================================
--- jellyfin-ffmpeg.orig/libavfilter/buffersrc.c
+++ jellyfin-ffmpeg/libavfilter/buffersrc.c
@@ -69,9 +69,9 @@ typedef struct BufferSourceContext {

#define CHECK_VIDEO_PARAM_CHANGE(s, c, width, height, format, pts)\
if (c->w != width || c->h != height || c->pix_fmt != format) {\
- av_log(s, AV_LOG_INFO, "filter context - w: %d h: %d fmt: %d, incoming frame - w: %d h: %d fmt: %d pts_time: %s\n",\
+ av_log(s, AV_LOG_DEBUG, "filter context - w: %d h: %d fmt: %d, incoming frame - w: %d h: %d fmt: %d pts_time: %s\n",\
c->w, c->h, c->pix_fmt, width, height, format, av_ts2timestr(pts, &s->outputs[0]->time_base));\
- av_log(s, AV_LOG_WARNING, "Changing video frame properties on the fly is not supported by all filters.\n");\
+ av_log(s, AV_LOG_DEBUG, "Changing video frame properties on the fly is not supported by all filters.\n");\
}

#define CHECK_AUDIO_PARAM_CHANGE(s, c, srate, ch_layout, ch_count, format, pts)\
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
0019-add-fixes-for-nvdec-exceed-32-surfaces-error.patch
0020-add-miscellaneous-fixes-for-QSV-from-upstream.patch
0021-add-miscellaneous-fixes-for-NV-from-upstream.patch
0022-add-fixes-for-warning-on-overlay-filters.patch

0 comments on commit 456da9a

Please sign in to comment.