|
@@ -2078,7 +2078,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int |
|
|
frame_sample_aspect= av_opt_ptr(avcodec_get_frame_class(), decoded_frame, "sample_aspect_ratio"); |
|
|
frame_sample_aspect= av_opt_ptr(avcodec_get_frame_class(), decoded_frame, "sample_aspect_ratio"); |
|
|
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) && ost->encoding_needed){ |
|
|
if (!frame_sample_aspect->num) |
|
|
if (!frame_sample_aspect->num) |
|
|
*frame_sample_aspect = ist->st->sample_aspect_ratio; |
|
|
*frame_sample_aspect = ist->st->sample_aspect_ratio; |
|
|
decoded_frame->pts = ist->pts; |
|
|
decoded_frame->pts = ist->pts; |
|
|