Added codec ID to playback DNxHD

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/26/head
Reuben Martin 12 years ago committed by Michael Niedermayer
parent 90bd75e6eb
commit 2fa89b2736
  1. 4
      libavformat/gxf.c

@ -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…
Cancel
Save