[FFmpeg-cvslog] gxf: Added codec ID to playback AVCHD
Reuben Martin
git at videolan.org
Thu Jun 27 18:15:37 CEST 2013
ffmpeg | branch: master | Reuben Martin <reuben.m at gmail.com> | Mon Jun 17 19:09:34 2013 -0500| [86190afbda0c6e663596d799a939a7ffca8e7cfa] | committer: Michael Niedermayer
gxf: Added codec ID to playback AVCHD
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86190afbda0c6e663596d799a939a7ffca8e7cfa
---
libavformat/gxf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index 6cc8afd..e732435 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -164,6 +164,7 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
st->codec->sample_rate = 48000;
break;
case 26: /* AVCi50 / AVCi100 (AVC Intra) */
+ case 29: /* AVCHD */
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_H264;
st->need_parsing = AVSTREAM_PARSE_HEADERS;
More information about the ffmpeg-cvslog
mailing list