mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Added codec ID to playback DNxHD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
90bd75e6eb
commit
2fa89b2736
1 changed files with 4 additions and 0 deletions
|
|
@ -176,6 +176,10 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
|
|||
st->codec->codec_type = AVMEDIA_TYPE_DATA;
|
||||
st->codec->codec_id = AV_CODEC_ID_NONE;
|
||||
break;
|
||||
case 30:
|
||||
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
st->codec->codec_id = AV_CODEC_ID_DNXHD;
|
||||
break;
|
||||
default:
|
||||
st->codec->codec_type = AVMEDIA_TYPE_UNKNOWN;
|
||||
st->codec->codec_id = AV_CODEC_ID_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue