Skip to content

Commit 70dfa1a

Browse files
committed
removed old code that forced the output format to the input format in a filter
1 parent 5ea6ff4 commit 70dfa1a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

source/ffmpeg-cpp/ffmpeg-cpp/Frame Sinks/VideoFilter.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,7 @@ namespace ffmpegcpp
126126
if (ctx->nb_outputs == 0)
127127
{
128128
buffersink_ctx = ctx;
129-
130-
enum AVPixelFormat out_pix_fmts[] = { outputFormat, AV_PIX_FMT_NONE };
131-
av_opt_set_int_list(buffersink_ctx, "pix_fmts", out_pix_fmts,
132-
AV_PIX_FMT_NONE, AV_OPT_SEARCH_CHILDREN);
133129
}
134-
int x = 5;
135130
}
136131

137132
// Finally configure (initialize) the graph.

0 commit comments

Comments
 (0)