diff options
author | David Conrad <lessen42@gmail.com> | 2009-12-12 20:18:43 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-12-12 20:18:43 +0000 |
commit | 5e15c7d95be456e9dafbcca7cb0d936cc331dbae (patch) | |
tree | 8643ef620e2b65b6a388d317fbce837beafde1e1 /libavformat/oggparseogm.c | |
parent | 7a14430ed75a2eaaa430e46c2f54a7a9a8b71804 (diff) | |
download | ffmpeg-5e15c7d95be456e9dafbcca7cb0d936cc331dbae.tar.gz |
Fix PTS for OGM codecs.
Fixes issue251
Originally committed as revision 20815 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparseogm.c')
-rw-r--r-- | libavformat/oggparseogm.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c index f13f8c5242..beeb27d5bc 100644 --- a/libavformat/oggparseogm.c +++ b/libavformat/oggparseogm.c @@ -153,26 +153,30 @@ const struct ogg_codec ff_ogm_video_codec = { .magic = "\001video", .magicsize = 6, .header = ogm_header, - .packet = ogm_packet + .packet = ogm_packet, + .granule_is_start = 1, }; const struct ogg_codec ff_ogm_audio_codec = { .magic = "\001audio", .magicsize = 6, .header = ogm_header, - .packet = ogm_packet + .packet = ogm_packet, + .granule_is_start = 1, }; const struct ogg_codec ff_ogm_text_codec = { .magic = "\001text", .magicsize = 5, .header = ogm_header, - .packet = ogm_packet + .packet = ogm_packet, + .granule_is_start = 1, }; const struct ogg_codec ff_ogm_old_codec = { .magic = "\001Direct Show Samples embedded in Ogg", .magicsize = 35, .header = ogm_dshow_header, - .packet = ogm_packet + .packet = ogm_packet, + .granule_is_start = 1, }; |