mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 03:13:18 +00:00
lavc/libtheoraenc: stop setting dts unnecessarily
Theora is not marked as supporting reordering, so dts will be set from pts by the generic code.
This commit is contained in:
parent
2bb20e98ba
commit
8a60a9c74c
@ -346,7 +346,7 @@ static int encode_frame(AVCodecContext* avc_context, AVPacket *pkt,
|
||||
|
||||
// HACK: assumes no encoder delay, this is true until libtheora becomes
|
||||
// multithreaded (which will be disabled unless explicitly requested)
|
||||
pkt->pts = pkt->dts = frame->pts;
|
||||
pkt->pts = frame->pts;
|
||||
pkt->duration = frame->duration;
|
||||
|
||||
ret = ff_encode_reordered_opaque(avc_context, pkt, frame);
|
||||
|
Loading…
Reference in New Issue
Block a user