diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index a886ab0..e6d7550 100644
|
a
|
b
|
static AVRational find_fps(AVFormatContext *s, AVStream *st)
|
| 901 | 901 | |
| 902 | 902 | static int mov_get_mpeg2_xdcam_codec_tag(AVFormatContext *s, MOVTrack *track) |
| 903 | 903 | { |
| 904 | | int tag = MKTAG('m', '2', 'v', '1'); //fallback tag |
| | 904 | int tag = track->enc->codec_tag; |
| 905 | 905 | int interlaced = track->enc->field_order > AV_FIELD_PROGRESSIVE; |
| 906 | 906 | AVStream *st = track->st; |
| 907 | 907 | int rate = av_q2d(find_fps(s, st)); |
| 908 | 908 | |
| | 909 | if (!tag) |
| | 910 | tag = MKTAG('m', '2', 'v', '1'); //fallback tag |
| | 911 | |
| 909 | 912 | if (track->enc->pix_fmt == AV_PIX_FMT_YUV420P) { |
| 910 | 913 | if (track->enc->width == 1280 && track->enc->height == 720) { |
| 911 | 914 | if (!interlaced) { |