diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-12 03:38:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-12 03:47:51 +0200 |
commit | 045c5283c323a668fb0a989a3483d980fedd8f65 (patch) | |
tree | bdc71138cbce67011a388ee3050498b7842bad63 /libavformat | |
parent | d69fda9127986dc56a5f1bbc00e7a9d72305d573 (diff) | |
download | ffmpeg-045c5283c323a668fb0a989a3483d980fedd8f65.tar.gz |
cdg: set timestamps
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/cdg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/cdg.c b/libavformat/cdg.c index b547bbeebe..1f1442b100 100644 --- a/libavformat/cdg.c +++ b/libavformat/cdg.c @@ -52,6 +52,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) ret = av_get_packet(s->pb, pkt, CDG_PACKET_SIZE); pkt->stream_index = 0; + pkt->dts=pkt->pts= s->streams[0]->cur_dts; return ret; } |