Set sample_aspect_ratio in format stream or ffmpeg will bail out on us.
This commit is contained in:
parent
0587c6b83b
commit
15aa5f6e93
1 changed files with 2 additions and 0 deletions
|
@ -603,6 +603,8 @@ dvr_thread_new_pkt(dvr_entry_t *de, th_pkt_t *pkt)
|
|||
(float)ctx->time_base.den / (float)ctx->time_base.num);
|
||||
|
||||
drs->drs_decoded = 1;
|
||||
|
||||
st->sample_aspect_ratio = st->codec->sample_aspect_ratio;
|
||||
}
|
||||
|
||||
if(!is_all_decoded(de, CODEC_TYPE_VIDEO))
|
||||
|
|
Loading…
Add table
Reference in a new issue