ffmpeg: fix indention
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fec2025936
commit
b329fc346e
14
ffmpeg.c
14
ffmpeg.c
@ -1871,14 +1871,14 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
|
|||||||
|
|
||||||
#if CONFIG_AVFILTER
|
#if CONFIG_AVFILTER
|
||||||
for(i=0;i<nb_output_streams;i++) {
|
for(i=0;i<nb_output_streams;i++) {
|
||||||
OutputStream *ost = ost = &output_streams[i];
|
OutputStream *ost = ost = &output_streams[i];
|
||||||
if(check_output_constraints(ist, ost)){
|
if(check_output_constraints(ist, ost)){
|
||||||
if (!decoded_frame->sample_aspect_ratio.num)
|
if (!decoded_frame->sample_aspect_ratio.num)
|
||||||
decoded_frame->sample_aspect_ratio = ist->st->sample_aspect_ratio;
|
decoded_frame->sample_aspect_ratio = ist->st->sample_aspect_ratio;
|
||||||
decoded_frame->pts = ist->pts;
|
decoded_frame->pts = ist->pts;
|
||||||
|
|
||||||
av_vsrc_buffer_add_frame(ost->input_video_filter, decoded_frame, AV_VSRC_BUF_FLAG_OVERWRITE);
|
av_vsrc_buffer_add_frame(ost->input_video_filter, decoded_frame, AV_VSRC_BUF_FLAG_OVERWRITE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user